Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / display / panel / olimex,lcd-olinuxino.txt
1 Binding for Olimex Ltd. LCD-OLinuXino bridge panel.
2
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
9
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)
15
16 The above chips share same I2C bus. The EEPROM is factory preprogrammed with
17 device information (id, serial, etc.) and timing requirements.
18
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
23
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
28
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
32
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         };
42 };