# Qualcomm Glymur Display MDSS

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Display bindings / msm_

> Device-tree binding reference for Qualcomm Glymur Display MDSS.

<!-- SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;display&#47;msm&#47;qcom&#44;glymur&#45;mdss&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Abel Vesa &#60;abel&#46;vesa&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Glymur MSM Mobile Display Subsystem(MDSS), which encapsulates sub-blocks like DPU display controller, DP interfaces, etc.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d5c57c22d966a033492b">[<code>&#47;schemas&#47;display&#47;msm&#47;mdss&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-display/msm/mdss-common.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;qcom&#44;glymur&#45;mdss&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Display AHB</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Display hf AXI</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">Display core</p>
> </div>

<a id="dt-a36eed19b18515184df2"></a>

### <code>iommus</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-e4a101d772fc97cb1dd0"><code>1</code></span>

<a id="dt-e744adcd27efde46089d"></a>

### <code>interconnects</code> — not listed as required here

<a id="dt-050bd17c82471c548ae6"></a>

#### Array item rules (<code>items</code>)

<a id="dt-3c8beddba4c330f3f2ce"></a>

**Item 1**

> <div id="dt-6dfeff356d948effe34f">
> <p style="white-space: pre-wrap">Interconnect path from mdp0 port to the data bus</p>
> </div>

<a id="dt-de392227e8f3d3c9a57b"></a>

**Item 2**

> <div id="dt-d62faf4971d56ff9afe0">
> <p style="white-space: pre-wrap">Interconnect path from CPU to the reg bus</p>
> </div>

<a id="dt-2ce9b9b6dd721fac25e9"></a>

### <code>interconnect&#45;names</code> — not listed as required here

<a id="dt-4332fbf84d4c78ea0294"></a>

#### Array item rules (<code>items</code>)

<a id="dt-2111c2ef31eab69c10e3"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-4703ee7000618caf6783"><code>&#34;mdp0&#45;mem&#34;</code></span>

<a id="dt-33130cd4a368d9cf5c91"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-97dc8df8d353ce89df85"><code>&#34;cpu&#45;cfg&#34;</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-6be039f58b4881cd4978"></a>

### <code>&#94;display&#45;controller&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-6eb23950611fc8aa75f9"><code>&#34;object&#34;</code></span>

<a id="dt-652508fef7e82477de6f"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

<a id="dt-b6efec3afb3876c59108"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-08b39264415f29a878a1"></a>

**<code>compatible</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-ca57619a8bdba276ba84"><code>&#34;qcom&#44;glymur&#45;dpu&#34;</code></span>

<a id="dt-617f36b6dfae26c89038"></a>

### <code>&#94;displayport&#45;controller&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-335700fc13c6b149b52f"><code>&#34;object&#34;</code></span>

<a id="dt-991ef1c884dc675883ec"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

<a id="dt-37af40f90fc0938ed9ac"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-d3f4d06358953336426c"></a>

**<code>compatible</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-aea5e6fc2feaa9e0ead2"><code>&#34;qcom&#44;glymur&#45;dp&#34;</code></span>

<a id="dt-c45d8d08d32c6a94cd4e"></a>

### <code>&#94;phy&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-ebd46b72bf416c2110b2"><code>&#34;object&#34;</code></span>

<a id="dt-867bff3731ce4234d8d4"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

<a id="dt-2234986b2e6ca463e5f9"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-5a666055e3e16f9bc945"></a>

**<code>compatible</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-9ec04b9d9def43b1d3df"><code>&#34;qcom&#44;glymur&#45;dp&#45;phy&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/clock/qcom,rpmh.h&gt;
#include &lt;dt-bindings/interconnect/qcom,icc.h&gt;
#include &lt;dt-bindings/interconnect/qcom,glymur-rpmh.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/phy/phy-qcom-qmp.h&gt;
#include &lt;dt-bindings/power/qcom,rpmhpd.h&gt;

display-subsystem@ae00000 {
        compatible = "qcom,glymur-mdss";
        reg = &lt;0x0ae00000 0x1000&gt;;
        reg-names = "mdss";

        interrupts = &lt;GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH&gt;;

        clocks = &lt;&amp;dispcc_ahb_clk&gt;,
                 &lt;&amp;gcc_disp_hf_axi_clk&gt;,
                 &lt;&amp;dispcc_mdp_clk&gt;;
        clock-names = "bus", "nrt_bus", "core";

        interconnects = &lt;&amp;mmss_noc MASTER_MDP QCOM_ICC_TAG_ALWAYS
                         &amp;mc_virt SLAVE_EBI1 QCOM_ICC_TAG_ALWAYS&gt;,
                        &lt;&amp;hsc_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
                         &amp;config_noc SLAVE_DISPLAY_CFG QCOM_ICC_TAG_ACTIVE_ONLY&gt;;
        interconnect-names = "mdp0-mem",
                             "cpu-cfg";

        resets = &lt;&amp;disp_cc_mdss_core_bcr&gt;;

        power-domains = &lt;&amp;mdss_gdsc&gt;;

        iommus = &lt;&amp;apps_smmu 0x1c00 0x2&gt;;

        interrupt-controller;
        #interrupt-cells = &lt;1&gt;;

        #address-cells = &lt;1&gt;;
        #size-cells = &lt;1&gt;;
        ranges;

        display-controller@ae01000 {
            compatible = "qcom,glymur-dpu";
            reg = &lt;0x0ae01000 0x8f000&gt;,
                  &lt;0x0aeb0000 0x2008&gt;;
            reg-names = "mdp", "vbif";

            clocks = &lt;&amp;gcc_axi_clk&gt;,
                     &lt;&amp;dispcc_ahb_clk&gt;,
                     &lt;&amp;dispcc_mdp_lut_clk&gt;,
                     &lt;&amp;dispcc_mdp_clk&gt;,
                     &lt;&amp;dispcc_mdp_vsync_clk&gt;;
            clock-names = "nrt_bus",
                          "iface",
                          "lut",
                          "core",
                          "vsync";

            assigned-clocks = &lt;&amp;dispcc_mdp_vsync_clk&gt;;
            assigned-clock-rates = &lt;19200000&gt;;

            operating-points-v2 = &lt;&amp;mdp_opp_table&gt;;
            power-domains = &lt;&amp;rpmhpd RPMHPD_MMCX&gt;;

            interrupt-parent = &lt;&amp;mdss&gt;;
            interrupts = &lt;0&gt;;

            ports {
                #address-cells = &lt;1&gt;;
                #size-cells = &lt;0&gt;;

                port@0 {
                    reg = &lt;0&gt;;
                    dpu_intf1_out: endpoint {
                        remote-endpoint = &lt;&amp;dsi0_in&gt;;
                    };
                };

                port@1 {
                    reg = &lt;1&gt;;
                    dpu_intf2_out: endpoint {
                        remote-endpoint = &lt;&amp;dsi1_in&gt;;
                    };
                };
            };

            mdp_opp_table: opp-table {
                compatible = "operating-points-v2";

                opp-200000000 {
                    opp-hz = /bits/ 64 &lt;200000000&gt;;
                    required-opps = &lt;&amp;rpmhpd_opp_low_svs&gt;;
                };

                opp-325000000 {
                    opp-hz = /bits/ 64 &lt;325000000&gt;;
                    required-opps = &lt;&amp;rpmhpd_opp_svs&gt;;
                };

                opp-375000000 {
                    opp-hz = /bits/ 64 &lt;375000000&gt;;
                    required-opps = &lt;&amp;rpmhpd_opp_svs_l1&gt;;
                };

                opp-514000000 {
                    opp-hz = /bits/ 64 &lt;514000000&gt;;
                    required-opps = &lt;&amp;rpmhpd_opp_nom&gt;;
                };
            };
        };

        displayport-controller@af54000 {
            compatible = "qcom,glymur-dp";
            reg = &lt;0xaf54000 0x200&gt;,
                  &lt;0xaf54200 0x200&gt;,
                  &lt;0xaf55000 0xc00&gt;,
                  &lt;0xaf56000 0x400&gt;,
                  &lt;0xaf57000 0x400&gt;,
                  &lt;0xaf58000 0x400&gt;,
                  &lt;0xaf59000 0x400&gt;,
                  &lt;0xaf5a000 0x600&gt;,
                  &lt;0xaf5b000 0x600&gt;;

            interrupt-parent = &lt;&amp;mdss&gt;;
            interrupts = &lt;12&gt;;

            clocks = &lt;&amp;dispcc_mdss_ahb_clk&gt;,
                     &lt;&amp;dispcc_dptx0_aux_clk&gt;,
                     &lt;&amp;dispcc_dptx0_link_clk&gt;,
                     &lt;&amp;dispcc_dptx0_link_intf_clk&gt;,
                     &lt;&amp;dispcc_dptx0_pixel0_clk&gt;,
                     &lt;&amp;dispcc_dptx0_pixel1_clk&gt;;
            clock-names = "core_iface",
                          "core_aux",
                          "ctrl_link",
                          "ctrl_link_iface",
                          "stream_pixel",
                          "stream_1_pixel";

            assigned-clocks = &lt;&amp;dispcc_mdss_dptx0_link_clk_src&gt;,
                              &lt;&amp;dispcc_mdss_dptx0_pixel0_clk_src&gt;,
                              &lt;&amp;dispcc_mdss_dptx0_pixel1_clk_src&gt;;
            assigned-clock-parents = &lt;&amp;usb_1_ss0_qmpphy QMP_USB43DP_DP_LINK_CLK&gt;,
                                     &lt;&amp;usb_1_ss0_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK&gt;,
                                     &lt;&amp;usb_1_ss0_qmpphy QMP_USB43DP_DP_VCO_DIV_CLK&gt;;

            operating-points-v2 = &lt;&amp;mdss_dp0_opp_table&gt;;

            power-domains = &lt;&amp;rpmhpd RPMHPD_MMCX&gt;;

            phys = &lt;&amp;usb_1_ss0_qmpphy QMP_USB43DP_DP_PHY&gt;;
            phy-names = "dp";

            #sound-dai-cells = &lt;0&gt;;

            ports {
                #address-cells = &lt;1&gt;;
                #size-cells = &lt;0&gt;;

                port@0 {
                    reg = &lt;0&gt;;

                    mdss_dp0_in: endpoint {
                      remote-endpoint = &lt;&amp;mdss_intf0_out&gt;;
                    };
                };

                port@1 {
                    reg = &lt;1&gt;;

                    mdss_dp0_out: endpoint {
                    };
                };
            };

            mdss_dp0_opp_table: opp-table {
                compatible = "operating-points-v2";

                opp-160000000 {
                    opp-hz = /bits/ 64 &lt;160000000&gt;;
                    required-opps = &lt;&amp;rpmhpd_opp_low_svs&gt;;
                };

                opp-270000000 {
                    opp-hz = /bits/ 64 &lt;270000000&gt;;
                    required-opps = &lt;&amp;rpmhpd_opp_svs&gt;;
                };

                opp-540000000 {
                    opp-hz = /bits/ 64 &lt;540000000&gt;;
                    required-opps = &lt;&amp;rpmhpd_opp_svs_l1&gt;;
                };

                opp-810000000 {
                    opp-hz = /bits/ 64 &lt;810000000&gt;;
                    required-opps = &lt;&amp;rpmhpd_opp_nom&gt;;
                };
            };
        };
    };
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause</span></p>

</details>
