]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt
Merge remote-tracking branch 'mips/mips-for-linux-next'
[karo-tx-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 FT5506EEG  7"   .. 8.9"
9
10 The software interface is identical for all those chips, so that
11 currently there is no need for the driver to distinguish between the
12 different chips. Nevertheless distinct compatible strings are used so
13 that a distinction can be added if necessary without changing the DT
14 bindings.
15
16
17 Required properties:
18  - compatible:  "edt,edt-ft5206"
19            or:  "edt,edt-ft5306"
20            or:  "edt,edt-ft5406"
21            or:  "edt,edt-ft5506"
22
23  - reg:         I2C slave address of the chip (0x38)
24  - interrupt-parent: a phandle pointing to the interrupt controller
25                      serving the interrupt for this chip
26  - interrupts:       interrupt specification for the touchdetect
27                      interrupt
28
29 Optional properties:
30  - reset-gpios: GPIO specification for the RESET input
31  - wake-gpios:  GPIO specification for the WAKE input
32
33  - pinctrl-names: should be "default"
34  - pinctrl-0:   a phandle pointing to the pin settings for the
35                 control gpios
36
37  - threshold:   allows setting the "click"-threshold in the range
38                 from 20 to 80.
39
40  - gain:        allows setting the sensitivity in the range from 0 to
41                 31. Note that lower values indicate higher
42                 sensitivity.
43
44  - offset:      allows setting the edge compensation in the range from
45                 0 to 31.
46
47 Example:
48         polytouch: edt-ft5x06@38 {
49                 compatible = "edt,edt-ft5406", "edt,edt-ft5x06";
50                 reg = <0x38>;
51                 pinctrl-names = "default";
52                 pinctrl-0 = <&edt_ft5x06_pins>;
53                 interrupt-parent = <&gpio2>;
54                 interrupts = <5 IRQ_TYPE_EDGE_FALLING>;
55                 reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
56                 wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
57         };