# Silicon Image sii902x HDMI bridge

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

> Device-tree binding reference for Silicon Image sii902x HDMI bridge.

<!-- 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;bridge&#47;sil&#44;sii9022&#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;Boris Brezillon &#60;bbrezillon&#64;kernel&#46;org&#62;&#34;</code></span>

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

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;sil&#44;sii9022&#45;cpi&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;sil&#44;sii9022&#45;tpi&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;sil&#44;sii9022&#34;</code></span>

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

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;sil&#44;sii9022&#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>

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Interrupt line used to inform the host about hotplug events.</p>
</div>

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

### <code>reset&#45;gpios</code> — not listed as required here

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

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

### <code>iovcc&#45;supply</code> — not listed as required here

<div id="dt-e79b863db30d6be881ec">
<p style="white-space: pre-wrap">I/O Supply Voltage (1.8V or 3.3V)</p>
</div>

<a id="dt-007431d589664bf5a42e"></a>

### <code>cvcc12&#45;supply</code> — not listed as required here

<div id="dt-0af42e9802d23b80ff20">
<p style="white-space: pre-wrap">Digital Core Supply Voltage (1.2V)</p>
</div>

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

### <code>&#35;sound&#45;dai&#45;cells</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-e3f706c9f572bc7f095d"></a> <span id="dt-266d930490f5dab7d95f"><code>0</code></span>, <span id="dt-3ada6c9b25a2310fa7d9"><code>1</code></span>

<div id="dt-c6fec2b67f85839e5c16">
<p style="white-space: pre-wrap">&lt;0&gt; if only I2S or S/PDIF pin is wired,
&lt;1&gt; if both are wired.
HDMI audio is configured only if this property is found.
If HDMI audio is configured, the sii902x device becomes an I2S and/or
S/PDIF audio codec component (e.g. a digital audio sink), that can be
used in configuring full audio devices with simple-card or
audio-graph-card bindings. See their binding documents on how to describe
the way the
sii902x device is connected to the rest of the audio system:
Documentation/devicetree/bindings/sound/simple-card.yaml
Documentation/devicetree/bindings/sound/audio-graph-card.yaml
Note: In case of the audio-graph-card binding the used port index should
be 3.</p>
</div>

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

### <code>sil&#44;i2s&#45;data&#45;lanes</code> — not listed as required here

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

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

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

**Items must be unique (<code>uniqueItems</code>):** <span id="dt-92283573fe01f1c834e1"><code>true</code></span>

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-489d517532c39ffed960"></a> <span id="dt-fb3e14d47809383c96ca"><code>0</code></span>, <span id="dt-9f55a4309bb7a9f52f14"><code>1</code></span>, <span id="dt-67d8be32c6c2ef91423a"><code>2</code></span>, <span id="dt-7116556336c77128b38a"><code>3</code></span>

<div id="dt-6aba2af3789f79567900">
<p style="white-space: pre-wrap">Each integer indicates which I2S pin is connected to which audio FIFO. The first integer selects the I2S audio pin for the first audio FIFO#0 (HDMI channels 1&amp;2), the second for FIFO#1 (HDMI channels 3&amp;4), and so on. There are 4 FIFOs and 4 I2S pins (SD0 - SD3). Any I2S pin can be connected to any FIFO, but there can be no gaps. E.g. an I2S pin must be mapped to FIFO#0 and FIFO#1 before mapping a channel to FIFO#2. The default value is &lt;0&gt;, describing SD0 pin being routed to HDMI audio FIFO#0.</p>
</div>

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

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">MCLK input. MCLK can be used to produce HDMI audio CTS values.</p>
</div>

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

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

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

<a id="dt-638717a7c9bbf1878b7e"></a>

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

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

<a id="dt-076265030fa616d9c245"></a>

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

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

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

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

<code>false</code>

Not allowed by this rule.

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;&#36;defs&#47;port&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-61dbefbf4cdd7cc4556a>)</span>

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">Parallel RGB input port</p>
</div>

<a id="dt-97a7e289fd1dc27f715a"></a>

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f80c0d0094e64d1811a9">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;&#36;defs&#47;endpoint&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-7415ffe8e57fb59e2968>)</span>

<a id="dt-69d97269bb790a34386a"></a>

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

<code>false</code>

Not allowed by this rule.

<a id="dt-54fb05b9994e8e117d7d"></a>

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

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

**<code>bus&#45;width</code> — not listed as required here**

<div id="dt-fdaf2cd40d1e14f9de65">
<p style="white-space: pre-wrap">Endpoint bus width.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-f4900ddc65de4ec6010c"></a> <span id="dt-0ce8c96763fe4e18d7e1"><code>16</code></span>, <span id="dt-f77562d9e7165df0caae"><code>18</code></span>, <span id="dt-9d4bd653787e72a328b9"><code>24</code></span>

**Default value (<code>default</code>):** <span id="dt-ec3ced919697b7e8a4da"><code>24</code></span>

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

**<code>port&#64;1</code> — not listed as required here**

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

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">HDMI output port</p>
</div>

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

**<code>port&#64;3</code> — not listed as required here**

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

<div id="dt-a206fbc5e1ad6cd787b2">
<p style="white-space: pre-wrap">Sound input port</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;reg&#34;</code></span>

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

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>&#47;schemas&#47;sound&#47;dai&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/dai-common.md#dt-root>)</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    hdmi-bridge@39 {
        compatible = "sil,sii9022";
        reg = &lt;0x39&gt;;
        reset-gpios = &lt;&amp;pioA 1 0&gt;;
        iovcc-supply = &lt;&amp;v3v3_hdmi&gt;;
        cvcc12-supply = &lt;&amp;v1v2_hdmi&gt;;

        #sound-dai-cells = &lt;0&gt;;
        sil,i2s-data-lanes = &lt; 0 1 2 &gt;;
        clocks = &lt;&amp;mclk&gt;;
        clock-names = "mclk";

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

            port@0 {
                reg = &lt;0&gt;;
                bridge_in: endpoint {
                    remote-endpoint = &lt;&amp;dc_out&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>

<p id="dt-comment-1"><strong>Line 17:</strong> <span> CEC Programming Interface</span></p>

<p id="dt-comment-2"><strong>Line 18:</strong> <span> Transmitter Programming Interface</span></p>

</details>
