sh_eth: fix EESIPR values for SH77{34|63}
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / touchscreen / tsc2005.txt
blobb80c04b0e5c028a45ae85f3ba77230b509318037
1 * Texas Instruments tsc2004 and tsc2005 touchscreen controllers
3 Required properties:
4  - compatible                 : "ti,tsc2004" or "ti,tsc2005"
5  - reg                        : Device address
6  - interrupts                 : IRQ specifier
7  - spi-max-frequency          : Maximum SPI clocking speed of the device
8                                 (for tsc2005)
10 Optional properties:
11  - vio-supply                 : Regulator specifier
12  - reset-gpios                : GPIO specifier for the controller reset line
13  - ti,x-plate-ohms            : integer, resistance of the touchscreen's X plates
14                                 in ohm (defaults to 280)
15  - ti,esd-recovery-timeout-ms : integer, if the touchscreen does not respond after
16                                 the configured time (in milli seconds), the driver
17                                 will reset it. This is disabled by default.
18  - properties defined in touchscreen.txt
20 Example:
22 &i2c3 {
23         tsc2004@48 {
24                 compatible = "ti,tsc2004";
25                 reg = <0x48>;
26                 vio-supply = <&vio>;
28                 reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>;
29                 interrupts-extended = <&gpio1 27 IRQ_TYPE_EDGE_RISING>;
31                 touchscreen-fuzz-x = <4>;
32                 touchscreen-fuzz-y = <7>;
33                 touchscreen-fuzz-pressure = <2>;
34                 touchscreen-size-x = <4096>;
35                 touchscreen-size-y = <4096>;
36                 touchscreen-max-pressure = <2048>;
38                 ti,x-plate-ohms = <280>;
39                 ti,esd-recovery-timeout-ms = <8000>;
40         };
43 &mcspi1 {
44         tsc2005@0 {
45                 compatible = "ti,tsc2005";
46                 spi-max-frequency = <6000000>;
47                 reg = <0>;
49                 vio-supply = <&vio>;
51                 reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* 104 */
52                 interrupts-extended = <&gpio4 4 IRQ_TYPE_EDGE_RISING>; /* 100 */
54                 touchscreen-fuzz-x = <4>;
55                 touchscreen-fuzz-y = <7>;
56                 touchscreen-fuzz-pressure = <2>;
57                 touchscreen-size-x = <4096>;
58                 touchscreen-size-y = <4096>;
59                 touchscreen-max-pressure = <2048>;
61                 ti,x-plate-ohms = <280>;
62                 ti,esd-recovery-timeout-ms = <8000>;
63         };