Merge branch 'async-scsi-resume' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux.git] / Documentation / devicetree / bindings / input / touchscreen / edt-ft5x06.txt
1 FocalTech EDT-FT5x06 Polytouch driver
2 =====================================
3
4 There are 3 variants of the chip for various touch panel sizes
5 FT5206GE1  2.8" .. 3.8"
6 FT5306DE4  4.3" .. 7"
7 FT5406EE8  7"   .. 8.9"
8
9 The software interface is identical for all those chips, so that
10 currently there is no need for the driver to distinguish between the
11 different chips. Nevertheless distinct compatible strings are used so
12 that a distinction can be added if necessary without changing the DT
13 bindings.
14
15
16 Required properties:
17  - compatible:  "edt,edt-ft5206"
18            or:  "edt,edt-ft5306"
19            or:  "edt,edt-ft5406"
20
21  - reg:         I2C slave address of the chip (0x38)
22  - interrupt-parent: a phandle pointing to the interrupt controller
23                      serving the interrupt for this chip
24  - interrupts:       interrupt specification for the touchdetect
25                      interrupt
26
27 Optional properties:
28  - reset-gpios: GPIO specification for the RESET input
29  - wake-gpios:  GPIO specification for the WAKE input
30
31  - pinctrl-names: should be "default"
32  - pinctrl-0:   a phandle pointing to the pin settings for the
33                 control gpios
34
35  - threshold:   allows setting the "click"-threshold in the range
36                 from 20 to 80.
37
38  - gain:        allows setting the sensitivity in the range from 0 to
39                 31. Note that lower values indicate higher
40                 sensitivity.
41
42  - offset:      allows setting the edge compensation in the range from
43                 0 to 31.
44
45 Example:
46         polytouch: edt-ft5x06@38 {
47                 compatible = "edt,edt-ft5406", "edt,edt-ft5x06";
48                 reg = <0x38>;
49                 pinctrl-names = "default";
50                 pinctrl-0 = <&edt_ft5x06_pins>;
51                 interrupt-parent = <&gpio2>;
52                 interrupts = <5 0>;
53                 reset-gpios = <&gpio2 6 1>;
54                 wake-gpios = <&gpio4 9 0>;
55         };