treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / panel / olimex,lcd-olinuxino.txt
bloba89f9c830a856f73db730f30fd35bf6321119553
1 Binding for Olimex Ltd. LCD-OLinuXino bridge panel.
3 This device can be used as bridge between a host controller and LCD panels.
4 Currently supported LCDs are:
5   - LCD-OLinuXino-4.3TS
6   - LCD-OLinuXino-5
7   - LCD-OLinuXino-7
8   - LCD-OLinuXino-10
10 The panel itself contains:
11   - AT24C16C EEPROM holding panel identification and timing requirements
12   - AR1021 resistive touch screen controller (optional)
13   - FT5x6 capacitive touch screnn controller (optional)
14   - GT911/GT928 capacitive touch screen controller (optional)
16 The above chips share same I2C bus. The EEPROM is factory preprogrammed with
17 device information (id, serial, etc.) and timing requirements.
19 Touchscreen bingings can be found in these files:
20   - input/touchscreen/goodix.txt
21   - input/touchscreen/edt-ft5x06.txt
22   - input/touchscreen/ar1021.txt
24 Required properties:
25   - compatible: should be "olimex,lcd-olinuxino"
26   - reg: address of the configuration EEPROM, should be <0x50>
27   - power-supply: phandle of the regulator that provides the supply voltage
29 Optional properties:
30   - enable-gpios: GPIO pin to enable or disable the panel
31   - backlight: phandle of the backlight device attacked to the panel
33 Example:
34 &i2c2 {
35         panel@50 {
36                 compatible = "olimex,lcd-olinuxino";
37                 reg = <0x50>;
38                 power-supply = <&reg_vcc5v0>;
39                 enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>;
40                 backlight = <&backlight>;
41         };