zforce_ts.txt 784 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. - reset-gpios: reset gpio the chip is connected to
  7. - x-size: horizontal resolution of touchscreen
  8. - y-size: vertical resolution of touchscreen
  9. Optional properties:
  10. - irq-gpios : interrupt gpio the chip is connected to
  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. reset-gpios = <&gpio5 9 0>; /* RST */
  21. irq-gpios = <&gpio5 6 0>; /* IRQ, optional */
  22. x-size = <800>;
  23. y-size = <600>;
  24. };
  25. /* ... */
  26. };