Xilinx ZynqMP DisplayPort Subsystem

Schema identifier ($id): "http://devicetree.org/schemas/display/xlnx/xlnx,zynqmp-dpsub.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

The DisplayPort subsystem of Xilinx ZynqMP (Zynq UltraScale+ MPSoC) implements the display and audio pipelines based on the DisplayPort v1.2 standard. The subsystem includes multiple functional blocks as below:

             +------------------------------------------------------------+
+--------+   | +----------------+     +-----------+                       |
| DPDMA  | --->|                | --> |   Video   | Video +-------------+ |
| 4x vid |   | |                |     | Rendering | -+--> |             | |   +------+
| 2x aud |   | |  Audio/Video   | --> | Pipeline  |  |    | DisplayPort |---> | PHY0 |
+--------+   | | Buffer Manager |     +-----------+  |    |   Source    | |   +------+
             | |    and STC     |     +-----------+  |    | Controller  | |   +------+
Live Video --->|                | --> |   Audio   | Audio |             |---> | PHY1 |
             | |                |     |   Mixer   | --+-> |             | |   +------+
Live Audio --->|                | --> |           |  ||   +-------------+ |
             | +----------------+     +-----------+  ||                   |
             +---------------------------------------||-------------------+
                                                     vv
                                               Blended Video and
                                               Mixed Audio to PL

The Buffer Manager interacts with external interface such as DMA engines or live audio/video streams from the programmable logic. The Video Rendering Pipeline blends the video and graphics layers and performs colorspace conversion. The Audio Mixer mixes the incoming audio streams. The DisplayPort Source Controller handles the DisplayPort protocol and connects to external PHYs.

The subsystem supports 2 video and 2 audio streams, and various pixel formats and depths up to 4K@30 resolution.

Please refer to "Zynq UltraScale+ Device Technical Reference Manual" (https://www.xilinx.com/support/documentation/user_guides/ug1085-zynq-ultrascale-trm.pdf) for more details.

Maintainers (maintainers): "Laurent Pinchart <laurent.pinchart@ideasonboard.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "xlnx,zynqmp-dpsub-1.7"

reg — required here #

Maximum number of items (maxItems): 4

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dp"

Item 2

Exact value (const): "blend"

Item 3

Exact value (const): "av_buf"

Item 4

Exact value (const): "aud"

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

The APB clock and at least one video clock are mandatory, the audio clock is optional.

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

dp_apb_clk is the APB clock

Item 2

dp_aud_clk is the Audio clock

Item 3

dp_vtc_pixel_clk_in is the non-live video clock (from Processing System)

Item 4

dp_live_video_in_clk is the live video clock (from Programmable Logic)

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Minimum number of items (minItems): 2

Array item rules (items)

Item 1

Exact value (const): "dp_apb_clk"

Item 2

Allowed values (enum): "dp_vtc_pixel_clk_in", "dp_live_video_in_clk"

Item 3

Allowed values (enum): "dp_vtc_pixel_clk_in", "dp_live_video_in_clk"

Rule 2

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Exact value (const): "dp_apb_clk"

Item 2

Exact value (const): "dp_aud_clk"

Item 3

Allowed values (enum): "dp_vtc_pixel_clk_in", "dp_live_video_in_clk"

Item 4

Allowed values (enum): "dp_vtc_pixel_clk_in", "dp_live_video_in_clk"

power-domains — required here #

Maximum number of items (maxItems): 1

resets — required here #

Maximum number of items (maxItems): 1

dmas — required here #

Array item rules (items) #

Item 1

Video layer, plane 0 (RGB or luma)

Item 2

Video layer, plane 1 (U/V or U)

Item 3

Video layer, plane 2 (V)

Item 4

Graphics layer

Item 5

Audio channel 0

Item 6

Audio channel 1

dma-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "vid0"

Item 2

Exact value (const): "vid1"

Item 3

Exact value (const): "vid2"

Item 4

Exact value (const): "gfx0"

Item 5

Exact value (const): "aud0"

Item 6

Exact value (const): "aud1"

phys — required here #

PHYs for the DP data lanes

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

phy-names — required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "dp-phy0"

Item 2

Exact value (const): "dp-phy1"

ports — required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Connections to the programmable logic and the DisplayPort PHYs. Each port shall have a single endpoint.

Properties and child nodes (properties) #

port@0 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The live video input from the programmable logic

port@1 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The live graphics input from the programmable logic

port@2 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The live audio input from the programmable logic

port@3 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The blended video output to the programmable logic

port@4 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The mixed audio output to the programmable logic

port@5 — required here

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

The DisplayPort output

Required in this object (required): "port@0", "port@1", "port@2", "port@3", "port@4", "port@5"

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names", "power-domains", "resets", "dmas", "dma-names", "phys", "phy-names", "ports"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/phy/phy.h>
#include <dt-bindings/reset/xlnx-zynqmp-resets.h>

display@fd4a0000 {
    compatible = "xlnx,zynqmp-dpsub-1.7";
    reg = <0xfd4a0000 0x1000>,
          <0xfd4aa000 0x1000>,
          <0xfd4ab000 0x1000>,
          <0xfd4ac000 0x1000>;
    reg-names = "dp", "blend", "av_buf", "aud";
    interrupts = <0 119 4>;
    interrupt-parent = <&gic>;

    clock-names = "dp_apb_clk", "dp_aud_clk", "dp_live_video_in_clk";
    clocks = <&dp_aclk>, <&clkc 17>, <&si570_1>;

    power-domains = <&pd_dp>;
    resets = <&reset ZYNQMP_RESET_DP>;

    dma-names = "vid0", "vid1", "vid2", "gfx0", "aud0", "aud1";
    dmas = <&xlnx_dpdma 0>,
           <&xlnx_dpdma 1>,
           <&xlnx_dpdma 2>,
           <&xlnx_dpdma 3>,
           <&xlnx_dpdma 4>,
           <&xlnx_dpdma 5>;

    phys = <&psgtr 1 PHY_TYPE_DP 0 3>,
           <&psgtr 0 PHY_TYPE_DP 1 3>;

    phy-names = "dp-phy0", "dp-phy1";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
        };
        port@1 {
            reg = <1>;
        };
        port@2 {
            reg = <2>;
        };
        port@3 {
            reg = <3>;
        };
        port@4 {
            reg = <4>;
        };
        port@5 {
            reg = <5>;
            dpsub_dp_out: endpoint {
                remote-endpoint = <&dp_connector>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page