Linux 4.1.18
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / touchscreen / tsc2005.txt
blob09089a6d69ed8d1c9b29115e6abce75a6d1a2fcd
1 * Texas Instruments tsc2005 touchscreen controller
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
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
19 Example:
21 &mcspi1 {
22         tsc2005@0 {
23                 compatible = "ti,tsc2005";
24                 spi-max-frequency = <6000000>;
25                 reg = <0>;
27                 vio-supply = <&vio>;
29                 reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* 104 */
30                 interrupts-extended = <&gpio4 4 IRQ_TYPE_EDGE_RISING>; /* 100 */
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>;
39                 ti,x-plate-ohms = <280>;
40                 ti,esd-recovery-timeout-ms = <8000>;
41         };