| 1 |
* SiS I2C Multiple Touch Controller |
| 2 |
|
| 3 |
Required properties: |
| 4 |
- compatible: must be "sis,9200-ts" |
| 5 |
- reg: i2c slave address |
| 6 |
- interrupts: touch controller interrupt (see interrupt |
| 7 |
binding [0]) |
| 8 |
|
| 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 |
|
| 17 |
[0]: Documentation/devicetree/bindings/interrupt-controller/interrupts.txt |
| 18 |
[1]: Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt |
| 19 |
|
| 20 |
Example: |
| 21 |
|
| 22 |
sis9255@5c { |
| 23 |
compatible = "sis,9200-ts"; |
| 24 |
reg = <0x5c>; |
| 25 |
pinctrl-names = "default"; |
| 26 |
pinctrl-0 = <&pinctrl_sis>; |
| 27 |
interrupt-parent = <&gpio3>; |
| 28 |
interrupts = <19 IRQ_TYPE_EDGE_FALLING>; |
| 29 |
irq-gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; |
| 30 |
reset-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>; |
| 31 |
}; |