diff mbox series

[v2,7/7] arm64: dts: imx8mq-librem5: set debounce interval of volume buttons to 50ms

Message ID 20211005134902.2138731-8-martin.kepplinger@puri.sm (mailing list archive)
State New, archived
Headers show
Series arm64: dts: imx8mq-librem5: wifi updates and minor fixes | expand

Commit Message

Martin Kepplinger Oct. 5, 2021, 1:49 p.m. UTC
From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>

The default of 5ms is too low.

Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
---
 arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 ++
 1 file changed, 2 insertions(+)

Comments

Shawn Guo Oct. 15, 2021, 1:46 a.m. UTC | #1
On Tue, Oct 05, 2021 at 03:49:02PM +0200, Martin Kepplinger wrote:
> From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
> 
> The default of 5ms is too low.
> 
> Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>

Your SoB is missing here.  I fixed it up and applied the series, thanks!

Shawn

> ---
>  arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
> index d86486fd659d..60d47c71499b 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
> @@ -40,12 +40,14 @@ vol-down {
>  			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>;
>  		};
>  	};
>  
> -- 
> 2.30.2
>
Martin Kepplinger Oct. 15, 2021, 7:18 a.m. UTC | #2
Am Freitag, dem 15.10.2021 um 09:46 +0800 schrieb Shawn Guo:
> On Tue, Oct 05, 2021 at 03:49:02PM +0200, Martin Kepplinger wrote:
> > From: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
> > 
> > The default of 5ms is too low.
> > 
> > Signed-off-by: Sebastian Krzyszkowiak
> > <sebastian.krzyszkowiak@puri.sm>
> 
> Your SoB is missing here.  I fixed it up and applied the series,
> thanks!
> 
> Shawn

thank you very much, of course I sign-off on this.

                      martin
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
index d86486fd659d..60d47c71499b 100644
--- a/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5.dtsi
@@ -40,12 +40,14 @@  vol-down {
 			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>;
 		};
 	};