xref: /openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/samsung,s6sy761.txt (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1*0145a714SAndi Shyti* Samsung S6SY761 touchscreen controller
2*0145a714SAndi Shyti
3*0145a714SAndi ShytiRequired properties:
4*0145a714SAndi Shyti- compatible		: must be "samsung,s6sy761"
5*0145a714SAndi Shyti- reg			: I2C slave address, (e.g. 0x48)
6*0145a714SAndi Shyti- interrupts		: interrupt specification
7*0145a714SAndi Shyti- avdd-supply		: analogic power supply
8*0145a714SAndi Shyti- vdd-supply		: power supply
9*0145a714SAndi Shyti
10*0145a714SAndi ShytiOptional properties:
11*0145a714SAndi Shyti- touchscreen-size-x	: see touchscreen.txt. This property is embedded in the
12*0145a714SAndi Shyti			  device. If defined it forces a different x resolution.
13*0145a714SAndi Shyti- touchscreen-size-y	: see touchscreen.txt. This property is embedded in the
14*0145a714SAndi Shyti			  device. If defined it forces a different y resolution.
15*0145a714SAndi Shyti
16*0145a714SAndi ShytiExample:
17*0145a714SAndi Shyti
18*0145a714SAndi Shytii2c@00000000 {
19*0145a714SAndi Shyti
20*0145a714SAndi Shyti	/* ... */
21*0145a714SAndi Shyti
22*0145a714SAndi Shyti	touchscreen@48 {
23*0145a714SAndi Shyti		compatible = "samsung,s6sy761";
24*0145a714SAndi Shyti		reg = <0x48>;
25*0145a714SAndi Shyti		interrupt-parent = <&gpa1>;
26*0145a714SAndi Shyti		interrupts = <1 IRQ_TYPE_NONE>;
27*0145a714SAndi Shyti		avdd-supply = <&ldo30_reg>;
28*0145a714SAndi Shyti		vdd-supply = <&ldo31_reg>;
29*0145a714SAndi Shyti		touchscreen-size-x = <4096>;
30*0145a714SAndi Shyti		touchscreen-size-y = <4096>;
31*0145a714SAndi Shyti	};
32*0145a714SAndi Shyti};
33