0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/panel/olimex,lcd-olinuxino.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Binding for Olimex Ltd. LCD-OLinuXino bridge panel.
0008
0009 maintainers:
0010 - Stefan Mavrodiev <stefan@olimex.com>
0011
0012 description: |
0013 This device can be used as bridge between a host controller and LCD panels.
0014 Currently supported LCDs are:
0015 - LCD-OLinuXino-4.3TS
0016 - LCD-OLinuXino-5
0017 - LCD-OLinuXino-7
0018 - LCD-OLinuXino-10
0019
0020 The panel itself contains:
0021 - AT24C16C EEPROM holding panel identification and timing requirements
0022 - AR1021 resistive touch screen controller (optional)
0023 - FT5x6 capacitive touch screnn controller (optional)
0024 - GT911/GT928 capacitive touch screen controller (optional)
0025
0026 The above chips share same I2C bus. The EEPROM is factory preprogrammed with
0027 device information (id, serial, etc.) and timing requirements.
0028
0029 Touchscreen bingings can be found in these files:
0030 - input/touchscreen/goodix.yaml
0031 - input/touchscreen/edt-ft5x06.txt
0032 - input/touchscreen/ar1021.txt
0033
0034 allOf:
0035 - $ref: panel-common.yaml#
0036
0037 properties:
0038 compatible:
0039 const: olimex,lcd-olinuxino
0040
0041 backlight: true
0042 enable-gpios: true
0043 power-supply: true
0044 reg: true
0045
0046 required:
0047 - compatible
0048 - reg
0049 - power-supply
0050
0051 additionalProperties: false
0052
0053 examples:
0054 - |
0055 #include <dt-bindings/gpio/gpio.h>
0056
0057 i2c {
0058 #address-cells = <1>;
0059 #size-cells = <0>;
0060
0061 panel@50 {
0062 compatible = "olimex,lcd-olinuxino";
0063 reg = <0x50>;
0064 power-supply = <®_vcc5v0>;
0065 enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>;
0066 backlight = <&backlight>;
0067 };
0068 };
0069
0070 ...