Qualcomm Adreno/Snapdragon MDP4 display controller

Schema identifier ($id): "http://devicetree.org/schemas/display/msm/mdp4.yaml#"

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

MDP4 display controller found in SoCs like MSM8960, APQ8064 and MSM8660.

Maintainers (maintainers): "Rob Clark <robdclark@gmail.com>"

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "qcom,mdp4"

clocks — required here #

Minimum number of items (minItems): 6

Maximum number of items (maxItems): 8

clock-names — not listed as required here #

Minimum number of items (minItems): 6

Array item rules (items) #

Item 1

Exact value (const): "core_clk"

Item 2

Exact value (const): "iface_clk"

Item 3

Exact value (const): "bus_clk"

Item 4

Exact value (const): "lut_clk"

Item 5

Exact value (const): "hdmi_clk"

Item 6

Exact value (const): "tv_clk"

Item 7

Exact value (const): "lcdc_clk"

Item 8

Exact value (const): "pxo"

XO used to drive the internal LVDS PLL

#clock-cells — not listed as required here #

Exact value (const): 0

reg — required here #

Maximum number of items (maxItems): 1

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

iommus — not listed as required here #

Maximum number of items (maxItems): 4

ports — required here #

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

Properties and child nodes (properties) #

port@0 — not listed as required here

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

LCDC/LVDS

port@1 — not listed as required here

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

DSI1 Cmd / Video

port@2 — not listed as required here

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

DSI2 Cmd / Video

port@3 — not listed as required here

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

Digital TV

qcom,lcdc-align-lsb — not listed as required here #

Value type (type): "boolean"

Indication that LSB alignment should be used for LCDC. This is only valid for 18bpp panels.

Required in this object (required): "compatible", "reg", "clocks", "ports"

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

false

Not allowed by this rule.

Examples (examples) #

mdp: mdp@5100000 {
    compatible = "qcom,mdp4";
    reg = <0x05100000 0xf0000>;
    interrupts = <0 75 0>;
    clock-names =
        "core_clk",
        "iface_clk",
        "bus_clk",
        "lut_clk",
        "hdmi_clk",
        "tv_clk";
    clocks =
        <&mmcc 77>,
        <&mmcc 86>,
        <&mmcc 102>,
        <&mmcc 75>,
        <&mmcc 97>,
        <&mmcc 12>;

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

        port@0 {
            reg = <0>;
            mdp_lvds_out: endpoint {
            };
        };

        port@1 {
            reg = <1>;
            mdp_dsi1_out: endpoint {
            };
        };

        port@2 {
            reg = <2>;
            mdp_dsi2_out: endpoint {
            };
        };

        port@3 {
            reg = <3>;
            mdp_dtv_out: endpoint {
                remote-endpoint = <&hdmi_in>;
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page