Qualcomm Display DSI controller
Schema identifier ($id): "http://devicetree.org/schemas/display/msm/dsi-controller-main.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Krishna Manikandan <quic_mkrishn@quicinc.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Array item rules (
items)Item 1
Allowed values (
enum):"qcom,apq8064-dsi-ctrl","qcom,kaanapali-dsi-ctrl","qcom,msm8226-dsi-ctrl","qcom,msm8916-dsi-ctrl","qcom,msm8953-dsi-ctrl","qcom,msm8974-dsi-ctrl","qcom,msm8976-dsi-ctrl","qcom,msm8996-dsi-ctrl","qcom,msm8998-dsi-ctrl","qcom,qcm2290-dsi-ctrl","qcom,sa8775p-dsi-ctrl","qcom,sar2130p-dsi-ctrl","qcom,sc7180-dsi-ctrl","qcom,sc7280-dsi-ctrl","qcom,sc8180x-dsi-ctrl","qcom,sdm660-dsi-ctrl","qcom,sdm670-dsi-ctrl","qcom,sdm845-dsi-ctrl","qcom,sm6115-dsi-ctrl","qcom,sm6125-dsi-ctrl","qcom,sm6150-dsi-ctrl","qcom,sm6350-dsi-ctrl","qcom,sm6375-dsi-ctrl","qcom,sm7150-dsi-ctrl","qcom,sm8150-dsi-ctrl","qcom,sm8250-dsi-ctrl","qcom,sm8350-dsi-ctrl","qcom,sm8450-dsi-ctrl","qcom,sm8550-dsi-ctrl","qcom,sm8650-dsi-ctrl","qcom,sm8750-dsi-ctrl"Item 2
Exact value (
const):"qcom,mdss-dsi-ctrl"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"qcom,sa8775p-dsi-ctrl"Item 3
Exact value (
const):"qcom,mdss-dsi-ctrl"
Rule 3
Allowed values (
enum):"qcom,dsi-ctrl-6g-qcm2290","qcom,mdss-dsi-ctrl"Deprecated (
deprecated):true
reg — required here #
Maximum number of items (maxItems): 1
reg-names — required here #
Exact value (const): "dsi_ctrl"
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Several clocks are used, depending on the variant. Typical ones are:: - bus:: Display AHB clock. - byte:: Display byte clock. - byte_intf:: Display byte interface clock. - core:: Display core clock. - core_mss:: Core MultiMedia SubSystem clock. - iface:: Display AXI clock. - mdp_core:: MDP Core clock. - mnoc:: MNOC clock - pixel:: Display pixel clock.
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 12
clock-names — required here #
Minimum number of items (minItems): 3
Maximum number of items (maxItems): 12
phys — required here #
Maximum number of items (maxItems): 1
phy-names — not listed as required here #
Deprecated (deprecated): true
Exact value (const): "dsi"
syscon-sfpb — not listed as required here #
A phandle to mmss_sfpb syscon node (only for DSIv2).
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
qcom,dual-dsi-mode — not listed as required here #
Value type (type): "boolean"
Indicates if the DSI controller is driving a panel which needs 2 DSI links.
qcom,master-dsi — not listed as required here #
Value type (type): "boolean"
Indicates if the DSI controller is the master DSI controller when qcom,dual-dsi-mode enabled.
qcom,sync-dual-dsi — not listed as required here #
Value type (type): "boolean"
Indicates if the DSI controller needs to sync the other DSI controller with MIPI DCS commands when qcom,dual-dsi-mode enabled.
assigned-clocks — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
For DSI on SM8650 and older: parents of "byte" and "pixel" for the given platform. For DSIv2 platforms this should contain "byte", "esc", "src" and "pixel_src" clocks.
assigned-clock-parents — not listed as required here #
Minimum number of items (minItems): 2
Maximum number of items (maxItems): 4
The Byte clock and Pixel clock PLL outputs provided by a DSI PHY block.
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 DSI controller input and output ports as children, each containing one endpoint subnode.
Properties and child nodes (properties) #
port@0 — 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.
Input endpoints 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
Maximum number of items (maxItems): 4
Minimum number of items (minItems): 1
Array item rules (items)
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 endpoints 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
Maximum number of items (maxItems): 4
Minimum number of items (minItems): 1
Array item rules (items)
qcom,te-source — not listed as required here
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Specifies the source of vsync signal from the panel used for tearing elimination.
Default value (default): "mdp_vsync_p"
Allowed values (enum): "mdp_vsync_p", "mdp_vsync_s", "mdp_vsync_e", "timer0", "timer1", "timer2", "timer3", "timer4"
Required in this object (required): "port@0", "port@1"
avdd-supply — not listed as required here #
Phandle to vdd regulator device node
refgen-supply — not listed as required here #
Phandle to REFGEN regulator device node
vcca-supply — not listed as required here #
Phandle to vdd regulator device node
vdd-supply — not listed as required here #
VDD regulator
vddio-supply — not listed as required here #
VDD-IO regulator
vdda-supply — not listed as required here #
VDDA regulator
Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "clocks", "clock-names", "phys", "ports"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):../dsi-controller.yaml#
Rule 2 #
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)
clocks— not listed as required hereMinimum number of items (
minItems):7Maximum number of items (
maxItems):7
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"iface"Item 2
Exact value (
const):"bus"Item 3
Exact value (
const):"core_mmss"Item 4
Exact value (
const):"src"Item 5
Exact value (
const):"byte"Item 6
Exact value (
const):"pixel"Item 7
Exact value (
const):"core"Required in this object (
required):"assigned-clocks","assigned-clock-parents"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8916-dsi-ctrl","qcom,msm8953-dsi-ctrl","qcom,msm8976-dsi-ctrl"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):6
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"mdp_core"Item 2
Exact value (
const):"iface"Item 3
Exact value (
const):"bus"Item 4
Exact value (
const):"byte"Item 5
Exact value (
const):"pixel"Item 6
Exact value (
const):"core"Required in this object (
required):"assigned-clocks","assigned-clock-parents"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8226-dsi-ctrl","qcom,msm8974-dsi-ctrl"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):7Maximum number of items (
maxItems):7
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"mdp_core"Item 2
Exact value (
const):"iface"Item 3
Exact value (
const):"bus"Item 4
Exact value (
const):"byte"Item 5
Exact value (
const):"pixel"Item 6
Exact value (
const):"core"Item 7
Exact value (
const):"core_mmss"Required in this object (
required):"assigned-clocks","assigned-clock-parents"
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)
clocks— not listed as required hereMinimum number of items (
minItems):7Maximum number of items (
maxItems):7
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"mdp_core"Item 2
Exact value (
const):"byte"Item 3
Exact value (
const):"iface"Item 4
Exact value (
const):"bus"Item 5
Exact value (
const):"core_mmss"Item 6
Exact value (
const):"pixel"Item 7
Exact value (
const):"core"Required in this object (
required):"assigned-clocks","assigned-clock-parents"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,msm8998-dsi-ctrl","qcom,sa8775p-dsi-ctrl","qcom,sar2130p-dsi-ctrl","qcom,sc7180-dsi-ctrl","qcom,sc7280-dsi-ctrl","qcom,sc8180x-dsi-ctrl","qcom,sdm845-dsi-ctrl","qcom,sm6115-dsi-ctrl","qcom,sm6125-dsi-ctrl","qcom,sm6350-dsi-ctrl","qcom,sm6375-dsi-ctrl","qcom,sm6150-dsi-ctrl","qcom,sm7150-dsi-ctrl","qcom,sm8150-dsi-ctrl","qcom,sm8250-dsi-ctrl","qcom,sm8350-dsi-ctrl","qcom,sm8450-dsi-ctrl","qcom,sm8550-dsi-ctrl","qcom,sm8650-dsi-ctrl"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):6Maximum number of items (
maxItems):6
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"byte"Item 2
Exact value (
const):"byte_intf"Item 3
Exact value (
const):"pixel"Item 4
Exact value (
const):"core"Item 5
Exact value (
const):"iface"Item 6
Exact value (
const):"bus"Required in this object (
required):"assigned-clocks","assigned-clock-parents"
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Allowed values (
enum):"qcom,kaanapali-dsi-ctrl","qcom,sm8750-dsi-ctrl"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— not listed as required hereMinimum number of items (
minItems):12Maximum number of items (
maxItems):12
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"byte"Item 2
Exact value (
const):"byte_intf"Item 3
Exact value (
const):"pixel"Item 4
Exact value (
const):"core"Item 5
Exact value (
const):"iface"Item 6
Exact value (
const):"bus"Item 7
Exact value (
const):"dsi_pll_pixel"Item 8
Exact value (
const):"dsi_pll_byte"Item 9
Exact value (
const):"esync"Item 10
Exact value (
const):"osc"Item 11
Exact value (
const):"byte_src"Item 12
Exact value (
const):"pixel_src"
Rule 8 #
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)
clocks— not listed as required hereMinimum number of items (
minItems):9Maximum number of items (
maxItems):9
clock-names— not listed as required hereArray item rules (
items)Item 1
Exact value (
const):"mdp_core"Item 2
Exact value (
const):"byte"Item 3
Exact value (
const):"byte_intf"Item 4
Exact value (
const):"mnoc"Item 5
Exact value (
const):"iface"Item 6
Exact value (
const):"bus"Item 7
Exact value (
const):"core_mmss"Item 8
Exact value (
const):"pixel"Item 9
Exact value (
const):"core"Required in this object (
required):"assigned-clocks","assigned-clock-parents"
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-sdm845.h>
#include <dt-bindings/clock/qcom,gcc-sdm845.h>
#include <dt-bindings/power/qcom-rpmpd.h>
dsi@ae94000 {
compatible = "qcom,sc7180-dsi-ctrl", "qcom,mdss-dsi-ctrl";
reg = <0x0ae94000 0x400>;
reg-names = "dsi_ctrl";
#address-cells = <1>;
#size-cells = <0>;
interrupt-parent = <&mdss>;
interrupts = <4>;
clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK>,
<&dispcc DISP_CC_MDSS_BYTE0_INTF_CLK>,
<&dispcc DISP_CC_MDSS_PCLK0_CLK>,
<&dispcc DISP_CC_MDSS_ESC0_CLK>,
<&dispcc DISP_CC_MDSS_AHB_CLK>,
<&dispcc DISP_CC_MDSS_AXI_CLK>;
clock-names = "byte",
"byte_intf",
"pixel",
"core",
"iface",
"bus";
phys = <&dsi0_phy>;
phy-names = "dsi";
assigned-clocks = <&dispcc DISP_CC_MDSS_BYTE0_CLK_SRC>, <&dispcc DISP_CC_MDSS_PCLK0_CLK_SRC>;
assigned-clock-parents = <&dsi_phy 0>, <&dsi_phy 1>;
power-domains = <&rpmhpd SC7180_CX>;
operating-points-v2 = <&dsi_opp_table>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
endpoint {
remote-endpoint = <&dpu_intf1_out>;
};
};
port@1 {
reg = <1>;
endpoint {
remote-endpoint = <&sn65dsi86_in>;
data-lanes = <0 1 2 3>;
qcom,te-source = "mdp_vsync_e";
};
};
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
Line 56: This should always come with an SoC-specific compatible