1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/display/panel/sitronix,st7701.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Sitronix ST7701 based LCD panels 8 9maintainers: 10 - Jagan Teki <jagan@amarulasolutions.com> 11 12description: | 13 ST7701 designed for small and medium sizes of TFT LCD display, is 14 capable of supporting up to 480RGBX864 in resolution. It provides 15 several system interfaces like MIPI/RGB/SPI. 16 17 Techstar TS8550B is 480x854, 2-lane MIPI DSI LCD panel which has 18 inbuilt ST7701 chip. 19 20 Densitron DMT028VGHMCMI-1A is 480x640, 2-lane MIPI DSI LCD panel 21 which has built-in ST7701 chip. 22 23allOf: 24 - $ref: panel-common.yaml# 25 26properties: 27 compatible: 28 items: 29 - enum: 30 - densitron,dmt028vghmcmi-1a 31 - elida,kd50t048a 32 - techstar,ts8550b 33 - const: sitronix,st7701 34 35 reg: 36 description: DSI virtual channel used by that screen 37 maxItems: 1 38 39 VCC-supply: 40 description: analog regulator for MIPI circuit 41 42 IOVCC-supply: 43 description: I/O system regulator 44 45 reset-gpios: true 46 47 backlight: true 48 49required: 50 - compatible 51 - reg 52 - VCC-supply 53 - IOVCC-supply 54 - reset-gpios 55 56additionalProperties: false 57 58examples: 59 - | 60 #include <dt-bindings/gpio/gpio.h> 61 62 dsi { 63 #address-cells = <1>; 64 #size-cells = <0>; 65 66 panel@0 { 67 compatible = "techstar,ts8550b", "sitronix,st7701"; 68 reg = <0>; 69 VCC-supply = <®_dldo2>; 70 IOVCC-supply = <®_dldo2>; 71 reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ 72 backlight = <&backlight>; 73 }; 74 }; 75