# Allwinner A10 Display Engine Pipeline

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

> Device-tree binding reference for Allwinner A10 Display Engine Pipeline.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;allwinner&#44;sun4i&#45;a10&#45;display&#45;engine&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The display engine pipeline (and its entry point, since it can be
either directly the backend or the frontend) is represented as an
extra node.</p>
<p style="white-space: pre-wrap">The Allwinner A10 Display pipeline is composed of several components
that are going to be documented below:</p>
<p style="white-space: pre-wrap">For all connections between components up to the TCONs in the
display pipeline, when there are multiple components of the same
type at the same depth, the local endpoint ID must be the same as
the remote component's index. For example, if the remote endpoint is
Frontend 1, then the local endpoint ID must be 1.</p>
<pre><code>Frontend 0  [0] ------- [0]  Backend 0  [0] ------- [0]  TCON 0
            [1] --   -- [1]             [1] --   -- [1]
                  \ /                         \ /
                   X                           X
                  / \                         / \
            [0] --   -- [0]             [0] --   -- [0]
Frontend 1  [1] ------- [1]  Backend 1  [1] ------- [1]  TCON 1</code></pre>
<p style="white-space: pre-wrap">For a two pipeline system such as the one depicted above, the lines
represent the connections between the components, while the numbers
within the square brackets corresponds to the ID of the local endpoint.</p>
<p style="white-space: pre-wrap">The same rule also applies to DE 2.0 mixer-TCON connections:</p>
<pre><code>Mixer 0  [0] ----------- [0]  TCON 0
         [1] ----   ---- [1]
                 \ /
                  X
                 / \
         [0] ----   ---- [0]
Mixer 1  [1] ----------- [1]  TCON 1</code></pre>
</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;allwinner&#44;sun4i&#45;a10&#45;display&#45;engine&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;allwinner&#44;sun5i&#45;a10s&#45;display&#45;engine&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;allwinner&#44;sun5i&#45;a13&#45;display&#45;engine&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;display&#45;engine&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;allwinner&#44;sun6i&#45;a31s&#45;display&#45;engine&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;allwinner&#44;sun7i&#45;a20&#45;display&#45;engine&#34;</code></span>, <span id="dt-5708aa713f48e19e156f"><code>&#34;allwinner&#44;sun8i&#45;a23&#45;display&#45;engine&#34;</code></span>, <span id="dt-3edbd20dc5b59e47edf5"><code>&#34;allwinner&#44;sun8i&#45;a33&#45;display&#45;engine&#34;</code></span>, <span id="dt-07feb33463d5c114ab05"><code>&#34;allwinner&#44;sun8i&#45;a83t&#45;display&#45;engine&#34;</code></span>, <span id="dt-1e634b71c3167df349bb"><code>&#34;allwinner&#44;sun8i&#45;h3&#45;display&#45;engine&#34;</code></span>, <span id="dt-70e866729f00cfce3510"><code>&#34;allwinner&#44;sun8i&#45;r40&#45;display&#45;engine&#34;</code></span>, <span id="dt-81f973819a6dd2302321"><code>&#34;allwinner&#44;sun8i&#45;v3s&#45;display&#45;engine&#34;</code></span>, <span id="dt-e5cbf931a6c5d40231a9"><code>&#34;allwinner&#44;sun9i&#45;a80&#45;display&#45;engine&#34;</code></span>, <span id="dt-5235cdfd9421f63db578"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;display&#45;engine&#34;</code></span>, <span id="dt-d43d2d7f137c2a014614"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;display&#45;engine&#34;</code></span>, <span id="dt-550b25c2a121e87d781f"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;display&#45;engine&#34;</code></span>

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

### <code>allwinner&#44;pipelines</code> — required here

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-47bcd1623a375fc8f538"><code>1</code></span>

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

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

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

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

<div id="dt-5d7324a69012a678794c">
<p style="white-space: pre-wrap">Available display engine frontends (DE 1.0) or mixers (DE
2.0/3.0) available.</p>
</div>

**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;allwinner&#44;pipelines&#34;</code></span>

<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.

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-33b6ed092215f2be8801"></a> <span id="dt-9dc9072d1f2469ee9637"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;display&#45;engine&#34;</code></span>, <span id="dt-5b5b6c5b8f914dcc6d1d"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;display&#45;engine&#34;</code></span>, <span id="dt-32d2639f0dd218c72cf5"><code>&#34;allwinner&#44;sun6i&#45;a31s&#45;display&#45;engine&#34;</code></span>, <span id="dt-c9c252ec9444d5a16574"><code>&#34;allwinner&#44;sun7i&#45;a20&#45;display&#45;engine&#34;</code></span>, <span id="dt-712545a2f50e021f2ba2"><code>&#34;allwinner&#44;sun8i&#45;a83t&#45;display&#45;engine&#34;</code></span>, <span id="dt-afbb644b7b4d4318e4b3"><code>&#34;allwinner&#44;sun8i&#45;r40&#45;display&#45;engine&#34;</code></span>, <span id="dt-519efa9ce2efaff59947"><code>&#34;allwinner&#44;sun9i&#45;a80&#45;display&#45;engine&#34;</code></span>, <span id="dt-80b9eb2828161ca8fc3c"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;display&#45;engine&#34;</code></span>, <span id="dt-9aa93f2f93b53873f881"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;display&#45;engine&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-21db00bdc6f8223bc899"></a>
>
> #### <code>allwinner&#44;pipelines</code> — not listed as required here
>
> **Minimum number of items (<code>minItems</code>):** <span id="dt-2499f4192340a24b2e0a"><code>2</code></span>

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

## When the condition does not match (<code>else</code>)

> <a id="dt-cf075a4b84ee9b101feb"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-b0393dc4e8ab32ca7284"></a>
>
> #### <code>allwinner&#44;pipelines</code> — not listed as required here
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-6d4558a67b1c796ce0c4"><code>1</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">de: display-engine {
    compatible = "allwinner,sun4i-a10-display-engine";
    allwinner,pipelines = &lt;&amp;fe0&gt;, &lt;&amp;fe1&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</span></p>

</details>
