]>
Commit | Line | Data |
---|---|---|
dac90dc2 LW |
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" | |
af33e0ad | 8 | FT5506EEG 7" .. 8.9" |
dac90dc2 LW |
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" | |
af33e0ad | 21 | or: "edt,edt-ft5506" |
d1871654 | 22 | or: "focaltech,ft6236" |
dac90dc2 LW |
23 | |
24 | - reg: I2C slave address of the chip (0x38) | |
25 | - interrupt-parent: a phandle pointing to the interrupt controller | |
26 | serving the interrupt for this chip | |
27 | - interrupts: interrupt specification for the touchdetect | |
28 | interrupt | |
29 | ||
30 | Optional properties: | |
31 | - reset-gpios: GPIO specification for the RESET input | |
32 | - wake-gpios: GPIO specification for the WAKE input | |
33 | ||
34 | - pinctrl-names: should be "default" | |
35 | - pinctrl-0: a phandle pointing to the pin settings for the | |
36 | control gpios | |
37 | ||
38 | - threshold: allows setting the "click"-threshold in the range | |
aa3d4409 | 39 | from 0 to 80. |
dac90dc2 LW |
40 | |
41 | - gain: allows setting the sensitivity in the range from 0 to | |
42 | 31. Note that lower values indicate higher | |
43 | sensitivity. | |
44 | ||
45 | - offset: allows setting the edge compensation in the range from | |
46 | 0 to 31. | |
d1871654 HG |
47 | - touchscreen-size-x : See touchscreen.txt |
48 | - touchscreen-size-y : See touchscreen.txt | |
49 | - touchscreen-fuzz-x : See touchscreen.txt | |
50 | - touchscreen-fuzz-y : See touchscreen.txt | |
51 | - touchscreen-inverted-x : See touchscreen.txt | |
52 | - touchscreen-inverted-y : See touchscreen.txt | |
53 | - touchscreen-swapped-x-y : See touchscreen.txt | |
dac90dc2 LW |
54 | |
55 | Example: | |
56 | polytouch: edt-ft5x06@38 { | |
57 | compatible = "edt,edt-ft5406", "edt,edt-ft5x06"; | |
58 | reg = <0x38>; | |
59 | pinctrl-names = "default"; | |
60 | pinctrl-0 = <&edt_ft5x06_pins>; | |
61 | interrupt-parent = <&gpio2>; | |
f0bef75c | 62 | interrupts = <5 IRQ_TYPE_EDGE_FALLING>; |
13c23cd1 FCJ |
63 | reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; |
64 | wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>; | |
dac90dc2 | 65 | }; |