brintos

brintos / linux-shallow public Read only

0
0
Text · 3.4 KiB · 10ed4b5 Raw
123 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 ports8 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 that16  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 panel35      - auo,g133han0136        # AU Optronics Corporation 15.6" FHD (1920x1080) TFT LCD panel37      - auo,g156han0438        # AU Optronics Corporation 18.5" FHD (1920x1080) TFT LCD panel39      - auo,g185han0140        # AU Optronics Corporation 19.0" (1280x1024) TFT LCD panel41      - auo,g190ean0142        # Kaohsiung Opto-Electronics Inc. 10.1" WUXGA (1920 x 1200) LVDS TFT LCD panel43      - koe,tx26d202vm0bwa44        # Lincoln Technology Solutions, LCD185-101CT 10.1" TFT 1920x120045      - lincolntech,lcd185-101ct46        # Microtips Technology MF-101HIEBCAF0 10.1" WUXGA (1920x1200) TFT LCD panel47      - microtips,mf-101hiebcaf048        # Microtips Technology MF-103HIEB0GA0 10.25" 1920x720 TFT LCD panel49      - microtips,mf-103hieb0ga050        # NLT Technologies, Ltd. 15.6" FHD (1920x1080) LVDS TFT LCD panel51      - nlt,nl192108ac18-02d52 53  ports:54    $ref: /schemas/graph.yaml#/properties/ports55 56    properties:57      port@0:58        $ref: /schemas/graph.yaml#/$defs/port-base59        unevaluatedProperties: false60        description: The first sink port.61 62        properties:63          dual-lvds-odd-pixels:64            type: boolean65            description: The first sink port for odd pixels.66 67        required:68          - dual-lvds-odd-pixels69 70      port@1:71        $ref: /schemas/graph.yaml#/$defs/port-base72        unevaluatedProperties: false73        description: The second sink port.74 75        properties:76          dual-lvds-even-pixels:77            type: boolean78            description: The second sink port for even pixels.79 80        required:81          - dual-lvds-even-pixels82 83    required:84      - port@085      - port@186 87unevaluatedProperties: false88 89required:90  - compatible91  - ports92  - power-supply93 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