ARM: dts: imx6ul: mba6ulx: Mark gpio-buttons as wakeup-source
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Wed, 16 Aug 2023 07:54:51 +0000 (09:54 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 24 Sep 2023 13:21:58 +0000 (21:21 +0800)
I2C expander is capable of generating an IRQ during powersave, so the
attached buttons can be used for waking up the system.

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

index ebf97fcdd8ea29f3d0daf491bce7467cfbcbc365..632ceadcca411d171fc8e625a2fcc2a2753549fd 100644 (file)
                        label = "s14";
                        linux,code = <KEY_1>;
                        gpios = <&expander_in0 0 GPIO_ACTIVE_LOW>;
+                       wakeup-source;
                };
 
                button2 {
                        label = "s6";
                        linux,code = <KEY_2>;
                        gpios = <&expander_in0 1 GPIO_ACTIVE_LOW>;
+                       wakeup-source;
                };
 
                button3 {
                        label = "s7";
                        linux,code = <KEY_3>;
                        gpios = <&expander_in0 2 GPIO_ACTIVE_LOW>;
+                       wakeup-source;
                };
 
                power-button {