xref: /linux/Documentation/devicetree/bindings/display/panel/panel-simple-lvds-dual-ports.yaml (revision 06a130e42a5bfc84795464bff023bff4c16f58c5)
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: panel-common.yaml#
26
27properties:
28
29  compatible:
30    enum:
31    # compatible must be listed in alphabetical order, ordered by compatible.
32    # The description in the comment is mandatory for each compatible.
33
34        # AU Optronics Corporation 13.3" FHD (1920x1080) TFT LCD panel
35      - auo,g133han01
36        # AU Optronics Corporation 15.6" FHD (1920x1080) TFT LCD panel
37      - auo,g156han04
38        # AU Optronics Corporation 18.5" FHD (1920x1080) TFT LCD panel
39      - auo,g185han01
40        # AU Optronics Corporation 19.0" (1280x1024) TFT LCD panel
41      - auo,g190ean01
42        # Kaohsiung Opto-Electronics Inc. 10.1" WUXGA (1920 x 1200) LVDS TFT LCD panel
43      - koe,tx26d202vm0bwa
44        # Lincoln Technology Solutions, LCD185-101CT 10.1" TFT 1920x1200
45      - lincolntech,lcd185-101ct
46        # Microtips Technology MF-101HIEBCAF0 10.1" WUXGA (1920x1200) TFT LCD panel
47      - microtips,mf-101hiebcaf0
48        # Microtips Technology MF-103HIEB0GA0 10.25" 1920x720 TFT LCD panel
49      - microtips,mf-103hieb0ga0
50        # NLT Technologies, Ltd. 15.6" FHD (1920x1080) LVDS TFT LCD panel
51      - nlt,nl192108ac18-02d
52
53  ports:
54    $ref: /schemas/graph.yaml#/properties/ports
55
56    properties:
57      port@0:
58        $ref: /schemas/graph.yaml#/$defs/port-base
59        unevaluatedProperties: false
60        description: The first sink port.
61
62        properties:
63          dual-lvds-odd-pixels:
64            type: boolean
65            description: The first sink port for odd pixels.
66
67        required:
68          - dual-lvds-odd-pixels
69
70      port@1:
71        $ref: /schemas/graph.yaml#/$defs/port-base
72        unevaluatedProperties: false
73        description: The second sink port.
74
75        properties:
76          dual-lvds-even-pixels:
77            type: boolean
78            description: The second sink port for even pixels.
79
80        required:
81          - dual-lvds-even-pixels
82
83    required:
84      - port@0
85      - port@1
86
87unevaluatedProperties: false
88
89required:
90  - compatible
91  - ports
92  - power-supply
93
94examples:
95  - |
96    panel: panel-lvds {
97      compatible = "koe,tx26d202vm0bwa";
98      power-supply = <&vdd_lcd_reg>;
99
100      ports {
101        #address-cells = <1>;
102        #size-cells = <0>;
103
104        port@0 {
105          dual-lvds-odd-pixels;
106          reg = <0>;
107
108          panel_lvds0_in: endpoint {
109            remote-endpoint = <&lvds0_out>;
110          };
111        };
112
113        port@1 {
114          dual-lvds-even-pixels;
115          reg = <1>;
116
117          panel_lvds1_in: endpoint {
118            remote-endpoint = <&lvds1_out>;
119          };
120        };
121      };
122    };
123