]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/input/touchscreen/zforce_ts.txt
Merge remote-tracking branch 'access_once/linux-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / input / touchscreen / zforce_ts.txt
1 * Neonode infrared touchscreen controller
2
3 Required properties:
4 - compatible: must be "neonode,zforce"
5 - reg: I2C address of the chip
6 - interrupts: interrupt to which the chip is connected
7 - reset-gpios: reset gpio the chip is connected to
8 - x-size: horizontal resolution of touchscreen
9 - y-size: vertical resolution of touchscreen
10
11 Optional properties:
12 - irq-gpios : interrupt gpio the chip is connected to
13 - vdd-supply: Regulator controlling the controller supply
14
15 Example:
16
17         i2c@00000000 {
18                 /* ... */
19
20                 zforce_ts@50 {
21                         compatible = "neonode,zforce";
22                         reg = <0x50>;
23                         interrupts = <2 0>;
24                         vdd-supply = <&reg_zforce_vdd>;
25
26                         reset-gpios = <&gpio5 9 0>; /* RST */
27                         irq-gpios = <&gpio5 6 0>; /* IRQ, optional */
28
29                         x-size = <800>;
30                         y-size = <600>;
31                 };
32
33                 /* ... */
34         };