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 port: true 46 reset-gpios: true 47 rotation: true 48 49 backlight: true 50 51required: 52 - compatible 53 - reg 54 - VCC-supply 55 - IOVCC-supply 56 - port 57 - reset-gpios 58 59additionalProperties: false 60 61examples: 62 - | 63 #include <dt-bindings/gpio/gpio.h> 64 65 dsi { 66 #address-cells = <1>; 67 #size-cells = <0>; 68 69 panel@0 { 70 compatible = "techstar,ts8550b", "sitronix,st7701"; 71 reg = <0>; 72 VCC-supply = <®_dldo2>; 73 IOVCC-supply = <®_dldo2>; 74 reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ 75 backlight = <&backlight>; 76 77 port { 78 mipi_in_panel: endpoint { 79 remote-endpoint = <&mipi_out_panel>; 80 }; 81 }; 82 }; 83 }; 84