]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: touchscreen: fsl,imx6ul-tsc: support glitch thresold
authorDario Binacchi <dario.binacchi@amarulasolutions.com>
Tue, 23 Sep 2025 14:37:35 +0000 (16:37 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 24 Sep 2025 21:21:07 +0000 (14:21 -0700)
commit3fccd1f9552dd073915b0a69d43cc03c582ce79b
treea4c0a33d3b763561a5e23035dd2f92e376bb773e
parentcf6f234d7dfbbb13197eb71e7716412d4e30988d
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>
Documentation/devicetree/bindings/input/touchscreen/fsl,imx6ul-tsc.yaml