Skip to content

Commit

Permalink
arm64: dts: imx8mq-librem5: make the volume buttons a wakeup source
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Shawn Guo <[email protected]>
  • Loading branch information
merge authored and Shawn Guo committed Apr 8, 2022
1 parent 5472b7d commit a3b2fc4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,15 @@
gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEDOWN>;
debounce-interval = <50>;
wakeup-source;
};

vol-up {
label = "VOL_UP";
gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
linux,code = <KEY_VOLUMEUP>;
debounce-interval = <50>;
wakeup-source;
};
};

Expand Down

0 comments on commit a3b2fc4

Please sign in to comment.