# Mediatek display split

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

> Device-tree binding reference for Mediatek display split.

<!-- 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;mediatek&#47;mediatek&#44;split&#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;Chun&#45;Kuang Hu &#60;chunkuang&#46;hu&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Philipp Zabel &#60;p&#46;zabel&#64;pengutronix&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Mediatek display split, namely SPLIT, is used to split stream to two
encoders.
SPLIT device node must be siblings to the central MMSYS_CONFIG node.
For a description of the MMSYS_CONFIG binding, see
Documentation/devicetree/bindings/arm/mediatek/mediatek,mmsys.yaml
for details.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;mediatek&#44;mt8173&#45;disp&#45;split&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;mediatek&#44;mt8195&#45;mdp3&#45;split&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;mediatek&#44;mt6795&#45;disp&#45;split&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;mediatek&#44;mt8173&#45;disp&#45;split&#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> — not listed as required here

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

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

<div id="dt-33c740e5969dba94b4e6">
<p style="white-space: pre-wrap">A phandle and PM domain specifier as defined by bindings of the power controller specified by phandle. See Documentation/devicetree/bindings/power/power-domain.yaml for details.</p>
</div>

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

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

### <code>mediatek&#44;gce&#45;client&#45;reg</code> — not listed as required here

<div id="dt-62703347cbc87399e3dd">
<p style="white-space: pre-wrap">The register of display function block to be set by gce. There are 4 arguments, such as gce node, subsys id, offset and register size. The subsys id that is mapping to the register of display function blocks is defined in the gce header include/dt-bindings/gce/&lt;chip&gt;-gce.h of each chips.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-0de2d0723774655b826e">[<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>

<a id="dt-552fac9233f0cf31ac24"></a>

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

> <a id="dt-5ab9f7fe1e3f149dd429"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-1bb2c90b9efd3f471401"></a>
>
> **Item 1**
>
> > <div id="dt-d4ed607500af7b6b6b58">
> > <p style="white-space: pre-wrap">phandle of GCE</p>
> > </div>
>
> <a id="dt-165c35f6ec03118db343"></a>
>
> **Item 2**
>
> > <div id="dt-6e1024e229aa590b27e5">
> > <p style="white-space: pre-wrap">GCE subsys id</p>
> > </div>
>
> <a id="dt-5cad7fe0418ecf8a5aa8"></a>
>
> **Item 3**
>
> > <div id="dt-e92cddb5546ff1d9316d">
> > <p style="white-space: pre-wrap">register offset</p>
> > </div>
>
> <a id="dt-7ebcaa61dd2e7b97b14b"></a>
>
> **Item 4**
>
> > <div id="dt-63a8dad27fed74caed3e">
> > <p style="white-space: pre-wrap">register size</p>
> > </div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-22a0e9f0bc06a3afe074"><code>1</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">SPLIT Clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Used for interfacing with the HDMI RX signal source.</p>
> </div>

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

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">Paired with receiving HDMI RX metadata.</p>
> </div>

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

**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;power&#45;domains&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;mediatek&#44;mt8195&#45;mdp3&#45;split&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-065d246b482f4e9fba10"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b46601d2e44d0accc82c"><code>3</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;mediatek&#44;gce&#45;client&#45;reg&#34;</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;mediatek&#44;mt8173&#45;disp&#45;split&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-3aa42810e911ab2a41de"><code>1</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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/clock/mt8173-clk.h&gt;
#include &lt;dt-bindings/power/mt8173-power.h&gt;

soc {
    #address-cells = &lt;2&gt;;
    #size-cells = &lt;2&gt;;

    split0: split@14018000 {
        compatible = "mediatek,mt8173-disp-split";
        reg = &lt;0 0x14018000 0 0x1000&gt;;
        power-domains = &lt;&amp;spm MT8173_POWER_DOMAIN_MM&gt;;
        clocks = &lt;&amp;mmsys CLK_MM_DISP_SPLIT0&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>
