xref: /src/sys/contrib/device-tree/Bindings/display/panel/panel-simple-lvds-dual-ports.yaml (revision bc531a96c9b28b1cabcd5deb0c9f8f6d815cfebc)
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-lvds-dual-ports.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Simple LVDS panels with one power supply and dual LVDS ports
8
9maintainers:
10  - Liu Ying <victor.liu@nxp.com>
11  - Thierry Reding <thierry.reding@gmail.com>
12  - Sam Ravnborg <sam@ravnborg.org>
13
14description: |
15  This binding file is a collection of the LVDS panels that
16  has dual LVDS ports and requires only a single power-supply.
17  The first port receives odd pixels, and the second port receives even pixels.
18  There are optionally a backlight and an enable GPIO.
19  The panel may use an OF graph binding for the association to the display,
20  or it may be a direct child node of the display.
21
22  If the panel is more advanced a dedicated binding file is required.
23
24allOf:
25  - $ref: /schemas/display/lvds-dual-ports.yaml#
26  - $ref: panel-common.yaml#
27
28properties:
29
30  compatible:
31    enum:
32    # compatible must be listed in alphabetical order, ordered by compatible.
33    # The description in the comment is mandatory for each compatible.
34
35        # AU Optronics Corporation 13.3" FHD (1920x1080) TFT LCD panel
36      - auo,g133han01
37        # AU Optronics Corporation 15.6" FHD (1920x1080) TFT LCD panel
38      - auo,g156han04
39        # AU Optronics Corporation 18.5" FHD (1920x1080) TFT LCD panel
40      - auo,g185han01
41        # AU Optronics Corporation 19.0" (1280x1024) TFT LCD panel
42      - auo,g190ean01
43        # BOE AV123Z7M-N17 12.3" (1920x720) LVDS TFT LCD panel
44      - boe,av123z7m-n17
45        # Kaohsiung Opto-Electronics Inc. 10.1" WUXGA (1920 x 1200) LVDS TFT LCD panel
46      - koe,tx26d202vm0bwa
47        # Lincoln Technology Solutions, LCD185-101CT 10.1" TFT 1920x1200
48      - lincolntech,lcd185-101ct
49        # Microtips Technology MF-101HIEBCAF0 10.1" WUXGA (1920x1200) TFT LCD panel
50      - microtips,mf-101hiebcaf0
51        # Microtips Technology MF-103HIEB0GA0 10.25" 1920x720 TFT LCD panel
52      - microtips,mf-103hieb0ga0
53        # NLT Technologies, Ltd. 15.6" FHD (1920x1080) LVDS TFT LCD panel
54      - nlt,nl192108ac18-02d
55
56  ports:
57    $ref: /schemas/graph.yaml#/properties/ports
58
59    properties:
60      port@0:
61        required:
62          - dual-lvds-odd-pixels
63
64      port@1:
65        required:
66          - dual-lvds-even-pixels
67
68    required:
69      - port@0
70      - port@1
71
72unevaluatedProperties: false
73
74required:
75  - compatible
76  - power-supply
77
78examples:
79  - |
80    panel: panel-lvds {
81      compatible = "koe,tx26d202vm0bwa";
82      power-supply = <&vdd_lcd_reg>;
83
84      ports {
85        #address-cells = <1>;
86        #size-cells = <0>;
87
88        port@0 {
89          dual-lvds-odd-pixels;
90          reg = <0>;
91
92          panel_lvds0_in: endpoint {
93            remote-endpoint = <&lvds0_out>;
94          };
95        };
96
97        port@1 {
98          dual-lvds-even-pixels;
99          reg = <1>;
100
101          panel_lvds1_in: endpoint {
102            remote-endpoint = <&lvds1_out>;
103          };
104        };
105      };
106    };
107