]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: input: touchscreen: tsc2007: document '#io-channel-cells'
authorSvyatoslav Ryhel <clamor95@gmail.com>
Thu, 22 Jan 2026 19:35:49 +0000 (21:35 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 25 Jan 2026 05:28:43 +0000 (21:28 -0800)
The tsc2007 can be used not only as resistive touchscreen controller but
also as a ADC IIO sensor. The second use case requires '#io-channel-cells'
property, hence add it.

Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
Acked-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260122193549.29858-2-clamor95@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/ti,tsc2007.yaml

index a595df3ea802f51b334034198f84624f04b99aa1..d9cb53e865127760f2dbecf94f7a638b2c912ce0 100644 (file)
@@ -53,6 +53,9 @@ properties:
       how much time to wait (in milliseconds) before reading again the
       values from the tsc2007.
 
+  "#io-channel-cells":
+    const: 1
+
 required:
   - compatible
   - reg