From c6f49431bd0d985acf31b2f7088a2a63b8c27cb2 Mon Sep 17 00:00:00 2001
From: Tobias Poganiuch <tobias.poganiuch@seco.com>
Date: Thu, 20 Jul 2023 09:47:18 +0200
Subject: [PATCH] dts:mc3: Added pen-up debounce time

BCS 746-001440
---
 arch/arm64/boot/dts/seconorth/mc3.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/seconorth/mc3.dtsi b/arch/arm64/boot/dts/seconorth/mc3.dtsi
index 0b9257352adb4..f247997d33b8b 100644
--- a/arch/arm64/boot/dts/seconorth/mc3.dtsi
+++ b/arch/arm64/boot/dts/seconorth/mc3.dtsi
@@ -1261,6 +1261,14 @@ codec_wm9705: codec-wm9705 {
 		wm,use-infinite-mode;
 		wm,use-median-filter;
 		wm,use-low-pass-filter;
+		/*
+		 * Time in ms until the pen-up event is
+		 * forwarded. This helps in debouncing the
+		 * pen-up event. If a pen-down occurs
+		 * during the debounce phase, the time
+		 * is reset.
+		 */
+		wm,pen-up-debounce = <100>;
 	};
 
 	codec_ucb1400: codec-ucb1400 {
-- 
GitLab