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          - techstar,ts8550b
32      - const: sitronix,st7701
33
34  reg:
35    description: DSI virtual channel used by that screen
36    maxItems: 1
37
38  VCC-supply:
39    description: analog regulator for MIPI circuit
40
41  IOVCC-supply:
42    description: I/O system regulator
43
44  reset-gpios: true
45
46  backlight: true
47
48required:
49  - compatible
50  - reg
51  - VCC-supply
52  - IOVCC-supply
53  - reset-gpios
54
55additionalProperties: false
56
57examples:
58  - |
59    #include <dt-bindings/gpio/gpio.h>
60
61    dsi {
62        #address-cells = <1>;
63        #size-cells = <0>;
64
65        panel@0 {
66            compatible = "techstar,ts8550b", "sitronix,st7701";
67            reg = <0>;
68            VCC-supply = <&reg_dldo2>;
69            IOVCC-supply = <&reg_dldo2>;
70            reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
71            backlight = <&backlight>;
72        };
73    };
74