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/panel-simple-dsi.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Simple DSI panels with a single power-supply
8
9maintainers:
10  - Thierry Reding <thierry.reding@gmail.com>
11  - Sam Ravnborg <sam@ravnborg.org>
12
13description: |
14  This binding file is a collection of the DSI panels that
15  requires only a single power-supply.
16  There are optionally a backlight and an enable GPIO.
17  The panel may use an OF graph binding for the association to the display,
18  or it may be a direct child node of the display.
19
20  If the panel is more advanced a dedicated binding file is required.
21
22properties:
23
24  compatible:
25    enum:
26      # compatible must be listed in alphabetical order, ordered by compatible.
27      # The description in the comment is mandatory for each compatible.
28
29        # AU Optronics Corporation 8.0" WUXGA TFT LCD panel
30      - auo,b080uan01
31        # Boe Corporation 8.0" WUXGA TFT LCD panel
32      - boe,tv080wum-nl0
33        # Innolux P079ZCA 7.85" 768x1024 TFT LCD panel
34      - innolux,p079zca
35        # JDI FHD_R63452 1080x1920 5.2" IPS LCD Panel
36      - jdi,fhd-r63452
37        # Khadas TS050 5" 1080x1920 LCD panel
38      - khadas,ts050
39        # Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel
40      - kingdisplay,kd097d04
41        # LG ACX467AKM-7 4.95" 1080×1920 LCD Panel
42      - lg,acx467akm-7
43        # LG Corporation 7" WXGA TFT LCD panel
44      - lg,ld070wx3-sl01
45        # One Stop Displays OSD101T2587-53TS 10.1" 1920x1200 panel
46      - osddisplays,osd101t2587-53ts
47        # Panasonic 10" WUXGA TFT LCD panel
48      - panasonic,vvx10f004b00
49        # Panasonic 10" WUXGA TFT LCD panel
50      - panasonic,vvx10f034n00
51        # Samsung s6e3fc2x01 1080x2340 AMOLED panel
52      - samsung,s6e3fc2x01
53        # Samsung sofef00 1080x2280 AMOLED panel
54      - samsung,sofef00
55        # Shangai Top Display Optoelectronics 7" TL070WSH30 1024x600 TFT LCD panel
56      - tdo,tl070wsh30
57
58  reg:
59    maxItems: 1
60    description: DSI virtual channel
61
62  backlight: true
63  enable-gpios: true
64  reset-gpios: true
65  port: true
66  power-supply: true
67  vddio-supply: true
68
69allOf:
70  - $ref: panel-common.yaml#
71  - if:
72      properties:
73        compatible:
74          enum:
75            - samsung,s6e3fc2x01
76            - samsung,sofef00
77    then:
78      properties:
79        power-supply: false
80      required:
81        - vddio-supply
82    else:
83      properties:
84        vddio-supply: false
85      required:
86        - power-supply
87
88additionalProperties: false
89
90required:
91  - compatible
92  - reg
93
94examples:
95  - |
96    dsi {
97      #address-cells = <1>;
98      #size-cells = <0>;
99      panel@0 {
100        compatible = "panasonic,vvx10f034n00";
101        reg = <0>;
102        power-supply = <&vcc_lcd_reg>;
103
104        port {
105          panel: endpoint {
106            remote-endpoint = <&ltdc_out>;
107          };
108        };
109      };
110    };
111