Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/jikos...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / input / touchscreen / samsung,s6sy761.txt
1 * Samsung S6SY761 touchscreen controller
2
3 Required properties:
4 - compatible            : must be "samsung,s6sy761"
5 - reg                   : I2C slave address, (e.g. 0x48)
6 - interrupt-parent      : the phandle to the interrupt controller which provides
7                           the interrupt
8 - interrupts            : interrupt specification
9 - avdd-supply           : analogic power supply
10 - vdd-supply            : power supply
11
12 Optional properties:
13 - touchscreen-size-x    : see touchscreen.txt. This property is embedded in the
14                           device. If defined it forces a different x resolution.
15 - touchscreen-size-y    : see touchscreen.txt. This property is embedded in the
16                           device. If defined it forces a different y resolution.
17
18 Example:
19
20 i2c@00000000 {
21
22         /* ... */
23
24         touchscreen@48 {
25                 compatible = "samsung,s6sy761";
26                 reg = <0x48>;
27                 interrupt-parent = <&gpa1>;
28                 interrupts = <1 IRQ_TYPE_NONE>;
29                 avdd-supply = <&ldo30_reg>;
30                 vdd-supply = <&ldo31_reg>;
31                 touchscreen-size-x = <4096>;
32                 touchscreen-size-y = <4096>;
33         };
34 };