Skip to contentSkip to conversation

dt-bindings: input: touchscreen: tsc2007: document '#io-channel-cells'

PATCH Applied Svyatoslav Ryhel 3 participants 4 messages Jan 22 – Jan 25

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover dt-bindings: input: touchscreen: tsc2007: document '#io-channel-cells'

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.

Svyatoslav Ryhel (1):
dt-bindings: input: touchscreen: tsc2007: document '#io-channel-cells'

 .../devicetree/bindings/input/touchscreen/ti,tsc2007.yaml      | 3 +++
 1 file changed, 3 insertions(+)
Signature · 1 line
2.51.0
#1 lore raw

PATCH 1/1 dt-bindings: input: touchscreen: tsc2007: document '#io-channel-cells'

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.

---
 .../devicetree/bindings/input/touchscreen/ti,tsc2007.yaml      | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/input/touchscreen/ti,tsc2007.yaml +3 -0
index a595df3ea802..d9cb53e86512 100644
@@ -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
Signature · 1 line
2.51.0