Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.6-rc2 77 lines 2.7 kB view raw
1FocalTech EDT-FT5x06 Polytouch driver 2===================================== 3 4There are 5 variants of the chip for various touch panel sizes 5FT5206GE1 2.8" .. 3.8" 6FT5306DE4 4.3" .. 7" 7FT5406EE8 7" .. 8.9" 8FT5506EEG 7" .. 8.9" 9FT5726NEI 5.7” .. 11.6" 10 11The software interface is identical for all those chips, so that 12currently there is no need for the driver to distinguish between the 13different chips. Nevertheless distinct compatible strings are used so 14that a distinction can be added if necessary without changing the DT 15bindings. 16 17 18Required properties: 19 - compatible: "edt,edt-ft5206" 20 or: "edt,edt-ft5306" 21 or: "edt,edt-ft5406" 22 or: "edt,edt-ft5506" 23 or: "evervision,ev-ft5726" 24 or: "focaltech,ft6236" 25 26 - reg: I2C slave address of the chip (0x38) 27 - interrupts: interrupt specification for the touchdetect 28 interrupt 29 30Optional properties: 31 - reset-gpios: GPIO specification for the RESET input 32 - wake-gpios: GPIO specification for the WAKE input 33 - vcc-supply: Regulator that supplies the touchscreen 34 35 - pinctrl-names: should be "default" 36 - pinctrl-0: a phandle pointing to the pin settings for the 37 control gpios 38 39 - wakeup-source: If present the device will act as wakeup-source 40 41 - threshold: allows setting the "click"-threshold in the range 42 from 0 to 80. 43 44 - gain: allows setting the sensitivity in the range from 0 to 45 31. Note that lower values indicate higher 46 sensitivity. 47 48 - offset: allows setting the edge compensation in the range from 49 0 to 31. 50 51 - offset-x: Same as offset, but applies only to the horizontal position. 52 Range from 0 to 80, only supported by evervision,ev-ft5726 53 devices. 54 55 - offset-y: Same as offset, but applies only to the vertical position. 56 Range from 0 to 80, only supported by evervision,ev-ft5726 57 devices. 58 59 - touchscreen-size-x : See touchscreen.txt 60 - touchscreen-size-y : See touchscreen.txt 61 - touchscreen-fuzz-x : See touchscreen.txt 62 - touchscreen-fuzz-y : See touchscreen.txt 63 - touchscreen-inverted-x : See touchscreen.txt 64 - touchscreen-inverted-y : See touchscreen.txt 65 - touchscreen-swapped-x-y : See touchscreen.txt 66 67Example: 68 polytouch: edt-ft5x06@38 { 69 compatible = "edt,edt-ft5406", "edt,edt-ft5x06"; 70 reg = <0x38>; 71 pinctrl-names = "default"; 72 pinctrl-0 = <&edt_ft5x06_pins>; 73 interrupt-parent = <&gpio2>; 74 interrupts = <5 IRQ_TYPE_EDGE_FALLING>; 75 reset-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; 76 wake-gpios = <&gpio4 9 GPIO_ACTIVE_HIGH>; 77 };