Skip to content

Commit cf6f234

Browse files
passgatdtor
authored andcommitted
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>
1 parent 7b1f8e7 commit cf6f234

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,10 @@ properties:
206206

207207
unevaluatedProperties: false
208208

209+
debounce-delay-us:
210+
description: Minimum duration in microseconds a signal must remain stable
211+
to be considered valid.
212+
209213
dependencies:
210214
touchscreen-size-x: [ touchscreen-size-y ]
211215
touchscreen-size-y: [ touchscreen-size-x ]

0 commit comments

Comments
 (0)