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