elan_i2c.txt 952 B

1234567891011121314151617181920212223242526272829303132333435
  1. Elantech I2C Touchpad
  2. Required properties:
  3. - compatible: must be "elan,ekth3000".
  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: touchpad 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. - vcc-supply: a phandle for the regulator supplying 3.3V power.
  15. [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
  16. [1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
  17. Example:
  18. &i2c1 {
  19. /* ... */
  20. touchpad@15 {
  21. compatible = "elan,ekth3000";
  22. reg = <0x15>;
  23. interrupt-parent = <&gpio4>;
  24. interrupts = <0x0 IRQ_TYPE_EDGE_FALLING>;
  25. wakeup-source;
  26. };
  27. /* ... */
  28. };