RE: [PATCH v2 5/5] riscv: dts: Add DT support for SiFive FU540 GPIO driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Andreas Schwab <schwab@xxxxxxx>
> Sent: 20 November 2019 14:44
> To: Yash Shah <yash.shah@xxxxxxxxxx>
> Cc: linus.walleij@xxxxxxxxxx; bgolaszewski@xxxxxxxxxxxx;
> robh+dt@xxxxxxxxxx; mark.rutland@xxxxxxx; palmer@xxxxxxxxxxx; Paul
> Walmsley ( Sifive) <paul.walmsley@xxxxxxxxxx>;
> devicetree@xxxxxxxxxxxxxxx; aou@xxxxxxxxxxxxxxxxx;
> jason@xxxxxxxxxxxxxx; linux-gpio@xxxxxxxxxxxxxxx; maz@xxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; atish.patra@xxxxxxx; Sagar Kadam
> <sagar.kadam@xxxxxxxxxx>; tglx@xxxxxxxxxxxxx; bmeng.cn@xxxxxxxxx;
> linux-riscv@xxxxxxxxxxxxxxxxxxx; Sachin Ghadi <sachin.ghadi@xxxxxxxxxx>
> Subject: Re: [PATCH v2 5/5] riscv: dts: Add DT support for SiFive FU540 GPIO
> driver
> 
> On Nov 20 2019, Yash Shah wrote:
> 
> > diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
> > b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
> > index 88cfcb9..609198c 100644
> > --- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
> > +++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
> > @@ -94,3 +94,7 @@
> >  &pwm1 {
> >  	status = "okay";
> >  };
> > +
> > +&gpio {
> > +	status = "okay";
> > +};
> 
> How about adding a gpio-restart?

I am planning to add it in a separate patch.

- Yash





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux