# Toshiba TC358767/TC358867/TC9595 DSI/DPI/eDP bridge

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

> Device-tree binding reference for Toshiba TC358767/TC358867/TC9595 DSI/DPI/eDP 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;toshiba&#44;tc358767&#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;Andrey Gusakov &#60;andrey&#46;gusakov&#64;cogentembedded&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The TC358767/TC358867/TC9595 is bridge device which
converts DSI/DPI to eDP/DP .</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**

> <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;toshiba&#44;tc358867&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;toshiba&#44;tc9595&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;toshiba&#44;tc358767&#34;</code></span>

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

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;toshiba&#44;tc358767&#34;</code></span>

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

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

**Allowed values (<code>enum</code>):** <a id="dt-917ea1ad16cfd55f8ef7"></a> <span id="dt-808e90b1016f267b83cf"><code>15</code></span>, <span id="dt-3f3177878e4e0b370619"><code>104</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">i2c address of the bridge, 0x68 or 0x0f, depending on bootstrap pins</p>
</div>

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

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

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

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

### <code>clocks</code> — 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">OF device-tree clock specification for refclk input. The reference.
clock rate must be 13 MHz, 19.2 MHz, 26 MHz, or 38.4 MHz.</p>
</div>

<a id="dt-45e267b98287a9b9f697"></a>

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

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

<div id="dt-b739a5c096a414ad16bb">
<p style="white-space: pre-wrap">OF device-tree gpio specification for SD pin(active high shutdown input)</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>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">OF device-tree gpio specification for RSTX pin(active low system reset)</p>
</div>

<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-8d0d3304b0c29dd202f6"></a>

### <code>toshiba&#44;hpd&#45;pin</code> — not listed as required here

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

**Allowed values (<code>enum</code>):** <a id="dt-c8bb72b01c468833331d"></a> <span id="dt-21cb595e61d42e2d064c"><code>0</code></span>, <span id="dt-282141ed015c46c42ca4"><code>1</code></span>

<div id="dt-11ba79d8cf1791ff98d2">
<p style="white-space: pre-wrap">TC358767 GPIO pin number to which HPD is connected to (0 or 1)</p>
</div>

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

### <code>ports</code> — 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**

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">DSI input port. The remote endpoint phandle should be a
reference to a valid DSI output endpoint node</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;media&#47;video&#45;interfaces&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-media/video-interfaces.md#dt-root>)</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-87303084204fb603a415"></a>

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

<div id="dt-7a73f34dcaf9791085fd">
<p style="white-space: pre-wrap">array of physical DSI data lane indexes.</p>
</div>

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-8abc5992878e2f59751a"><code>1</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f76834639aa657331a5f"><code>2</code></span>

<a id="dt-341f4f8db5ee45aef43b"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-c6ae6d20f4de8e601c43"><code>3</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-e026b06ab08f453865c1"><code>4</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">DPI input/output port. The remote endpoint phandle should be a
reference to a valid DPI output or input endpoint node.</p>
</div>

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

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

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-2494ba4fb5f1dc4cb38b">
<p style="white-space: pre-wrap">eDP/DP output port. The remote endpoint phandle should be a
reference to a valid eDP panel input endpoint node. This port is
optional, treated as DP panel if not defined</p>
</div>

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

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-623c6ca4559bc986cdba">[<code>&#47;schemas&#47;media&#47;video&#45;interfaces&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-media/video-interfaces.md#dt-root>)</span>

<a id="dt-843371e3213613ab1b6e"></a>

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

<code>false</code>

Not allowed by this rule.

<a id="dt-1815159110a2ef947f86"></a>

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

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

**<code>toshiba&#44;pre&#45;emphasis</code> — not listed as required here**

<div id="dt-78ab502e75c289381909">
<p style="white-space: pre-wrap">Display port output Pre-Emphasis settings for both DP lanes.</p>
</div>

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

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

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

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

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

> **Allowed values (<code>enum</code>):** <a id="dt-e0e47d9beea62200d458"></a> <span id="dt-bf14aca756c45d5a2758"><code>0</code></span>, <span id="dt-b379c834c123a070a589"><code>1</code></span>, <span id="dt-531f0a7306c85b11e7b1"><code>2</code></span>

<a id="dt-62004a1ee2226f7b3de4"></a>

#### At least one of these rules must match (<code>anyOf</code>)

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

**Rule 1**

> **Required in this object (<code>required</code>):** <a id="dt-d8075bd0e60f4ef6e706"></a> <span id="dt-d3c7f711942f98544e4e"><code>&#34;port&#64;0&#34;</code></span>

<a id="dt-7e02fad127d257cd2164"></a>

**Rule 2**

> **Required in this object (<code>required</code>):** <a id="dt-80ac30c993405af49a7d"></a> <span id="dt-cb4754982e79035c1760"><code>&#34;port&#64;1&#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>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;ports&#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-1a130cabaa8a47b058bf"></a>

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

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

/* DPI input and eDP output */

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

    edp-bridge@68 {
        compatible = "toshiba,tc358767";
        reg = &lt;0x68&gt;;
        shutdown-gpios = &lt;&amp;gpio3 23 GPIO_ACTIVE_HIGH&gt;;
        reset-gpios = &lt;&amp;gpio3 24 GPIO_ACTIVE_LOW&gt;;
        clock-names = "ref";
        clocks = &lt;&amp;edp_refclk&gt;;

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

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

                bridge_in_0: endpoint {
                    remote-endpoint = &lt;&amp;dpi_out&gt;;
                };
            };

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

                bridge_out: endpoint {
                    remote-endpoint = &lt;&amp;panel_in&gt;;
                };
            };
        };
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">/* DPI input and DP output */

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

    edp-bridge@68 {
        compatible = "toshiba,tc358767";
        reg = &lt;0x68&gt;;
        shutdown-gpios = &lt;&amp;gpio3 23 GPIO_ACTIVE_HIGH&gt;;
        reset-gpios = &lt;&amp;gpio3 24 GPIO_ACTIVE_LOW&gt;;
        clock-names = "ref";
        clocks = &lt;&amp;edp_refclk&gt;;

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

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

                bridge_in_1: endpoint {
                    remote-endpoint = &lt;&amp;dpi_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 116:</strong> <span> No pre-emphasis</span></p>

<p id="dt-comment-2"><strong>Line 117:</strong> <span> 3.5dB pre-emphasis</span></p>

<p id="dt-comment-3"><strong>Line 118:</strong> <span> 6dB pre-emphasis</span></p>

</details>
