xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/sitronix,st7701.yaml (revision a90b9d0159070121c221b966469c3e36d912bf82)
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          - anbernic,rg-arc-panel
31          - densitron,dmt028vghmcmi-1a
32          - elida,kd50t048a
33          - techstar,ts8550b
34      - const: sitronix,st7701
35
36  reg:
37    description: DSI virtual channel used by that screen
38    maxItems: 1
39
40  VCC-supply:
41    description: analog regulator for MIPI circuit
42
43  IOVCC-supply:
44    description: I/O system regulator
45
46  port: true
47  reset-gpios: true
48  rotation: true
49
50  backlight: true
51
52required:
53  - compatible
54  - reg
55  - VCC-supply
56  - IOVCC-supply
57  - port
58  - reset-gpios
59
60additionalProperties: false
61
62examples:
63  - |
64    #include <dt-bindings/gpio/gpio.h>
65
66    dsi {
67        #address-cells = <1>;
68        #size-cells = <0>;
69
70        panel@0 {
71            compatible = "techstar,ts8550b", "sitronix,st7701";
72            reg = <0>;
73            VCC-supply = <&reg_dldo2>;
74            IOVCC-supply = <&reg_dldo2>;
75            reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* LCD-RST: PD24 */
76            backlight = <&backlight>;
77
78            port {
79                mipi_in_panel: endpoint {
80                    remote-endpoint = <&mipi_out_panel>;
81                };
82            };
83        };
84    };
85