Merge tag 'hwspinlock-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ohad...
[sfrench/cifs-2.6.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 - 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
11
12 Optional properties:
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                         gpios = <&gpio5 6 0>, /* INT */
27                                 <&gpio5 9 0>; /* RST */
28
29                         x-size = <800>;
30                         y-size = <600>;
31                 };
32
33                 /* ... */
34         };