Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
[deliverable/linux.git] / Documentation / devicetree / bindings / input / touchscreen / tsc2005.txt
1 * Texas Instruments tsc2004 and tsc2005 touchscreen controllers
2
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)
9
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
19
20 Example:
21
22 &i2c3 {
23 tsc2004@48 {
24 compatible = "ti,tsc2004";
25 reg = <0x48>;
26 vio-supply = <&vio>;
27
28 reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>;
29 interrupts-extended = <&gpio1 27 IRQ_TYPE_EDGE_RISING>;
30
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>;
37
38 ti,x-plate-ohms = <280>;
39 ti,esd-recovery-timeout-ms = <8000>;
40 };
41 }
42
43 &mcspi1 {
44 tsc2005@0 {
45 compatible = "ti,tsc2005";
46 spi-max-frequency = <6000000>;
47 reg = <0>;
48
49 vio-supply = <&vio>;
50
51 reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* 104 */
52 interrupts-extended = <&gpio4 4 IRQ_TYPE_EDGE_RISING>; /* 100 */
53
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>;
60
61 ti,x-plate-ohms = <280>;
62 ti,esd-recovery-timeout-ms = <8000>;
63 };
64 }
This page took 0.043519 seconds and 5 git commands to generate.