sis_i2c.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. * SiS I2C Multiple Touch Controller
  2. Required properties:
  3. - compatible: must be "sis,9200-ts"
  4. - reg: i2c slave address
  5. - interrupt-parent: the phandle for the interrupt controller
  6. (see interrupt binding [0])
  7. - interrupts: touch controller interrupt (see interrupt
  8. binding [0])
  9. Optional properties:
  10. - pinctrl-names: should be "default" (see pinctrl binding [1]).
  11. - pinctrl-0: a phandle pointing to the pin settings for the
  12. device (see pinctrl binding [1]).
  13. - attn-gpios: the gpio pin used as attention line
  14. - reset-gpios: the gpio pin used to reset the controller
  15. - wakeup-source: touchscreen can be used as a wakeup source
  16. [0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt
  17. [1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
  18. Example:
  19. sis9255@5c {
  20. compatible = "sis,9200-ts";
  21. reg = <0x5c>;
  22. pinctrl-names = "default";
  23. pinctrl-0 = <&pinctrl_sis>;
  24. interrupt-parent = <&gpio3>;
  25. interrupts = <19 IRQ_TYPE_EDGE_FALLING>;
  26. irq-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>;
  27. reset-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
  28. };