treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / input / touchscreen / samsung,s6sy761.txt
blob6805d10d226d394a2a1ac35994c2def38acc50b5
1 * Samsung S6SY761 touchscreen controller
3 Required 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
10 Optional 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.
16 Example:
18 i2c@00000000 {
20         /* ... */
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         };