diff options
author | Martin Kepplinger <martin.kepplinger@puri.sm> | 2022-02-28 16:12:18 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2022-04-08 13:40:34 +0300 |
commit | a3b2fc4f76de7d307a5ed865b88fb35c69ebd172 (patch) | |
tree | 6828b71123df3af96be02fcaa3861d3e79ea5f92 | |
parent | 5472b7df7c795352f73e9dfa68c6e5eb5db7fac8 (diff) | |
download | linux-a3b2fc4f76de7d307a5ed865b88fb35c69ebd172.tar.xz |
arm64: dts: imx8mq-librem5: make the volume buttons a wakeup source
They turn on the display currently so to be consistent, let's make
them wake the system from suspend as well.
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi index 05c16376b4d8..0d391468bf21 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi @@ -42,6 +42,7 @@ gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; linux,code = <KEY_VOLUMEDOWN>; debounce-interval = <50>; + wakeup-source; }; vol-up { @@ -49,6 +50,7 @@ gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; linux,code = <KEY_VOLUMEUP>; debounce-interval = <50>; + wakeup-source; }; }; |