tsc2007.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. - interrupt-parent: the phandle for the gpio controller
  11. (see interrupt binding[0]).
  12. - interrupts: (gpio) interrupt to which the chip is connected
  13. (see interrupt binding[0]).
  14. - ti,max-rt: maximum pressure.
  15. - ti,fuzzx: specifies the absolute input fuzz x value.
  16. If set, it will permit noise in the data up to +- the value given to the fuzz
  17. parameter, that is used to filter noise from the event stream.
  18. - ti,fuzzy: specifies the absolute input fuzz y value.
  19. - ti,fuzzz: specifies the absolute input fuzz z value.
  20. - ti,poll-period: how much time to wait (in milliseconds) before reading again the
  21. values from the tsc2007.
  22. [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
  23. [1]: Documentation/devicetree/bindings/gpio/gpio.txt
  24. Example:
  25. &i2c1 {
  26. /* ... */
  27. tsc2007@49 {
  28. compatible = "ti,tsc2007";
  29. reg = <0x49>;
  30. interrupt-parent = <&gpio4>;
  31. interrupts = <0x0 0x8>;
  32. gpios = <&gpio4 0 0>;
  33. ti,x-plate-ohms = <180>;
  34. };
  35. /* ... */
  36. };