xref: /linux/Documentation/devicetree/bindings/display/panel/panel-simple-lvds-dual-ports.yaml (revision 62597edf6340191511bdf9a7f64fa315ddc58805)
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
87  backlight: true
88  enable-gpios: true
89  power-supply: true
90
91additionalProperties: false
92
93required:
94  - compatible
95  - ports
96  - power-supply
97
98examples:
99  - |
100    panel: panel-lvds {
101      compatible = "koe,tx26d202vm0bwa";
102      power-supply = <&vdd_lcd_reg>;
103
104      ports {
105        #address-cells = <1>;
106        #size-cells = <0>;
107
108        port@0 {
109          dual-lvds-odd-pixels;
110          reg = <0>;
111
112          panel_lvds0_in: endpoint {
113            remote-endpoint = <&lvds0_out>;
114          };
115        };
116
117        port@1 {
118          dual-lvds-even-pixels;
119          reg = <1>;
120
121          panel_lvds1_in: endpoint {
122            remote-endpoint = <&lvds1_out>;
123          };
124        };
125      };
126    };
127