Qualcomm Mobile Display SubSystem (MDSS)

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

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

Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>", "Rob Clark <robdclark@gmail.com>"

This is the bindings documentation for the Mobile Display Subsystem(MDSS) that encapsulates sub-blocks like MDP5, DSI, HDMI, eDP, etc.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^display-subsystem@[0-9a-f]+$"

compatible — required here #

Allowed values (enum): "qcom,mdss"

reg — required here #

Minimum number of items (minItems): 2

Maximum number of items (maxItems): 3

reg-names — required here #

Minimum number of items (minItems): 2

Array item rules (items) #

Item 1

Exact value (const): "mdss_phys"

Item 2

Exact value (const): "vbif_phys"

Item 3

Exact value (const): "vbif_nrt_phys"

interrupts — required here #

Maximum number of items (maxItems): 1

interrupt-controller — required here #

true — No constraints added by this property rule.

#interrupt-cells — required here #

Exact value (const): 1

power-domains — required here #

Maximum number of items (maxItems): 1

The MDSS power domain provided by GCC

clocks — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Display abh clock

Item 2

Display axi clock

Item 3

Display vsync clock

Item 4

Display core clock

Rule 2

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Display abh clock

Item 2

Display core clock

clock-names — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Minimum number of items (minItems): 3

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "bus"

Item 3

Exact value (const): "vsync"

Item 4

Exact value (const): "core"

Rule 2

Minimum number of items (minItems): 1

Array item rules (items)

Item 1

Exact value (const): "iface"

Item 2

Exact value (const): "core"

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

true — No constraints added by this property rule.

resets — not listed as required here #

Array item rules (items) #

Item 1

MDSS_CORE reset

interconnects — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Interconnect path from mdp0 (or a single mdp) port to the data bus

Item 2

Interconnect path from CPU to the reg bus

interconnect-names — not listed as required here #

Minimum number of items (minItems): 1

Array item rules (items) #

Item 1

Exact value (const): "mdp0-mem"

Item 2

Exact value (const): "cpu-cfg"

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "interrupt-controller", "#interrupt-cells", "power-domains", "clocks", "clock-names", "#address-cells", "#size-cells", "ranges"

Properties matching a name pattern (patternProperties) #

^display-controller@[1-9a-f][0-9a-f]*$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,mdp5"

^dsi@[1-9a-f][0-9a-f]*$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Rule for matching array elements (contains)

Exact value (const): "qcom,mdss-dsi-ctrl"

^phy@[1-9a-f][0-9a-f]*$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "qcom,dsi-phy-14nm", "qcom,dsi-phy-14nm-660", "qcom,dsi-phy-14nm-8953", "qcom,dsi-phy-20nm", "qcom,dsi-phy-28nm-8226", "qcom,dsi-phy-28nm-8937", "qcom,dsi-phy-28nm-hpm", "qcom,dsi-phy-28nm-hpm-fam-b", "qcom,dsi-phy-28nm-lp", "qcom,hdmi-phy-8084", "qcom,hdmi-phy-8660", "qcom,hdmi-phy-8960", "qcom,hdmi-phy-8974", "qcom,hdmi-phy-8996"

^hdmi-tx@[1-9a-f][0-9a-f]*$ — name matches this regular expression #

Value type (type): "object"

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

true

Allowed by this rule.

Properties and child nodes (properties) #

compatible — not listed as required here

Allowed values (enum): "qcom,hdmi-tx-8084", "qcom,hdmi-tx-8660", "qcom,hdmi-tx-8960", "qcom,hdmi-tx-8974", "qcom,hdmi-tx-8994", "qcom,hdmi-tx-8996"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/qcom,gcc-msm8916.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
display-subsystem@1a00000 {
    compatible = "qcom,mdss";
    reg = <0x1a00000 0x1000>,
          <0x1ac8000 0x3000>;
    reg-names = "mdss_phys", "vbif_phys";

    power-domains = <&gcc MDSS_GDSC>;

    clocks = <&gcc GCC_MDSS_AHB_CLK>,
             <&gcc GCC_MDSS_AXI_CLK>,
             <&gcc GCC_MDSS_VSYNC_CLK>;
    clock-names = "iface",
                  "bus",
                  "vsync";

    interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;

    interrupt-controller;
    #interrupt-cells = <1>;

    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    display-controller@1a01000 {
        compatible = "qcom,msm8916-mdp5", "qcom,mdp5";
        reg = <0x01a01000 0x89000>;
        reg-names = "mdp_phys";

        interrupt-parent = <&mdss>;
        interrupts = <0>;

        clocks = <&gcc GCC_MDSS_AHB_CLK>,
                 <&gcc GCC_MDSS_AXI_CLK>,
                 <&gcc GCC_MDSS_MDP_CLK>,
                 <&gcc GCC_MDSS_VSYNC_CLK>;
        clock-names = "iface",
                  "bus",
                  "core",
                  "vsync";

        iommus = <&apps_iommu 4>;

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

            port@0 {
                reg = <0>;
                mdp5_intf1_out: endpoint {
                    remote-endpoint = <&dsi0_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