devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oleksij Rempel <o.rempel@pengutronix.de>
To: Rob Herring <robh+dt@kernel.org>,
	Sascha Hauer <s.hauer@pengutronix.de>,
	Shawn Guo <shawnguo@kernel.org>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>,
	devicetree@vger.kernel.org, Fabio Estevam <festevam@gmail.com>,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, NXP Linux Team <linux-imx@nxp.com>,
	Pengutronix Kernel Team <kernel@pengutronix.de>,
	David Jander <david@protonic.nl>
Subject: [PATCH v1 5/9] ARM: dts: imx6dl: enable touchscreen debounce filter on PLYM2M and PRTVT7 boards
Date: Tue, 18 May 2021 10:28:46 +0200	[thread overview]
Message-ID: <20210518082850.26048-6-o.rempel@pengutronix.de> (raw)
In-Reply-To: <20210518082850.26048-1-o.rempel@pengutronix.de>

Activate low-pass/debounce filter on the touchscreen.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 arch/arm/boot/dts/imx6dl-plym2m.dts | 4 +++-
 arch/arm/boot/dts/imx6dl-prtvt7.dts | 3 +++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/imx6dl-plym2m.dts b/arch/arm/boot/dts/imx6dl-plym2m.dts
index c97274f0df07..60fe5f14666e 100644
--- a/arch/arm/boot/dts/imx6dl-plym2m.dts
+++ b/arch/arm/boot/dts/imx6dl-plym2m.dts
@@ -145,7 +145,9 @@ touchscreen@0 {
 		ti,vref-delay-usecs = /bits/ 16 <100>;
 		ti,x-plate-ohms = /bits/ 16 <800>;
 		ti,y-plate-ohms = /bits/ 16 <300>;
-
+		ti,debounce-max = /bits/ 16 <3>;
+		ti,debounce-tol = /bits/ 16 <70>;
+		ti,debounce-rep = /bits/ 16 <3>;
 		wakeup-source;
 	};
 };
diff --git a/arch/arm/boot/dts/imx6dl-prtvt7.dts b/arch/arm/boot/dts/imx6dl-prtvt7.dts
index d22ded6fc48b..1626f3704f1b 100644
--- a/arch/arm/boot/dts/imx6dl-prtvt7.dts
+++ b/arch/arm/boot/dts/imx6dl-prtvt7.dts
@@ -233,6 +233,9 @@ touchscreen@0 {
 		ti,vref-delay-usecs = /bits/ 16 <100>;
 		ti,x-plate-ohms = /bits/ 16 <800>;
 		ti,y-plate-ohms = /bits/ 16 <300>;
+		ti,debounce-max = /bits/ 16 <3>;
+		ti,debounce-tol = /bits/ 16 <70>;
+		ti,debounce-rep = /bits/ 16 <3>;
 		wakeup-source;
 	};
 };
-- 
2.29.2


  parent reply	other threads:[~2021-05-18  8:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18  8:28 [PATCH v1 0/9] ARM: dts: fixes for Protonic boards Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 1/9] ARM: dts: imx6dl-prtvt7: add TSC2046 touchscreen node Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 2/9] ARM: dts: imx6dl-prtvt7: Remove backlight enable gpio Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 3/9] ARM: dts: imx6dl-prtvt7: fix PWM cell count for the backlight node Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 4/9] ARM: dts: imx6dl-plym2m: remove touchscreen-size-* properties Oleksij Rempel
2021-05-18  8:28 ` Oleksij Rempel [this message]
2021-05-18  8:28 ` [PATCH v1 6/9] ARM: dts: imx6dl-prtvt7: Enable the VPU Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 7/9] ARM: dts: imx6qdl-vicut1: add interrupt-counter nodes Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 8/9] ARM: dts: imx6dl-prtvt7: The sgtl5000 uses i2s not ac97 Oleksij Rempel
2021-05-18  8:28 ` [PATCH v1 9/9] ARM: dts: imx6dl-prtvt7: Remove unused 'sound-dai-cells' from ssi1 node Oleksij Rempel
2021-06-08 11:49 ` [PATCH v1 0/9] ARM: dts: fixes for Protonic boards Shawn Guo

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=20210518082850.26048-6-o.rempel@pengutronix.de \
    --to=o.rempel@pengutronix.de \
    --cc=david@protonic.nl \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).