Qualcomm Adreno/Snapdragon Mobile Display controller (MDP5)
Schema identifier ($id): "http://devicetree.org/schemas/display/msm/qcom,mdp5.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
MDP5 display controller found in SoCs like MSM8974, APQ8084, MSM8916, MSM8994 and MSM8996.
Maintainers (maintainers): "Dmitry Baryshkov <dmitry.baryshkov@linaro.org>", "Rob Clark <robdclark@gmail.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Exact value (
const):"qcom,mdp5"Deprecated (
deprecated):true
Rule 2
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,apq8084-mdp5","qcom,msm8226-mdp5","qcom,msm8916-mdp5","qcom,msm8917-mdp5","qcom,msm8937-mdp5","qcom,msm8953-mdp5","qcom,msm8974-mdp5","qcom,msm8976-mdp5","qcom,msm8994-mdp5","qcom,msm8996-mdp5","qcom,sdm630-mdp5","qcom,sdm660-mdp5"Item 2
Exact value (
const):"qcom,mdp5"
$nodename — not listed as required here #
String pattern (pattern): "^display-controller@[0-9a-f]+$"
reg — required here #
Maximum number of items (maxItems): 1
reg-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mdp_phys"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 7
clock-names — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Minimum number of items (
minItems):4Array item rules (
items)Item 1
Exact value (
const):"iface"Item 2
Exact value (
const):"bus"Item 3
Exact value (
const):"core"Item 4
Exact value (
const):"vsync"Item 5
Exact value (
const):"tbu"Item 6
Exact value (
const):"tbu_rt"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"iface"Item 2
Exact value (
const):"bus"Item 3
Exact value (
const):"core"Item 4
Exact value (
const):"iommu"Item 5
Exact value (
const):"vsync"
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 mdp1 port to the data bus
Item 3
Interconnect path from rotator port to the data 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):"mdp1-mem"
Item 3
Exact value (
const):"rotator-mem"
iommus — not listed as required here #
Array item rules (items) #
Item 1
apps SMMU with the Stream-ID mask for Hard-Fail port0
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
operating-points-v2 — not listed as required here #
true — No constraints added by this property rule.
opp-table — not listed as required here #
Value type (type): "object"
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Contains the list of output ports from DPU device. These ports connect to interfaces that are external to the DPU hardware, such as DSI, DP etc. MDP5 devices support up to 4 ports: one or two DSI ports, HDMI and eDP.
Properties matching a name pattern (patternProperties) #
^port@[0-3]+$ — name matches this regular expression
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Required in this object (required): "port@0"
Required in this object (required): "compatible", "reg", "reg-names", "clocks", "clock-names", "ports"
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-controller@1a01000 {
compatible = "qcom,mdp5";
reg = <0x1a01000 0x90000>;
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";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
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
Line 65: MSM8996 has additional iommu clock
Line 110: at least one port is required