zforce_ts.txt 756 B

12345678910111213141516171819202122232425262728293031323334
  1. * Neonode infrared touchscreen controller
  2. Required properties:
  3. - compatible: must be "neonode,zforce"
  4. - reg: I2C address of the chip
  5. - interrupts: interrupt to which the chip is connected
  6. - gpios: gpios the chip is connected to
  7. first one is the interrupt gpio and second one the reset gpio
  8. - x-size: horizontal resolution of touchscreen
  9. - y-size: vertical resolution of touchscreen
  10. Optional properties:
  11. - vdd-supply: Regulator controlling the controller supply
  12. Example:
  13. i2c@00000000 {
  14. /* ... */
  15. zforce_ts@50 {
  16. compatible = "neonode,zforce";
  17. reg = <0x50>;
  18. interrupts = <2 0>;
  19. vdd-supply = <&reg_zforce_vdd>;
  20. gpios = <&gpio5 6 0>, /* INT */
  21. <&gpio5 9 0>; /* RST */
  22. x-size = <800>;
  23. y-size = <600>;
  24. };
  25. /* ... */
  26. };