···11-FocalTech EDT-FT5x06 Polytouch driver22-=====================================33-44-There are 5 variants of the chip for various touch panel sizes55-FT5206GE1 2.8" .. 3.8"66-FT5306DE4 4.3" .. 7"77-FT5406EE8 7" .. 8.9"88-FT5506EEG 7" .. 8.9"99-FT5726NEI 5.7” .. 11.6"1010-1111-The software interface is identical for all those chips, so that1212-currently there is no need for the driver to distinguish between the1313-different chips. Nevertheless distinct compatible strings are used so1414-that a distinction can be added if necessary without changing the DT1515-bindings.1616-1717-1818-Required properties:1919- - compatible: "edt,edt-ft5206"2020- or: "edt,edt-ft5306"2121- or: "edt,edt-ft5406"2222- or: "edt,edt-ft5506"2323- or: "evervision,ev-ft5726"2424- or: "focaltech,ft6236"2525-2626- - reg: I2C slave address of the chip (0x38)2727- - interrupts: interrupt specification for the touchdetect2828- interrupt2929-3030-Optional properties:3131- - reset-gpios: GPIO specification for the RESET input3232- - wake-gpios: GPIO specification for the WAKE input3333- - vcc-supply: Regulator that supplies the touchscreen3434-3535- - pinctrl-names: should be "default"3636- - pinctrl-0: a phandle pointing to the pin settings for the3737- control gpios3838-3939- - wakeup-source: If present the device will act as wakeup-source4040-4141- - threshold: allows setting the "click"-threshold in the range4242- from 0 to 80.4343-4444- - gain: allows setting the sensitivity in the range from 0 to4545- 31. Note that lower values indicate higher4646- sensitivity.4747-4848- - offset: allows setting the edge compensation in the range from4949- 0 to 31.5050-5151- - offset-x: Same as offset, but applies only to the horizontal position.5252- Range from 0 to 80, only supported by evervision,ev-ft57265353- devices.5454-5555- - offset-y: Same as offset, but applies only to the vertical position.5656- Range from 0 to 80, only supported by evervision,ev-ft57265757- devices.5858-5959- - touchscreen-size-x : See touchscreen.txt6060- - touchscreen-size-y : See touchscreen.txt6161- - touchscreen-fuzz-x : See touchscreen.txt6262- - touchscreen-fuzz-y : See touchscreen.txt6363- - touchscreen-inverted-x : See touchscreen.txt6464- - touchscreen-inverted-y : See touchscreen.txt6565- - touchscreen-swapped-x-y : See touchscreen.txt6666-6767-Example:6868- polytouch: edt-ft5x06@38 {6969- compatible = "edt,edt-ft5406", "edt,edt-ft5x06";7070- reg = <0x38>;7171- pinctrl-names = "default";7272- pinctrl-0 = <&edt_ft5x06_pins>;7373- interrupt-parent = <&gpio2>;7474- interrupts = <5 IRQ_TYPE_EDGE_FALLING>;7575- reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;7676- wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>;7777- };