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