summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/input
diff options
context:
space:
mode:
authorMarco Felsch2019-01-14 08:10:50 +0100
committerDmitry Torokhov2019-01-14 08:13:28 +0100
commitb6eba86030bf2fa3abcf9a0e3fb04527330da52e (patch)
treedebd1fe5cf8c24c02cf2e57cf1d1926eff96ee5c /Documentation/devicetree/bindings/input
parentInput: edt-ft5x06 - add support to update ev-ft5726 registers (diff)
downloadkernel-qcow2-linux-b6eba86030bf2fa3abcf9a0e3fb04527330da52e.tar.gz
kernel-qcow2-linux-b6eba86030bf2fa3abcf9a0e3fb04527330da52e.tar.xz
kernel-qcow2-linux-b6eba86030bf2fa3abcf9a0e3fb04527330da52e.zip
Input: edt-ft5x06 - add offset support for ev-ft5726
Unfortunately the evervision focaltech implementation uses two offset registers, one for the x coordinate and one for y. This patch extends the driver to handle those offset registers only for devices that support these. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/input')
-rw-r--r--Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt
index 179e434f5619..870b8c5cce9b 100644
--- a/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt
+++ b/Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt
@@ -44,6 +44,15 @@ Optional properties:
- offset: allows setting the edge compensation in the range from
0 to 31.
+
+ - offset-x: Same as offset, but applies only to the horizontal position.
+ Range from 0 to 80, only supported by evervision,ev-ft5726
+ devices.
+
+ - offset-y: Same as offset, but applies only to the vertical position.
+ Range from 0 to 80, only supported by evervision,ev-ft5726
+ devices.
+
- touchscreen-size-x : See touchscreen.txt
- touchscreen-size-y : See touchscreen.txt
- touchscreen-fuzz-x : See touchscreen.txt