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