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