edt-ft5x06.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. FocalTech EDT-FT5x06 Polytouch driver
  2. =====================================
  3. There are 3 variants of the chip for various touch panel sizes
  4. FT5206GE1 2.8" .. 3.8"
  5. FT5306DE4 4.3" .. 7"
  6. FT5406EE8 7" .. 8.9"
  7. The software interface is identical for all those chips, so that
  8. currently there is no need for the driver to distinguish between the
  9. different chips. Nevertheless distinct compatible strings are used so
  10. that a distinction can be added if necessary without changing the DT
  11. bindings.
  12. Required properties:
  13. - compatible: "edt,edt-ft5206"
  14. or: "edt,edt-ft5306"
  15. or: "edt,edt-ft5406"
  16. - reg: I2C slave address of the chip (0x38)
  17. - interrupt-parent: a phandle pointing to the interrupt controller
  18. serving the interrupt for this chip
  19. - interrupts: interrupt specification for the touchdetect
  20. interrupt
  21. Optional properties:
  22. - reset-gpios: GPIO specification for the RESET input
  23. - wake-gpios: GPIO specification for the WAKE input
  24. - pinctrl-names: should be "default"
  25. - pinctrl-0: a phandle pointing to the pin settings for the
  26. control gpios
  27. - threshold: allows setting the "click"-threshold in the range
  28. from 20 to 80.
  29. - gain: allows setting the sensitivity in the range from 0 to
  30. 31. Note that lower values indicate higher
  31. sensitivity.
  32. - offset: allows setting the edge compensation in the range from
  33. 0 to 31.
  34. Example:
  35. polytouch: edt-ft5x06@38 {
  36. compatible = "edt,edt-ft5406", "edt,edt-ft5x06";
  37. reg = <0x38>;
  38. pinctrl-names = "default";
  39. pinctrl-0 = <&edt_ft5x06_pins>;
  40. interrupt-parent = <&gpio2>;
  41. interrupts = <5 0>;
  42. reset-gpios = <&gpio2 6 1>;
  43. wake-gpios = <&gpio4 9 0>;
  44. };