Linux 4.1.18
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / touchscreen / zforce_ts.txt
blob80c37df940a7ecc78d1543be0ff5f6f9092f9477
1 * Neonode infrared touchscreen controller
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 - gpios: gpios the chip is connected to
8   first one is the interrupt gpio and second one the reset gpio
9 - x-size: horizontal resolution of touchscreen
10 - y-size: vertical resolution of touchscreen
12 Optional properties:
13 - vdd-supply: Regulator controlling the controller supply
15 Example:
17         i2c@00000000 {
18                 /* ... */
20                 zforce_ts@50 {
21                         compatible = "neonode,zforce";
22                         reg = <0x50>;
23                         interrupts = <2 0>;
24                         vdd-supply = <&reg_zforce_vdd>;
26                         gpios = <&gpio5 6 0>, /* INT */
27                                 <&gpio5 9 0>; /* RST */
29                         x-size = <800>;
30                         y-size = <600>;
31                 };
33                 /* ... */
34         };