tsc2007.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. * Texas Instruments tsc2007 touchscreen controller
  2. Required properties:
  3. - compatible: must be "ti,tsc2007".
  4. - reg: I2C address of the chip.
  5. - ti,x-plate-ohms: X-plate resistance in ohms.
  6. Optional properties:
  7. - gpios: the interrupt gpio the chip is connected to (trough the penirq pin).
  8. The penirq pin goes to low when the panel is touched.
  9. (see GPIO binding[1] for more details).
  10. - interrupts: (gpio) interrupt to which the chip is connected
  11. (see interrupt binding[0]).
  12. - ti,max-rt: maximum pressure.
  13. - ti,fuzzx: specifies the absolute input fuzz x value.
  14. If set, it will permit noise in the data up to +- the value given to the fuzz
  15. parameter, that is used to filter noise from the event stream.
  16. - ti,fuzzy: specifies the absolute input fuzz y value.
  17. - ti,fuzzz: specifies the absolute input fuzz z value.
  18. - ti,poll-period: how much time to wait (in milliseconds) before reading again the
  19. values from the tsc2007.
  20. [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
  21. [1]: Documentation/devicetree/bindings/gpio/gpio.txt
  22. Example:
  23. &i2c1 {
  24. /* ... */
  25. tsc2007@49 {
  26. compatible = "ti,tsc2007";
  27. reg = <0x49>;
  28. interrupt-parent = <&gpio4>;
  29. interrupts = <0x0 0x8>;
  30. gpios = <&gpio4 0 0>;
  31. ti,x-plate-ohms = <180>;
  32. };
  33. /* ... */
  34. };