]> git.karo-electronics.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/input/touchscreen/edt-ft5x06.txt
Input: edt-ft5x06 - add DT support
[karo-tx-linux.git] / Documentation / devicetree / bindings / input / touchscreen / edt-ft5x06.txt
1 * EDT FT5x06 Multiple Touch Controller
2
3 Required properties:
4 - compatible: must be "edt,edt-ft5x06"
5 - reg: i2c slave address
6 - interrupt-parent: the phandle for the interrupt controller
7 - interrupts: touch controller interrupt
8
9 Optional properties:
10 - reset-gpios:  the gpio pin to be used for resetting the controller
11 - wakeup-gpios: the gpio pin to be used for waking up the controller
12
13   The following properties provide default values for the
14   corresponding parameters configurable via sysfs
15   (see Documentation/input/edt-ft5x06.txt)
16 - threshold: allows setting the "click"-threshold in the range from 20 to 80.
17 - gain: sensitivity (0..31) (lower value -> higher sensitivity)
18 - offset: edge compensation (0..31)
19 - report_rate: report rate (3..14)
20
21 Example:
22
23         edt-ft5x06@38 {
24                 compatible = "edt,edt-ft5x06";
25                 reg = <0x38>;
26                 interrupt-parent = <&gpio2>;
27                 interrupts = <5 0>;
28                 reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
29                 wakeup-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;
30         };