arm64: dts: imx8mq-librem5: set debounce interval of volume buttons to 50ms
authorSebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Tue, 5 Oct 2021 13:49:02 +0000 (15:49 +0200)
committerShawn Guo <shawnguo@kernel.org>
Fri, 15 Oct 2021 01:45:48 +0000 (09:45 +0800)
The default of 5ms is too low.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Signed-off-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi

index d86486f..60d47c7 100644 (file)
                        label = "VOL_DOWN";
                        gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEDOWN>;
+                       debounce-interval = <50>;
                };
 
                vol-up {
                        label = "VOL_UP";
                        gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_VOLUMEUP>;
+                       debounce-interval = <50>;
                };
        };