xref: /freebsd/sys/contrib/device-tree/Bindings/display/panel/panel-simple-lvds-dual-ports.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
184943d6fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
284943d6fSEmmanuel Vadot%YAML 1.2
384943d6fSEmmanuel Vadot---
484943d6fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/panel/panel-simple-lvds-dual-ports.yaml#
584943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
684943d6fSEmmanuel Vadot
784943d6fSEmmanuel Vadottitle: Simple LVDS panels with one power supply and dual LVDS ports
884943d6fSEmmanuel Vadot
984943d6fSEmmanuel Vadotmaintainers:
1084943d6fSEmmanuel Vadot  - Liu Ying <victor.liu@nxp.com>
1184943d6fSEmmanuel Vadot  - Thierry Reding <thierry.reding@gmail.com>
1284943d6fSEmmanuel Vadot  - Sam Ravnborg <sam@ravnborg.org>
1384943d6fSEmmanuel Vadot
1484943d6fSEmmanuel Vadotdescription: |
1584943d6fSEmmanuel Vadot  This binding file is a collection of the LVDS panels that
1684943d6fSEmmanuel Vadot  has dual LVDS ports and requires only a single power-supply.
1784943d6fSEmmanuel Vadot  The first port receives odd pixels, and the second port receives even pixels.
1884943d6fSEmmanuel Vadot  There are optionally a backlight and an enable GPIO.
1984943d6fSEmmanuel Vadot  The panel may use an OF graph binding for the association to the display,
2084943d6fSEmmanuel Vadot  or it may be a direct child node of the display.
2184943d6fSEmmanuel Vadot
2284943d6fSEmmanuel Vadot  If the panel is more advanced a dedicated binding file is required.
2384943d6fSEmmanuel Vadot
2484943d6fSEmmanuel VadotallOf:
2584943d6fSEmmanuel Vadot  - $ref: panel-common.yaml#
2684943d6fSEmmanuel Vadot
2784943d6fSEmmanuel Vadotproperties:
2884943d6fSEmmanuel Vadot
2984943d6fSEmmanuel Vadot  compatible:
3084943d6fSEmmanuel Vadot    enum:
3184943d6fSEmmanuel Vadot    # compatible must be listed in alphabetical order, ordered by compatible.
3284943d6fSEmmanuel Vadot    # The description in the comment is mandatory for each compatible.
3384943d6fSEmmanuel Vadot
3484943d6fSEmmanuel Vadot        # AU Optronics Corporation 13.3" FHD (1920x1080) TFT LCD panel
3584943d6fSEmmanuel Vadot      - auo,g133han01
368d13bc63SEmmanuel Vadot        # AU Optronics Corporation 15.6" FHD (1920x1080) TFT LCD panel
378d13bc63SEmmanuel Vadot      - auo,g156han04
3884943d6fSEmmanuel Vadot        # AU Optronics Corporation 18.5" FHD (1920x1080) TFT LCD panel
3984943d6fSEmmanuel Vadot      - auo,g185han01
4084943d6fSEmmanuel Vadot        # AU Optronics Corporation 19.0" (1280x1024) TFT LCD panel
4184943d6fSEmmanuel Vadot      - auo,g190ean01
4284943d6fSEmmanuel Vadot        # Kaohsiung Opto-Electronics Inc. 10.1" WUXGA (1920 x 1200) LVDS TFT LCD panel
4384943d6fSEmmanuel Vadot      - koe,tx26d202vm0bwa
440e8011faSEmmanuel Vadot        # Lincoln Technology Solutions, LCD185-101CT 10.1" TFT 1920x1200
450e8011faSEmmanuel Vadot      - lincolntech,lcd185-101ct
460e8011faSEmmanuel Vadot        # Microtips Technology MF-101HIEBCAF0 10.1" WUXGA (1920x1200) TFT LCD panel
470e8011faSEmmanuel Vadot      - microtips,mf-101hiebcaf0
480e8011faSEmmanuel Vadot        # Microtips Technology MF-103HIEB0GA0 10.25" 1920x720 TFT LCD panel
490e8011faSEmmanuel Vadot      - microtips,mf-103hieb0ga0
5084943d6fSEmmanuel Vadot        # NLT Technologies, Ltd. 15.6" FHD (1920x1080) LVDS TFT LCD panel
5184943d6fSEmmanuel Vadot      - nlt,nl192108ac18-02d
5284943d6fSEmmanuel Vadot
5384943d6fSEmmanuel Vadot  ports:
5484943d6fSEmmanuel Vadot    $ref: /schemas/graph.yaml#/properties/ports
5584943d6fSEmmanuel Vadot
5684943d6fSEmmanuel Vadot    properties:
5784943d6fSEmmanuel Vadot      port@0:
5884943d6fSEmmanuel Vadot        $ref: /schemas/graph.yaml#/$defs/port-base
5984943d6fSEmmanuel Vadot        unevaluatedProperties: false
6084943d6fSEmmanuel Vadot        description: The first sink port.
6184943d6fSEmmanuel Vadot
6284943d6fSEmmanuel Vadot        properties:
6384943d6fSEmmanuel Vadot          dual-lvds-odd-pixels:
6484943d6fSEmmanuel Vadot            type: boolean
6584943d6fSEmmanuel Vadot            description: The first sink port for odd pixels.
6684943d6fSEmmanuel Vadot
6784943d6fSEmmanuel Vadot        required:
6884943d6fSEmmanuel Vadot          - dual-lvds-odd-pixels
6984943d6fSEmmanuel Vadot
7084943d6fSEmmanuel Vadot      port@1:
7184943d6fSEmmanuel Vadot        $ref: /schemas/graph.yaml#/$defs/port-base
7284943d6fSEmmanuel Vadot        unevaluatedProperties: false
7384943d6fSEmmanuel Vadot        description: The second sink port.
7484943d6fSEmmanuel Vadot
7584943d6fSEmmanuel Vadot        properties:
7684943d6fSEmmanuel Vadot          dual-lvds-even-pixels:
7784943d6fSEmmanuel Vadot            type: boolean
7884943d6fSEmmanuel Vadot            description: The second sink port for even pixels.
7984943d6fSEmmanuel Vadot
8084943d6fSEmmanuel Vadot        required:
8184943d6fSEmmanuel Vadot          - dual-lvds-even-pixels
8284943d6fSEmmanuel Vadot
8384943d6fSEmmanuel Vadot    required:
8484943d6fSEmmanuel Vadot      - port@0
8584943d6fSEmmanuel Vadot      - port@1
8684943d6fSEmmanuel Vadot
87*b2d2a78aSEmmanuel VadotunevaluatedProperties: false
8884943d6fSEmmanuel Vadot
8984943d6fSEmmanuel Vadotrequired:
9084943d6fSEmmanuel Vadot  - compatible
9184943d6fSEmmanuel Vadot  - ports
9284943d6fSEmmanuel Vadot  - power-supply
9384943d6fSEmmanuel Vadot
9484943d6fSEmmanuel Vadotexamples:
9584943d6fSEmmanuel Vadot  - |
9684943d6fSEmmanuel Vadot    panel: panel-lvds {
9784943d6fSEmmanuel Vadot      compatible = "koe,tx26d202vm0bwa";
9884943d6fSEmmanuel Vadot      power-supply = <&vdd_lcd_reg>;
9984943d6fSEmmanuel Vadot
10084943d6fSEmmanuel Vadot      ports {
10184943d6fSEmmanuel Vadot        #address-cells = <1>;
10284943d6fSEmmanuel Vadot        #size-cells = <0>;
10384943d6fSEmmanuel Vadot
10484943d6fSEmmanuel Vadot        port@0 {
10584943d6fSEmmanuel Vadot          dual-lvds-odd-pixels;
10684943d6fSEmmanuel Vadot          reg = <0>;
10784943d6fSEmmanuel Vadot
10884943d6fSEmmanuel Vadot          panel_lvds0_in: endpoint {
10984943d6fSEmmanuel Vadot            remote-endpoint = <&lvds0_out>;
11084943d6fSEmmanuel Vadot          };
11184943d6fSEmmanuel Vadot        };
11284943d6fSEmmanuel Vadot
11384943d6fSEmmanuel Vadot        port@1 {
11484943d6fSEmmanuel Vadot          dual-lvds-even-pixels;
11584943d6fSEmmanuel Vadot          reg = <1>;
11684943d6fSEmmanuel Vadot
11784943d6fSEmmanuel Vadot          panel_lvds1_in: endpoint {
11884943d6fSEmmanuel Vadot            remote-endpoint = <&lvds1_out>;
11984943d6fSEmmanuel Vadot          };
12084943d6fSEmmanuel Vadot        };
12184943d6fSEmmanuel Vadot      };
12284943d6fSEmmanuel Vadot    };
123