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