xref: /linux/Documentation/devicetree/bindings/input/touchscreen/tsc2007.txt (revision ca55b2fef3a9373fcfc30f82fd26bc7fccbda732)
1* 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 (trough the penirq pin).
10  The penirq pin goes to low when the panel is touched.
11  (see GPIO binding[1] for more details).
12- interrupt-parent: the phandle for the gpio controller
13  (see interrupt binding[0]).
14- interrupts: (gpio) interrupt to which the chip is connected
15  (see interrupt binding[0]).
16- ti,max-rt: maximum pressure.
17- ti,fuzzx: specifies the absolute input fuzz x value.
18  If set, it will permit noise in the data up to +- the value given to the fuzz
19  parameter, that is used to filter noise from the event stream.
20- ti,fuzzy: specifies the absolute input fuzz y value.
21- ti,fuzzz: specifies the absolute input fuzz z value.
22- ti,poll-period: how much time to wait (in milliseconds) before reading again the
23  values from the tsc2007.
24
25[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
26[1]: Documentation/devicetree/bindings/gpio/gpio.txt
27
28Example:
29	&i2c1 {
30		/* ... */
31		tsc2007@49 {
32			compatible = "ti,tsc2007";
33			reg = <0x49>;
34			interrupt-parent = <&gpio4>;
35			interrupts = <0x0 0x8>;
36			gpios = <&gpio4 0 0>;
37			ti,x-plate-ohms = <180>;
38		};
39
40		/* ... */
41	};
42