Re: [PATCH] ARM: dts: Allow logicpd-torpedo-37xx-devkit to wake from touchscreen

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

 



* Adam Ford <aford173@xxxxxxxxx> [171130 10:42]:
> On Wed, Nov 29, 2017 at 6:56 PM, Adam Ford <aford173@xxxxxxxxx> wrote:
> > The Logic PD BSP allows users to wake the system from sleep by
> > touching the LCD.  Enable the IRQ pin to wake from sleep
> >
> 
> Sorry for the noise, I was on the wrong branch.  I am going to NAK
> this and resubmit from the correct branch.
> 
> adam
> > Signed-off-by: Adam Ford <aford173@xxxxxxxxx>
> >
> > diff --git a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
> > index b4575bb..5a1229f 100644
> > --- a/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
> > +++ b/arch/arm/boot/dts/logicpd-torpedo-37xx-devkit.dts
> > @@ -232,7 +232,7 @@
> >
> >         tsc2004_pins: pinmux_tsc2004_pins {
> >                 pinctrl-single,pins = <
> > -                       OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT | MUX_MODE4)        /* mcbsp4_dr.gpio_153 */
> > +                       OMAP3_CORE1_IOPAD(0x2186, PIN_INPUT | PIN_OFF_WAKEUPENABLE | MUX_MODE4) /* mcbsp4_dr.gpio_153 */
> >                 >;
> >         };
> >

FYI, this can be now handled with Linux generic wakeirqs like we do
for i2c devices, serial and mmc at least. You can grep for '"wakeup"'
and interrupts-extended in the dts files and then also for
dev_pm_set_dedicated_wake_irq in the drivers.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux