All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Kepplinger <martin.kepplinger@puri.sm>
To: martin.kepplinger@puri.sm
Cc: devicetree@vger.kernel.org, festevam@gmail.com,
	kernel@pengutronix.de, kernel@puri.sm,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
	robh@kernel.org, shawnguo@kernel.org,
	Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Subject: [PATCH v2 7/7] arm64: dts: imx8mq-librem5: set debounce interval of volume buttons to 50ms
Date: Tue,  5 Oct 2021 15:49:02 +0200	[thread overview]
Message-ID: <20211005134902.2138731-8-martin.kepplinger@puri.sm> (raw)
In-Reply-To: <20211005134902.2138731-1-martin.kepplinger@puri.sm>

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(+)

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


WARNING: multiple messages have this Message-ID (diff)
From: Martin Kepplinger <martin.kepplinger@puri.sm>
To: martin.kepplinger@puri.sm
Cc: devicetree@vger.kernel.org, festevam@gmail.com,
	kernel@pengutronix.de, kernel@puri.sm,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
	robh@kernel.org, shawnguo@kernel.org,
	Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Subject: [PATCH v2 7/7] arm64: dts: imx8mq-librem5: set debounce interval of volume buttons to 50ms
Date: Tue,  5 Oct 2021 15:49:02 +0200	[thread overview]
Message-ID: <20211005134902.2138731-8-martin.kepplinger@puri.sm> (raw)
In-Reply-To: <20211005134902.2138731-1-martin.kepplinger@puri.sm>

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(+)

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


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2021-10-05 13:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-05 13:48 [PATCH v2 0/7] arm64: dts: imx8mq-librem5: wifi updates and minor fixes Martin Kepplinger
2021-10-05 13:48 ` Martin Kepplinger
2021-10-05 13:48 ` [PATCH v2 1/7] arm64: dts: imx8mq-librem5: add reset gpio to mantix panel description Martin Kepplinger
2021-10-05 13:48   ` Martin Kepplinger
2021-10-05 13:48 ` [PATCH v2 2/7] arm64: dts: imx8mq-librem5: Fix led_r and led_g pinctrl assignments Martin Kepplinger
2021-10-05 13:48   ` Martin Kepplinger
2021-10-05 13:48 ` [PATCH v2 3/7] arm64: dts: imx8mq-librem5: wire up the wifi regulator Martin Kepplinger
2021-10-05 13:48   ` Martin Kepplinger
2021-10-05 13:48 ` [PATCH v2 4/7] arm64: dts: imx8mq-librem5: delay the startup of the SDIO Martin Kepplinger
2021-10-05 13:48   ` Martin Kepplinger
2021-10-05 13:49 ` [PATCH v2 5/7] arm64: dts: imx8mq-librem5: add power sequencing for M.2 cards Martin Kepplinger
2021-10-05 13:49   ` Martin Kepplinger
2021-10-05 13:49 ` [PATCH v2 6/7] arm64: dts: imx8mq-librem5: Limit the max sdio frequency Martin Kepplinger
2021-10-05 13:49   ` Martin Kepplinger
2021-10-05 13:49 ` Martin Kepplinger [this message]
2021-10-05 13:49   ` [PATCH v2 7/7] arm64: dts: imx8mq-librem5: set debounce interval of volume buttons to 50ms Martin Kepplinger
2021-10-15  1:46   ` Shawn Guo
2021-10-15  1:46     ` Shawn Guo
2021-10-15  7:18     ` Martin Kepplinger
2021-10-15  7:18       ` Martin Kepplinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211005134902.2138731-8-martin.kepplinger@puri.sm \
    --to=martin.kepplinger@puri.sm \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=kernel@puri.sm \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=phone-devel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sebastian.krzyszkowiak@puri.sm \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.