brintos

brintos / linux-shallow public Read only

0
0
Text · 2.7 KiB · 2e8dbdb Raw
125 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/advantech,idk-2121wr.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Advantech IDK-2121WR 21.5" Full-HD dual-LVDS panel8 9maintainers:10  - Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>11  - Thierry Reding <thierry.reding@gmail.com>12 13description: |14  The IDK-2121WR from Advantech is a Full-HD dual-LVDS panel.15  A dual-LVDS interface is a dual-link connection with even pixels traveling16  on one link, and with odd pixels traveling on the other link.17 18  The panel expects odd pixels on the first port, and even pixels on the19  second port, therefore the ports must be marked accordingly (with either20  dual-lvds-odd-pixels or dual-lvds-even-pixels).21 22allOf:23  - $ref: panel-common.yaml#24 25properties:26  compatible:27    items:28      - const: advantech,idk-2121wr29      - {} # panel-lvds, but not listed here to avoid false select30 31  width-mm:32    const: 47633 34  height-mm:35    const: 26836 37  data-mapping:38    const: vesa-2439 40  panel-timing: true41 42  ports:43    $ref: /schemas/graph.yaml#/properties/ports44 45    properties:46      port@0:47        $ref: /schemas/graph.yaml#/$defs/port-base48        unevaluatedProperties: false49        description: The sink for odd pixels.50        properties:51          dual-lvds-odd-pixels: true52 53        required:54          - dual-lvds-odd-pixels55 56      port@1:57        $ref: /schemas/graph.yaml#/$defs/port-base58        unevaluatedProperties: false59        description: The sink for even pixels.60        properties:61          dual-lvds-even-pixels: true62 63        required:64          - dual-lvds-even-pixels65 66    required:67      - port@068      - port@169 70additionalProperties: false71 72required:73  - compatible74  - width-mm75  - height-mm76  - data-mapping77  - panel-timing78  - ports79 80examples:81  - |+82    panel-lvds {83      compatible = "advantech,idk-2121wr", "panel-lvds";84 85      width-mm = <476>;86      height-mm = <268>;87 88      data-mapping = "vesa-24";89 90      panel-timing {91        clock-frequency = <148500000>;92        hactive = <1920>;93        vactive = <1080>;94        hsync-len = <44>;95        hfront-porch = <88>;96        hback-porch = <148>;97        vfront-porch = <4>;98        vback-porch = <36>;99        vsync-len = <5>;100      };101 102      ports {103        #address-cells = <1>;104        #size-cells = <0>;105 106        port@0 {107          reg = <0>;108          dual-lvds-odd-pixels;109          panel_in0: endpoint {110            remote-endpoint = <&lvds0_out>;111          };112        };113 114        port@1 {115          reg = <1>;116          dual-lvds-even-pixels;117          panel_in1: endpoint {118            remote-endpoint = <&lvds1_out>;119          };120        };121      };122    };123 124...125