aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/input
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2017-01-14 13:25:02 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-02-09 16:54:51 -0500
commit83f66a6f08fa4004d6fb9d50c57735067bbbb405 (patch)
tree006b080925a040a0bcfa9cafdcef85931e5e619f /Documentation/devicetree/bindings/input
parent45536d373a21d441bd488f618b6e3e9bfae839f3 (diff)
Input: add driver for Zeitec ZET6223
This is a basic driver for the Zeitec ZET6223 I2C touchscreen controllers. The driver does not support firmware loading, which is not required for all tablets which contain this chip. Signed-off-by: Jelle van der Waa <jelle@vdwaa.nl> Acked-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/zet6223.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt b/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt
new file mode 100644
index 000000000000..fe6a1feef703
--- /dev/null
+++ b/Documentation/devicetree/bindings/input/touchscreen/zet6223.txt
@@ -0,0 +1,32 @@
1Zeitec ZET6223 I2C touchscreen controller
2
3Required properties:
4- compatible : "zeitec,zet6223"
5- reg : I2C slave address of the chip (0x76)
6- interrupt-parent : a phandle pointing to the interrupt controller
7 serving the interrupt for this chip
8- interrupts : interrupt specification for the zet6223 interrupt
9
10Optional properties:
11
12- vio-supply : Specification for VIO supply (1.8V or 3.3V,
13 depending on system interface needs).
14- vcc-supply : Specification for 3.3V VCC supply.
15- touchscreen-size-x : See touchscreen.txt
16- touchscreen-size-y : See touchscreen.txt
17- touchscreen-inverted-x : See touchscreen.txt
18- touchscreen-inverted-y : See touchscreen.txt
19- touchscreen-swapped-x-y : See touchscreen.txt
20
21Example:
22
23i2c@00000000 {
24
25 zet6223: touchscreen@76 {
26 compatible = "zeitec,zet6223";
27 reg = <0x76>;
28 interrupt-parent = <&pio>;
29 interrupts = <6 11 IRQ_TYPE_EDGE_FALLING>
30 };
31
32};