Skip to content

Commit 3fccd1f

Browse files
passgatdtor
authored andcommitted
dt-bindings: touchscreen: fsl,imx6ul-tsc: support glitch thresold
Support the debounce-delay-us property. Drivers must convert this value to IPG clock cycles and map it to one of the four discrete thresholds exposed by the TSC_DEBUG_MODE2 register: 0: 8191 IPG cycles 1: 4095 IPG cycles 2: 2047 IPG cycles 3: 1023 IPG cycles 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-5-dario.binacchi@amarulasolutions.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent cf6f234 commit 3fccd1f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,20 @@ properties:
6262
description: Number of data samples which are averaged for each read.
6363
enum: [ 1, 4, 8, 16, 32 ]
6464

65+
debounce-delay-us:
66+
description: |
67+
Minimum duration in microseconds a signal must remain stable
68+
to be considered valid.
69+
70+
Drivers must convert this value to IPG clock cycles and map
71+
it to one of the four discrete thresholds exposed by the
72+
TSC_DEBUG_MODE2 register:
73+
74+
0: 8191 IPG cycles
75+
1: 4095 IPG cycles
76+
2: 2047 IPG cycles
77+
3: 1023 IPG cycles
78+
6579
required:
6680
- compatible
6781
- reg

0 commit comments

Comments
 (0)