]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: touchscreen: add debounce-delay-us property
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Tue, 23 Sep 2025 14:37:34 +0000 (16:37 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Sep 2025 21:21:00 +0000 (14:21 -0700)
commitcf6f234d7dfbbb13197eb71e7716412d4e30988d
treef3b8c2d0f9b0571931ace9a7f27d77ffedb61d31
parent7b1f8e7671ebe3cd8899aef17db870e9eba938a3
dt-bindings: touchscreen: add debounce-delay-us property

Add support for glitch delay configuration. A detected signal is valid
only if it remains stable longer than the configured delay; otherwise,
it is considered a glitch.

This property was introduced for the i.MX6UL touchscreen controller (TSC),
which provides a hardware deglitch filter with four thresholds depending
on the IPG clock frequency. In this use case, the IPG clock rate is 66 MHz,
resulting in thresholds of 124 µs, 62 µs, 31 µs, and 15 µs, which requires
a property with microsecond-level resolution.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250923143746.2857292-4-dario.binacchi@amarulasolutions.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml