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