blob: 210486a3fb11e02e0c32cdbafa16f9d44f4bebf9 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001* Texas Instruments tsc2007 touchscreen controller
2
3Required properties:
4- compatible: must be "ti,tsc2007".
5- reg: I2C address of the chip.
6- ti,x-plate-ohms: X-plate resistance in ohms.
7
8Optional properties:
9- gpios: the interrupt gpio the chip is connected to (through the penirq pin).
10 The penirq pin goes to low when the panel is touched.
11 (see GPIO binding[1] for more details).
12- interrupts: (gpio) interrupt to which the chip is connected
13 (see interrupt binding[0]).
14- ti,max-rt: maximum pressure.
15- ti,fuzzx: specifies the absolute input fuzz x value.
16 If set, it will permit noise in the data up to +- the value given to the fuzz
17 parameter, that is used to filter noise from the event stream.
18- ti,fuzzy: specifies the absolute input fuzz y value.
19- ti,fuzzz: specifies the absolute input fuzz z value.
20- ti,poll-period: how much time to wait (in milliseconds) before reading again the
21 values from the tsc2007.
22
23[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
24[1]: Documentation/devicetree/bindings/gpio/gpio.txt
25
26Example:
27 &i2c1 {
28 /* ... */
29 tsc2007@49 {
30 compatible = "ti,tsc2007";
31 reg = <0x49>;
32 interrupt-parent = <&gpio4>;
33 interrupts = <0x0 0x8>;
34 gpios = <&gpio4 0 0>;
35 ti,x-plate-ohms = <180>;
36 };
37
38 /* ... */
39 };