ARM: dts: imx6qdl: tqma6: Mark gpio-buttons as wakeup-source
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Tue, 8 Feb 2022 12:32:46 +0000 (13:32 +0100)
committerShawn Guo <shawnguo@kernel.org>
Sun, 13 Feb 2022 02:30:55 +0000 (10:30 +0800)
They are connected directly to CPU, so they can be used as wakeup source.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qdl-mba6.dtsi

index 8f6e1dd..1b69438 100644 (file)
                        label = "s6";
                        linux,code = <KEY_F6>;
                        gpios = <&gpio7 13 GPIO_ACTIVE_LOW>;
+                       wakeup-source;
                };
 
                button2 {
                        label = "s7";
                        linux,code = <KEY_F7>;
                        gpios = <&gpio7 12 GPIO_ACTIVE_LOW>;
+                       wakeup-source;
                };
 
                button3 {
                        label = "s8";
                        linux,code = <KEY_F8>;
                        gpios = <&gpio1 8 GPIO_ACTIVE_LOW>;
+                       wakeup-source;
                };
        };