tsc2005.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. * Texas Instruments tsc2005 touchscreen controller
  2. Required properties:
  3. - compatible : "ti,tsc2005"
  4. - reg : SPI device address
  5. - spi-max-frequency : Maximal SPI speed
  6. - interrupts : IRQ specifier
  7. - reset-gpios : GPIO specifier
  8. - vio-supply : Regulator specifier
  9. Optional properties:
  10. - ti,x-plate-ohms : integer, resistance of the touchscreen's X plates
  11. in ohm (defaults to 280)
  12. - ti,esd-recovery-timeout-ms : integer, if the touchscreen does not respond after
  13. the configured time (in milli seconds), the driver
  14. will reset it. This is disabled by default.
  15. - properties defined in touchscreen.txt
  16. Example:
  17. &mcspi1 {
  18. tsc2005@0 {
  19. compatible = "ti,tsc2005";
  20. spi-max-frequency = <6000000>;
  21. reg = <0>;
  22. vio-supply = <&vio>;
  23. reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* 104 */
  24. interrupts-extended = <&gpio4 4 IRQ_TYPE_EDGE_RISING>; /* 100 */
  25. touchscreen-fuzz-x = <4>;
  26. touchscreen-fuzz-y = <7>;
  27. touchscreen-fuzz-pressure = <2>;
  28. touchscreen-max-x = <4096>;
  29. touchscreen-max-y = <4096>;
  30. touchscreen-max-pressure = <2048>;
  31. ti,x-plate-ohms = <280>;
  32. ti,esd-recovery-timeout-ms = <8000>;
  33. };
  34. }