diff mbox series

[3/5] ARM: dts: imx6qdl: tqma6: Mark gpio-buttons as wakeup-source

Message ID 20220208123248.821826-3-alexander.stein@ew.tq-group.com
State Accepted
Commit 0563988cf7c4b3d8ab163903e7ccac366e3caa5e
Headers show
Series None | expand

Commit Message

Alexander Stein Feb. 8, 2022, 12:32 p.m. UTC
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>
---
 arch/arm/boot/dts/imx6qdl-mba6.dtsi | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/imx6qdl-mba6.dtsi b/arch/arm/boot/dts/imx6qdl-mba6.dtsi
index 8f6e1dd82ee4..1b6943802642 100644
--- a/arch/arm/boot/dts/imx6qdl-mba6.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-mba6.dtsi
@@ -40,18 +40,21 @@  button1 {
 			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;
 		};
 	};