]> www.infradead.org Git - users/willy/xarray.git/commitdiff
dt-bindings: touchscreen: add touchscreen-x/y-plate-ohms property
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 25 May 2021 18:53:29 +0000 (11:53 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 25 May 2021 20:05:25 +0000 (13:05 -0700)
To calculate the pressure on a restrictive touchscreen we need to know
resistance at least of X plate. Some calculations need to use both X and
Y values. So let's 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>
Link: https://lore.kernel.org/r/20210525054634.9134-3-o.rempel@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml

index 046ace461cc9d4d0450c94241e74ca66ef3dbb1e..4b5b212c772c42162119e0fad7d439cbbe5adae2 100644 (file)
@@ -74,6 +74,12 @@ properties:
   touchscreen-y-mm:
     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
+
 dependencies:
   touchscreen-size-x: [ touchscreen-size-y ]
   touchscreen-size-y: [ touchscreen-size-x ]