1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/olimex,lcd-olinuxino.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Olimex Ltd. LCD-OLinuXino bridge panel. 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Stefan Mavrodiev <stefan@olimex.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: | 13c66ec88fSEmmanuel Vadot This device can be used as bridge between a host controller and LCD panels. 14c66ec88fSEmmanuel Vadot Currently supported LCDs are: 15c66ec88fSEmmanuel Vadot - LCD-OLinuXino-4.3TS 16c66ec88fSEmmanuel Vadot - LCD-OLinuXino-5 17c66ec88fSEmmanuel Vadot - LCD-OLinuXino-7 18c66ec88fSEmmanuel Vadot - LCD-OLinuXino-10 19c66ec88fSEmmanuel Vadot 20c66ec88fSEmmanuel Vadot The panel itself contains: 21c66ec88fSEmmanuel Vadot - AT24C16C EEPROM holding panel identification and timing requirements 22c66ec88fSEmmanuel Vadot - AR1021 resistive touch screen controller (optional) 23aa1a8ff2SEmmanuel Vadot - FT5x6 capacitive touch screen controller (optional) 24c66ec88fSEmmanuel Vadot - GT911/GT928 capacitive touch screen controller (optional) 25c66ec88fSEmmanuel Vadot 26c66ec88fSEmmanuel Vadot The above chips share same I2C bus. The EEPROM is factory preprogrammed with 27c66ec88fSEmmanuel Vadot device information (id, serial, etc.) and timing requirements. 28c66ec88fSEmmanuel Vadot 29c66ec88fSEmmanuel Vadot Touchscreen bingings can be found in these files: 30c66ec88fSEmmanuel Vadot - input/touchscreen/goodix.yaml 31c66ec88fSEmmanuel Vadot - input/touchscreen/edt-ft5x06.txt 32c66ec88fSEmmanuel Vadot - input/touchscreen/ar1021.txt 33c66ec88fSEmmanuel Vadot 34c66ec88fSEmmanuel VadotallOf: 35c66ec88fSEmmanuel Vadot - $ref: panel-common.yaml# 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel Vadotproperties: 38c66ec88fSEmmanuel Vadot compatible: 39c66ec88fSEmmanuel Vadot const: olimex,lcd-olinuxino 40c66ec88fSEmmanuel Vadot 41*7d0873ebSEmmanuel Vadot reg: 42*7d0873ebSEmmanuel Vadot maxItems: 1 43*7d0873ebSEmmanuel Vadot 44c66ec88fSEmmanuel Vadot backlight: true 45c66ec88fSEmmanuel Vadot enable-gpios: true 46c66ec88fSEmmanuel Vadot power-supply: true 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadotrequired: 49c66ec88fSEmmanuel Vadot - compatible 50c66ec88fSEmmanuel Vadot - reg 51c66ec88fSEmmanuel Vadot - power-supply 52c66ec88fSEmmanuel Vadot 53c66ec88fSEmmanuel VadotadditionalProperties: false 54c66ec88fSEmmanuel Vadot 55c66ec88fSEmmanuel Vadotexamples: 56c66ec88fSEmmanuel Vadot - | 57c66ec88fSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 58c66ec88fSEmmanuel Vadot 59c66ec88fSEmmanuel Vadot i2c { 60c66ec88fSEmmanuel Vadot #address-cells = <1>; 61c66ec88fSEmmanuel Vadot #size-cells = <0>; 62c66ec88fSEmmanuel Vadot 63c66ec88fSEmmanuel Vadot panel@50 { 64c66ec88fSEmmanuel Vadot compatible = "olimex,lcd-olinuxino"; 65c66ec88fSEmmanuel Vadot reg = <0x50>; 66c66ec88fSEmmanuel Vadot power-supply = <®_vcc5v0>; 67c66ec88fSEmmanuel Vadot enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; 68c66ec88fSEmmanuel Vadot backlight = <&backlight>; 69c66ec88fSEmmanuel Vadot }; 70c66ec88fSEmmanuel Vadot }; 71c66ec88fSEmmanuel Vadot 72c66ec88fSEmmanuel Vadot... 73