]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: imx28/imx53: enable edt-ft5x06 wakeup source
authorDaniel Mack <daniel@zonque.org>
Thu, 17 May 2018 09:05:52 +0000 (11:05 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 20 May 2018 13:04:59 +0000 (21:04 +0800)
The touchscreen driver no longer configures the device as wakeup source by
default. A "wakeup-source" property is needed.

To avoid regressions, this patch changes the DTS files for the only two
users of this driver that didn't have this property yet.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Cc: Sascha Hauer <kernel@pengutronix.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx28-tx28.dts
arch/arm/boot/dts/imx53-tx53-x03x.dts

index e4f19f9be6d06f9c576af7c54eaf1f1c61458171..b8f46432e2a21150e1ce2fd4c327e4ac414ed31c 100644 (file)
@@ -340,6 +340,7 @@ polytouch: edt-ft5x06@38 {
                interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
                reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
                wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
+               wakeup-source;
        };
 
        touchscreen: tsc2007@48 {
index af8ec5e4417b69431de9fd436c0cd078274b6a5c..a7f77527269d547c479730e45782ecb63c365822 100644 (file)
@@ -245,6 +245,7 @@ polytouch: edt-ft5x06@38 {
                interrupts = <15 IRQ_TYPE_EDGE_FALLING>;
                reset-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
                wake-gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
+               wakeup-source;
        };
 
        touchscreen: tsc2007@48 {