# Arm Mali Display Processor (Mali-DP)

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

> Device-tree binding reference for Arm Mali Display Processor (Mali-DP).

<!-- 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;arm&#44;malidp&#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;Liviu Dudau &#60;Liviu&#46;Dudau&#64;arm&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Andre Przywara &#60;andre&#46;przywara&#64;arm&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The following bindings apply to a family of Display Processors sold as licensable IP by ARM Ltd. The bindings describe the Mali DP500, DP550 and DP650 processors that offer multiple composition layers, support for rotation and scaling output.</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;arm&#44;mali&#45;dp500&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;arm&#44;mali&#45;dp550&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;arm&#44;mali&#45;dp650&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

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

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

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

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

<a id="dt-985aed94c3a5de8e946a"></a>

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

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

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">The interrupt used by the Display Engine (DE). Can be shared with the interrupt for the Scaling Engine (SE), but it will have to be listed individually.</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">The interrupt used by the Scaling Engine (SE). Can be shared with the interrupt for the Display Engine (DE), but it will have to be listed individually.</p>
> </div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

<a id="dt-77e94e63ca0b20bb5ef1"></a>

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

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;DE&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;SE&#34;</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;pxlclk&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;mclk&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;aclk&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;pclk&#34;</code></span>

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

### <code>clocks</code> — 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">the pixel clock feeding the output PLL of the processor</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">the main processor clock</p>
> </div>

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

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">the AXI interface clock</p>
> </div>

<a id="dt-0f12147a6759258c14d2"></a>

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">the APB interface clock</p>
> </div>

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

### <code>memory&#45;region</code> — not listed as required here

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

<div id="dt-b794f979757a4fadd5eb">
<p style="white-space: pre-wrap">Phandle to a node describing memory to be used for the framebuffer. If not present, the framebuffer may be located anywhere in memory.</p>
</div>

<a id="dt-42b814e27cc2c1cf7e7b"></a>

### <code>arm&#44;malidp&#45;output&#45;port&#45;lines</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-439646b1b0c28b00548f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint8&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-184849745c5e941c3ec5>)</span>

<div id="dt-b506c72c36138e11059a">
<p style="white-space: pre-wrap">Number of output lines/bits for each colour channel.</p>
</div>

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

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

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

**Item 1**

> <div id="dt-7fde573f11a87cbf2f56">
> <p style="white-space: pre-wrap">number of output lines for the red channel (R)</p>
> </div>

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

**Item 2**

> <div id="dt-5761f14d72de1d7856b1">
> <p style="white-space: pre-wrap">number of output lines for the green channel (G)</p>
> </div>

<a id="dt-0bfded64180efe456d27"></a>

**Item 3**

> <div id="dt-8af5540d1805d3bbf1b5">
> <p style="white-space: pre-wrap">number of output lines for the blue channel (B)</p>
> </div>

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

### <code>arm&#44;malidp&#45;arqos&#45;value</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-99d30ecfb516462d9c43">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-9c7f4958020b88a51ad6">
<p style="white-space: pre-wrap">Quality-of-Service value for the display engine FIFOs, to write into the RQOS register of the DP500. See the ARM Mali-DP500 TRM for details on the encoding. If omitted, the RQOS register will not be changed.</p>
</div>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1ed24d3512fbe8ce2017">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-0cd71b006a1fcbec8daa">
<p style="white-space: pre-wrap">Output endpoint of the controller, connecting the LCD panel signals.</p>
</div>

<a id="dt-738c4b4f9e483441138b"></a>

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

<code>false</code>

Not allowed by this rule.

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;port&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;arm&#44;malidp&#45;output&#45;port&#45;lines&#34;</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">dp0: malidp@6f200000 {
    compatible = "arm,mali-dp650";
    reg = &lt;0x6f200000 0x20000&gt;;
    memory-region = &lt;&amp;display_reserved&gt;;
    interrupts = &lt;168&gt;, &lt;168&gt;;
    interrupt-names = "DE", "SE";
    clocks = &lt;&amp;oscclk2&gt;, &lt;&amp;fpgaosc0&gt;, &lt;&amp;fpgaosc1&gt;, &lt;&amp;fpgaosc1&gt;;
    clock-names = "pxlclk", "mclk", "aclk", "pclk";
    arm,malidp-output-port-lines = /bits/ 8 &lt;8 8 8&gt;;
    arm,malidp-arqos-value = &lt;0xd000d000&gt;;

    port {
        dp0_output: endpoint {
            remote-endpoint = &lt;&amp;tda998x_2_input&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>
