diff mbox series

[v6,2/4] dt-bindings: touchscreen: add touchscreen-x/y-plate-ohms property

Message ID 20210525054634.9134-3-o.rempel@pengutronix.de (mailing list archive)
State Accepted
Commit ff7af0fe13b5254ba8467a4344ab53ab0445971e
Headers show
Series add z1 and z2 channels support for resistive-adc-touch driver | expand

Commit Message

Oleksij Rempel May 25, 2021, 5:46 a.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>
Reviewed-by: Rob Herring <robh@kernel.org>
 .../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 057e1063759c..2d7b039ce47f 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
+++ b/Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml
@@ -77,6 +77,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 ]