MSM Display Port Controller
Schema identifier ($id): "http://devicetree.org/schemas/display/msm/dp-controller.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Kuogee Hsieh <quic_khsieh@quicinc.com>", "Abhinav Kumar <quic_abhinavk@quicinc.com>"
Device tree bindings for DisplayPort host controller for MSM targets that are compatible with VESA DisplayPort interface specification.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"qcom,glymur-dp","qcom,sa8775p-dp","qcom,sc7180-dp","qcom,sc7280-dp","qcom,sc7280-edp","qcom,sc8180x-dp","qcom,sc8180x-edp","qcom,sc8280xp-dp","qcom,sc8280xp-edp","qcom,sdm845-dp","qcom,sm8350-dp","qcom,sm8650-dp","qcom,x1e80100-dp"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sa8775p-dp"
Rule 3
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sc7180-dp"
Rule 4
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8350-dp"Deprecated (
deprecated):true
Rule 5
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,sar2130p-dp","qcom,sm7150-dp","qcom,sm8150-dp","qcom,sm8250-dp","qcom,sm8450-dp","qcom,sm8550-dp"Item 2
Exact value (
const):"qcom,sm8350-dp"
Rule 6
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8150-dp"Item 3
Exact value (
const):"qcom,sm8350-dp"
Rule 7
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sm8650-dp"
reg — required here #
Minimum number of items (minItems): 4
Array item rules (items) #
Item 1
ahb register block
Item 2
aux register block
Item 3
link register block
Item 4
p0 register block
Item 5
p1 register block
Item 6
p2 register block
Item 7
p3 register block
Item 8
mst2link register block
Item 9
mst3link register block
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
AHB clock to enable register access
Item 2
Display Port AUX clock
Item 3
Display Port Link clock
Item 4
Link interface clock between DP and PHY
Item 5
Display Port stream 0 Pixel clock
Item 6
Display Port stream 1 Pixel clock
Item 7
Display Port stream 2 Pixel clock
Item 8
Display Port stream 3 Pixel clock
clock-names — required here #
Minimum number of items (minItems): 5
Array item rules (items) #
Item 1
Exact value (
const):"core_iface"
Item 2
Exact value (
const):"core_aux"
Item 3
Exact value (
const):"ctrl_link"
Item 4
Exact value (
const):"ctrl_link_iface"
Item 5
Exact value (
const):"stream_pixel"
Item 6
Exact value (
const):"stream_1_pixel"
Item 7
Exact value (
const):"stream_2_pixel"
Item 8
Exact value (
const):"stream_3_pixel"
phys — required here #
Maximum number of items (maxItems): 1
phy-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"dp"
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"
power-domains — required here #
Maximum number of items (maxItems): 1
aux-bus — not listed as required here #
Shared schema rule ($ref): /schemas/display/dp-aux-bus.yaml#
data-lanes — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32-array
Deprecated (deprecated): true
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items) #
Maximum value (
maximum):3
#sound-dai-cells — not listed as required here #
Exact value (const): 0
vdda-0p9-supply — not listed as required here #
Deprecated (deprecated): true
vdda-1p2-supply — not listed as required here #
Deprecated (deprecated): true
ports — required here #
Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports
Properties and child nodes (properties) #
port@0 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/properties/port
Input endpoint of the controller
port@1 — required here
Shared schema rule ($ref): /schemas/graph.yaml#/$defs/port-base
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Output endpoint of the controller
Properties and child nodes (properties)
endpoint — not listed as required here
Shared schema rule ($ref): /schemas/media/video-interfaces.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties)
false
Not allowed by this rule.
Properties and child nodes (properties)
data-lanes — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items)
link-frequencies — not listed as required here
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 4
Array item rules (items)
Allowed values (
enum):1620000000,2700000000,5400000000,8100000000
Required in this object (required): "port@0", "port@1"
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names", "phys", "phy-names", "power-domains", "ports"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sc7280-edp","qcom,sc8180x-edp","qcom,sc8280xp-edp"When the condition matches (
then) #Properties and child nodes (
properties)
#sound-dai-cells— not listed as required here
false— Not permitted by this property rule.When the condition does not match (
else) #Condition (
if)Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,glymur-dp","qcom,sa8775p-dp","qcom,x1e80100-dp"When the condition matches (
then)Shared schema rule (
$ref):/schemas/sound/dai-common.yaml#Exactly one of these rules must match (
oneOf)Rule 1
Rule 2
When the condition does not match (
else)Properties and child nodes (
properties)
aux-bus— not listed as required here
false— Not permitted by this property rule.
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sc7180-dp","qcom,sc7280-dp","qcom,sc7280-edp","qcom,sc8180x-edp","qcom,sc8280xp-edp"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):5
clocks— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):5
clocks-names— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):5
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sc8280xp-dp","qcom,x1e80100-dp"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):5
clocks— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):6
clocks-names— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):6
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,sc8180x-dp","qcom,sdm845-dp","qcom,sm8350-dp","qcom,sm8650-dp"When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):5
clocks— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):6
clocks-names— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):6
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):9Maximum number of items (
maxItems):9
clocks— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):8
clocks-names— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):8
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):9Maximum number of items (
maxItems):9
clocks— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):6
clocks-names— not listed as required hereMinimum number of items (
minItems):5Maximum number of items (
maxItems):6
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/clock/qcom,dispcc-sc7180.h>
#include <dt-bindings/power/qcom-rpmpd.h>
displayport-controller@ae90000 {
compatible = "qcom,sc7180-dp";
reg = <0xae90000 0x200>,
<0xae90200 0x200>,
<0xae90400 0xc00>,
<0xae91000 0x400>,
<0xae91400 0x400>;
interrupt-parent = <&mdss>;
interrupts = <12>;
clocks = <&dispcc DISP_CC_MDSS_AHB_CLK>,
<&dispcc DISP_CC_MDSS_DP_AUX_CLK>,
<&dispcc DISP_CC_MDSS_DP_LINK_CLK>,
<&dispcc DISP_CC_MDSS_DP_LINK_INTF_CLK>,
<&dispcc DISP_CC_MDSS_DP_PIXEL_CLK>;
clock-names = "core_iface", "core_aux",
"ctrl_link",
"ctrl_link_iface", "stream_pixel";
assigned-clocks = <&dispcc DISP_CC_MDSS_DP_LINK_CLK_SRC>,
<&dispcc DISP_CC_MDSS_DP_PIXEL_CLK_SRC>;
assigned-clock-parents = <&dp_phy 0>, <&dp_phy 1>;
phys = <&dp_phy>;
phy-names = "dp";
#sound-dai-cells = <0>;
power-domains = <&rpmhpd SC7180_CX>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&dpu_intf0_out>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&typec>;
data-lanes = <0 1>;
link-frequencies = /bits/ 64 <1620000000 2700000000 5400000000 8100000000>;
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 45: deprecated entry for compatibility with old DT
Line 191: AUX BUS does not exist on DP controllers
Line 192: Audio output also is present only on DP output
Line 231: these platforms support SST only
Line 254: these platforms support 2 streams MST on some interfaces,
Line 255: others are SST only
Line 274: 2 streams MST
Line 297: these platforms support 4 stream MST on first DP,
Line 298: 2 streams MST on the second one.
Line 317: these platforms support 2 streams MST on some interfaces,
Line 318: others are SST only, but all controllers have 4 ports