Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / input / touchscreen / tsc2005.txt
1 * Texas Instruments tsc2005 touchscreen controller
2
3 Required properties:
4  - compatible                 : "ti,tsc2005"
5  - reg                        : SPI device address
6  - spi-max-frequency          : Maximal SPI speed
7  - interrupts                 : IRQ specifier
8  - reset-gpios                : GPIO specifier
9  - vio-supply                 : Regulator specifier
10
11 Optional properties:
12  - ti,x-plate-ohms            : integer, resistance of the touchscreen's X plates
13                                 in ohm (defaults to 280)
14  - ti,esd-recovery-timeout-ms : integer, if the touchscreen does not respond after
15                                 the configured time (in milli seconds), the driver
16                                 will reset it. This is disabled by default.
17  - properties defined in touchscreen.txt
18
19 Example:
20
21 &mcspi1 {
22         tsc2005@0 {
23                 compatible = "ti,tsc2005";
24                 spi-max-frequency = <6000000>;
25                 reg = <0>;
26
27                 vio-supply = <&vio>;
28
29                 reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* 104 */
30                 interrupts-extended = <&gpio4 4 IRQ_TYPE_EDGE_RISING>; /* 100 */
31
32                 touchscreen-fuzz-x = <4>;
33                 touchscreen-fuzz-y = <7>;
34                 touchscreen-fuzz-pressure = <2>;
35                 touchscreen-size-x = <4096>;
36                 touchscreen-size-y = <4096>;
37                 touchscreen-max-pressure = <2048>;
38
39                 ti,x-plate-ohms = <280>;
40                 ti,esd-recovery-timeout-ms = <8000>;
41         };
42 }