arm64: dts: imx8mq-librem5: Don't wake up on volume key press
authorGuido Günther <agx@sigxcpu.org>
Mon, 20 May 2024 10:57:05 +0000 (12:57 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 15 Jun 2024 08:27:57 +0000 (16:27 +0800)
The only key that should wake up the phone is power button press. This
prevents accidental wakeup due to e.g. pressing the buttons in the
pocket or backpack and is in line what userspace uses to unblank the
device.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Martin Kepplinger <martink@posteo.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi

index ffb5fe61630da350870409b21797a2c94acf3450..1b39514d5c12aafcf7412e2ce6905c0d168667f6 100644 (file)
@@ -45,7 +45,6 @@
                        gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEDOWN>;
                        debounce-interval = <50>;
-                       wakeup-source;
                };
 
                key-vol-up {
@@ -53,7 +52,6 @@
                        gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEUP>;
                        debounce-interval = <50>;
-                       wakeup-source;
                };
        };