Merge branch 'drm-fixes-4.19' of git://people.freedesktop.org/~agd5f/linux into drm...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / input / touchscreen / tsc2007.txt
1 * Texas Instruments tsc2007 touchscreen controller
2
3 Required 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
8 Optional 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 - 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
26 Example:
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         };