diff mbox series

[RFC,v1,1/3] dt-bindings: touchscreen: add touchscreen-x/y-plate-ohms property

Message ID 20210517125909.12024-2-o.rempel@pengutronix.de (mailing list archive)
State New
Headers show
Series add pressure calculation support for resistive-adc-touch driver | expand

Commit Message

Oleksij Rempel May 17, 2021, 12:59 p.m. UTC
Te calculate the pressure on a restrictive touchscreen we need need to
know resistance at least of X plate. Some calculations need to use both
X and Y values.
So, add generic properties which can be used by all drivers

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
 .../devicetree/bindings/input/touchscreen/touchscreen.yaml  | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox series


diff --git a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
index 046ace461cc9..4b5b212c772c 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
@@ -74,6 +74,12 @@  properties:
     description: vertical length in mm of the touchscreen
+  touchscreen-x-plate-ohms:
+    description: Resistance of the X-plate in Ohms
+  touchscreen-y-plate-ohms:
+    description: Resistance of the Y-plate in Ohms
   touchscreen-size-x: [ touchscreen-size-y ]
   touchscreen-size-y: [ touchscreen-size-x ]