elan_i2c.txt 926 B

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