arm64: dts: imx8mp-tqma8mpql-mba8mpxl: Enable wakeup-source for GPIO buttons
authorAlexander Stein <alexander.stein@ew.tq-group.com>
Thu, 9 Mar 2023 15:04:10 +0000 (16:04 +0100)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Mar 2023 07:47:54 +0000 (15:47 +0800)
These buttons are capable of waking up a suspended system, add the
appropriate property for both.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts

index 3fa6cca9a0433ae5a366a7d4a3a19c55013b5a2b..d8fb29e7e1484bbd5d32d92407de1e7d54fe5ed8 100644 (file)
                        label = "S12";
                        linux,code = <BTN_0>;
                        gpios = <&gpio5 27 GPIO_ACTIVE_LOW>;
+                       wakeup-source;
                };
 
                switch-2 {
                        label = "S13";
                        linux,code = <BTN_1>;
                        gpios = <&gpio5 26 GPIO_ACTIVE_LOW>;
+                       wakeup-source;
                };
        };