sitronix,st7701.yaml (1531B)
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 20allOf: 21 - $ref: panel-common.yaml# 22 23properties: 24 compatible: 25 items: 26 - enum: 27 - techstar,ts8550b 28 - const: sitronix,st7701 29 30 reg: 31 description: DSI virtual channel used by that screen 32 maxItems: 1 33 34 VCC-supply: 35 description: analog regulator for MIPI circuit 36 37 IOVCC-supply: 38 description: I/O system regulator 39 40 reset-gpios: true 41 42 backlight: true 43 44required: 45 - compatible 46 - reg 47 - VCC-supply 48 - IOVCC-supply 49 - reset-gpios 50 51additionalProperties: false 52 53examples: 54 - | 55 #include <dt-bindings/gpio/gpio.h> 56 57 dsi { 58 #address-cells = <1>; 59 #size-cells = <0>; 60 61 panel@0 { 62 compatible = "techstar,ts8550b", "sitronix,st7701"; 63 reg = <0>; 64 VCC-supply = <®_dldo2>; 65 IOVCC-supply = <®_dldo2>; 66 reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */ 67 backlight = <&backlight>; 68 }; 69 };