Re: [PATCH 01/68] ARM: dts: gose: Add GPIO keys to DT

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

 



On Sat, Feb 13, 2016 at 09:23:47PM +0100, Geert Uytterhoeven wrote:
> On Fri, Feb 12, 2016 at 8:04 PM, Simon Horman
> <horms+renesas@xxxxxxxxxxxx> wrote:
> > Instantiate the GPIO keys in the gose device tree.
> >
> > Based on similar work for the koelsch board by Laurent Pinchart.
> >
> > Signed-off-by: Simon Horman <horms+renesas@xxxxxxxxxxxx>
> > Tested-by: Magnus Damm <damm+renesas@xxxxxxxxxxxxx>
> > ---
> >  arch/arm/boot/dts/r8a7793-gose.dts | 82 ++++++++++++++++++++++++++++++++++++++
> >  1 file changed, 82 insertions(+)
> >
> > diff --git a/arch/arm/boot/dts/r8a7793-gose.dts b/arch/arm/boot/dts/r8a7793-gose.dts
> > index baa59fe84298..ccbc1c66cc6c 100644
> > --- a/arch/arm/boot/dts/r8a7793-gose.dts
> > +++ b/arch/arm/boot/dts/r8a7793-gose.dts
> > @@ -31,6 +31,88 @@
> >                 device_type = "memory";
> >                 reg = <0 0x40000000 0 0x40000000>;
> >         };
> > +
> > +       gpio-keys {
> > +               compatible = "gpio-keys";
> > +
> > +               key-1 {
> > +                       gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
> > +                       linux,code = <KEY_1>;
> > +                       label = "SW2-1";
> > +                       gpio-key,wakeup;
> 
> In the mean time, "gpio-key,wakeup" has been deprecated in favor of
> "wakeup-source".

Is the change just a matter of s/gpio-key,wakeup/wakeup-source/ ?
If so I'll sort things out.



[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux