elants_i2c.txt 897 B

12345678910111213141516171819202122232425262728293031323334
  1. Elantech I2C Touchscreen
  2. Required properties:
  3. - compatible: must be "elan,ekth3500".
  4. - reg: I2C address of the chip.
  5. - interrupt-parent: a phandle for the interrupt controller (see interrupt
  6. binding[0]).
  7. - interrupts: interrupt to which the chip is connected (see interrupt
  8. binding[0]).
  9. Optional properties:
  10. - wakeup-source: touchscreen can be used as a wakeup source.
  11. - pinctrl-names: should be "default" (see pinctrl binding [1]).
  12. - pinctrl-0: a phandle pointing to the pin settings for the device (see
  13. pinctrl binding [1]).
  14. [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
  15. [1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
  16. Example:
  17. &i2c1 {
  18. /* ... */
  19. touchscreen@10 {
  20. compatible = "elan,ekth3500";
  21. reg = <0x10>;
  22. interrupt-parent = <&gpio4>;
  23. interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
  24. wakeup-source;
  25. };
  26. /* ... */
  27. };