WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / display / panel / olimex,lcd-olinuxino.yaml
blob2329d9610f83210e256e20a78d43bca87f60798e
1 # SPDX-License-Identifier: GPL-2.0
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/display/panel/olimex,lcd-olinuxino.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Binding for Olimex Ltd. LCD-OLinuXino bridge panel.
9 maintainers:
10   - Stefan Mavrodiev <stefan@olimex.com>
12 description: |
13   This device can be used as bridge between a host controller and LCD panels.
14   Currently supported LCDs are:
15     - LCD-OLinuXino-4.3TS
16     - LCD-OLinuXino-5
17     - LCD-OLinuXino-7
18     - LCD-OLinuXino-10
20   The panel itself contains:
21     - AT24C16C EEPROM holding panel identification and timing requirements
22     - AR1021 resistive touch screen controller (optional)
23     - FT5x6 capacitive touch screnn controller (optional)
24     - GT911/GT928 capacitive touch screen controller (optional)
26   The above chips share same I2C bus. The EEPROM is factory preprogrammed with
27   device information (id, serial, etc.) and timing requirements.
29   Touchscreen bingings can be found in these files:
30     - input/touchscreen/goodix.yaml
31     - input/touchscreen/edt-ft5x06.txt
32     - input/touchscreen/ar1021.txt
34 allOf:
35   - $ref: panel-common.yaml#
37 properties:
38   compatible:
39     const: olimex,lcd-olinuxino
41   backlight: true
42   enable-gpios: true
43   power-supply: true
44   reg: true
46 required:
47   - compatible
48   - reg
49   - power-supply
51 additionalProperties: false
53 examples:
54   - |
55     #include <dt-bindings/gpio/gpio.h>
57     i2c {
58         #address-cells = <1>;
59         #size-cells = <0>;
61         panel@50 {
62             compatible = "olimex,lcd-olinuxino";
63             reg = <0x50>;
64             power-supply = <&reg_vcc5v0>;
65             enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>;
66             backlight = <&backlight>;
67         };
68     };
70 ...