1FocalTech EDT-FT5x06 Polytouch driver 2===================================== 3 4There are 3 variants of the chip for various touch panel sizes 5FT5206GE1 2.8" .. 3.8" 6FT5306DE4 4.3" .. 7" 7FT5406EE8 7" .. 8.9" 8 9The software interface is identical for all those chips, so that 10currently there is no need for the driver to distinguish between the 11different chips. Nevertheless distinct compatible strings are used so 12that a distinction can be added if necessary without changing the DT 13bindings. 14 15 16Required 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 27Optional 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 45Example: 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 }; 56