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