xref: /linux/Documentation/devicetree/bindings/display/panel/panel-simple-dsi.yaml (revision 90d32e92011eaae8e70a9169b4e7acf4ca8f9d3a)
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        # Khadas TS050 V2 5" 1080x1920 LCD panel
40      - khadas,ts050v2
41        # Kingdisplay KD097D04 9.7" 1536x2048 TFT LCD panel
42      - kingdisplay,kd097d04
43        # LG ACX467AKM-7 4.95" 1080×1920 LCD Panel
44      - lg,acx467akm-7
45        # LG Corporation 7" WXGA TFT LCD panel
46      - lg,ld070wx3-sl01
47        # LG Corporation 5" HD TFT LCD panel
48      - lg,lh500wx1-sd03
49        # One Stop Displays OSD101T2587-53TS 10.1" 1920x1200 panel
50      - osddisplays,osd101t2587-53ts
51        # Panasonic 10" WUXGA TFT LCD panel
52      - panasonic,vvx10f004b00
53        # Panasonic 10" WUXGA TFT LCD panel
54      - panasonic,vvx10f034n00
55        # Samsung s6e3fa7 1080x2220 based AMS559NK06 AMOLED panel
56      - samsung,s6e3fa7-ams559nk06
57        # Samsung s6e3fc2x01 1080x2340 AMOLED panel
58      - samsung,s6e3fc2x01
59        # Samsung sofef00 1080x2280 AMOLED panel
60      - samsung,sofef00
61        # Shangai Top Display Optoelectronics 7" TL070WSH30 1024x600 TFT LCD panel
62      - tdo,tl070wsh30
63
64  reg:
65    maxItems: 1
66    description: DSI virtual channel
67
68  backlight: true
69  enable-gpios: true
70  reset-gpios: true
71  port: true
72  power-supply: true
73  vddio-supply: true
74
75allOf:
76  - $ref: panel-common.yaml#
77  - if:
78      properties:
79        compatible:
80          enum:
81            - samsung,s6e3fc2x01
82            - samsung,sofef00
83    then:
84      properties:
85        power-supply: false
86      required:
87        - vddio-supply
88    else:
89      properties:
90        vddio-supply: false
91      required:
92        - power-supply
93
94additionalProperties: false
95
96required:
97  - compatible
98  - reg
99
100examples:
101  - |
102    dsi {
103      #address-cells = <1>;
104      #size-cells = <0>;
105      panel@0 {
106        compatible = "panasonic,vvx10f034n00";
107        reg = <0>;
108        power-supply = <&vcc_lcd_reg>;
109
110        port {
111          panel: endpoint {
112            remote-endpoint = <&ltdc_out>;
113          };
114        };
115      };
116    };
117