18b9e7aceSSam Ravnborg# SPDX-License-Identifier: GPL-2.0 28b9e7aceSSam Ravnborg%YAML 1.2 38b9e7aceSSam Ravnborg--- 48b9e7aceSSam Ravnborg$id: http://devicetree.org/schemas/display/panel/olimex,lcd-olinuxino.yaml# 58b9e7aceSSam Ravnborg$schema: http://devicetree.org/meta-schemas/core.yaml# 68b9e7aceSSam Ravnborg 79d69d47fSKrzysztof Kozlowskititle: Olimex Ltd. LCD-OLinuXino bridge panel. 88b9e7aceSSam Ravnborg 98b9e7aceSSam Ravnborgmaintainers: 108b9e7aceSSam Ravnborg - Stefan Mavrodiev <stefan@olimex.com> 118b9e7aceSSam Ravnborg 128b9e7aceSSam Ravnborgdescription: | 138b9e7aceSSam Ravnborg This device can be used as bridge between a host controller and LCD panels. 148b9e7aceSSam Ravnborg Currently supported LCDs are: 158b9e7aceSSam Ravnborg - LCD-OLinuXino-4.3TS 168b9e7aceSSam Ravnborg - LCD-OLinuXino-5 178b9e7aceSSam Ravnborg - LCD-OLinuXino-7 188b9e7aceSSam Ravnborg - LCD-OLinuXino-10 198b9e7aceSSam Ravnborg 208b9e7aceSSam Ravnborg The panel itself contains: 218b9e7aceSSam Ravnborg - AT24C16C EEPROM holding panel identification and timing requirements 228b9e7aceSSam Ravnborg - AR1021 resistive touch screen controller (optional) 2347aab533SBjorn Helgaas - FT5x6 capacitive touch screen controller (optional) 248b9e7aceSSam Ravnborg - GT911/GT928 capacitive touch screen controller (optional) 258b9e7aceSSam Ravnborg 268b9e7aceSSam Ravnborg The above chips share same I2C bus. The EEPROM is factory preprogrammed with 278b9e7aceSSam Ravnborg device information (id, serial, etc.) and timing requirements. 288b9e7aceSSam Ravnborg 298b9e7aceSSam Ravnborg Touchscreen bingings can be found in these files: 308b9e7aceSSam Ravnborg - input/touchscreen/goodix.yaml 318b9e7aceSSam Ravnborg - input/touchscreen/edt-ft5x06.txt 328b9e7aceSSam Ravnborg - input/touchscreen/ar1021.txt 338b9e7aceSSam Ravnborg 348b9e7aceSSam RavnborgallOf: 358b9e7aceSSam Ravnborg - $ref: panel-common.yaml# 368b9e7aceSSam Ravnborg 378b9e7aceSSam Ravnborgproperties: 388b9e7aceSSam Ravnborg compatible: 398b9e7aceSSam Ravnborg const: olimex,lcd-olinuxino 408b9e7aceSSam Ravnborg 41*9fa6bcf2SKrzysztof Kozlowski reg: 42*9fa6bcf2SKrzysztof Kozlowski maxItems: 1 43*9fa6bcf2SKrzysztof Kozlowski 448b9e7aceSSam Ravnborg backlight: true 458b9e7aceSSam Ravnborg enable-gpios: true 468b9e7aceSSam Ravnborg power-supply: true 478b9e7aceSSam Ravnborg 488b9e7aceSSam Ravnborgrequired: 498b9e7aceSSam Ravnborg - compatible 508b9e7aceSSam Ravnborg - reg 518b9e7aceSSam Ravnborg - power-supply 528b9e7aceSSam Ravnborg 538b9e7aceSSam RavnborgadditionalProperties: false 548b9e7aceSSam Ravnborg 558b9e7aceSSam Ravnborgexamples: 568b9e7aceSSam Ravnborg - | 578b9e7aceSSam Ravnborg #include <dt-bindings/gpio/gpio.h> 588b9e7aceSSam Ravnborg 598b9e7aceSSam Ravnborg i2c { 608b9e7aceSSam Ravnborg #address-cells = <1>; 618b9e7aceSSam Ravnborg #size-cells = <0>; 628b9e7aceSSam Ravnborg 638b9e7aceSSam Ravnborg panel@50 { 648b9e7aceSSam Ravnborg compatible = "olimex,lcd-olinuxino"; 658b9e7aceSSam Ravnborg reg = <0x50>; 668b9e7aceSSam Ravnborg power-supply = <®_vcc5v0>; 678b9e7aceSSam Ravnborg enable-gpios = <&pio 7 8 GPIO_ACTIVE_HIGH>; 688b9e7aceSSam Ravnborg backlight = <&backlight>; 698b9e7aceSSam Ravnborg }; 708b9e7aceSSam Ravnborg }; 718b9e7aceSSam Ravnborg 728b9e7aceSSam Ravnborg... 73