sis_i2c.txt 980 B

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