# Toshiba TC358775 DSI to LVDS bridge

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

> Device-tree binding reference for Toshiba TC358775 DSI to LVDS 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;tc358775&#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;Vinay Simha BN &#60;simhavcs&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding supports DSI to LVDS bridges TC358765 and TC358775</p>
<p style="white-space: pre-wrap">MIPI DSI-RX Data 4-lane, CLK 1-lane with data rates up to 800 Mbps/lane.
Video frame size:
Up to 1600x1200 24-bit/pixel resolution for single-link LVDS display panel
limited by 135 MHz LVDS speed
Up to WUXGA (1920x1200 24-bit pixels) resolution for dual-link LVDS display
panel, limited by 270 MHz LVDS speed.</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;toshiba&#44;tc358765&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;toshiba&#44;tc358775&#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>

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

<a id="dt-236855bde9eebcc9d904"></a>

### <code>vdd&#45;supply</code> — required here

<div id="dt-bc3e69b335e23d461899">
<p style="white-space: pre-wrap">1.2V LVDS Power Supply</p>
</div>

<a id="dt-78ea9f736d3e6cab7ae5"></a>

### <code>vddio&#45;supply</code> — required here

<div id="dt-ba263ef99f73e8ce56fb">
<p style="white-space: pre-wrap">1.8V IO Power Supply</p>
</div>

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

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

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

<div id="dt-31f11504d61e8f1d4112">
<p style="white-space: pre-wrap">Standby pin, Low active</p>
</div>

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

### <code>reset&#45;gpios</code> — 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">Hardware reset, Low active</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> — 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. The remote endpoint phandle should be a
reference to a valid mipi_dsi_host device 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> — 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">Video port for LVDS output (panel or connector).</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;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-2494ba4fb5f1dc4cb38b">
<p style="white-space: pre-wrap">Video port for Dual link LVDS output (panel or connector).</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-2491871393415320c88c"></a> <span id="dt-95e4854181be8c873eb8"><code>&#34;port&#64;0&#34;</code></span>, <span id="dt-0b051ff21225a3bba241"><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;vdd&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vddio&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;reset&#45;gpios&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;ports&#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;toshiba&#44;tc358765&#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-814427f6cf3bf710b38d"></a>
> >
> > **<code>stby&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

/* For single-link LVDS display panel */

i2c@78b8000 {
    /* On High speed expansion */
    label = "HS-I2C2";
    reg = &lt;0x078b8000 0x500&gt;;
    clock-frequency = &lt;400000&gt;; /* fastmode operation */
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    tc_bridge: bridge@f {
        compatible = "toshiba,tc358775";
        reg = &lt;0x0f&gt;;

        vdd-supply = &lt;&amp;pm8916_l2&gt;;
        vddio-supply = &lt;&amp;pm8916_l6&gt;;

        stby-gpios = &lt;&amp;msmgpio 99 GPIO_ACTIVE_LOW&gt;;
        reset-gpios = &lt;&amp;msmgpio 72 GPIO_ACTIVE_LOW&gt;;

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

            port@0 {
                reg = &lt;0&gt;;
                d2l_in_test: endpoint {
                    remote-endpoint = &lt;&amp;dsi0_out&gt;;
                    data-lanes = &lt;1 2 3 4&gt;;
                };
            };

            port@1 {
                reg = &lt;1&gt;;
                lvds_out: endpoint {
                    remote-endpoint = &lt;&amp;panel_in&gt;;
                };
            };
        };
    };
};

dsi@1a98000 {
    reg = &lt;0x1a98000 0x25c&gt;;
    reg-names = "dsi_ctrl";

    ports {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        port@1 {
            reg = &lt;1&gt;;
            dsi0_out: endpoint {
                remote-endpoint = &lt;&amp;d2l_in_test&gt;;
            };
         };
     };
 };
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">/* For dual-link LVDS display panel */

i2c@78b8000 {
    /* On High speed expansion */
    label = "HS-I2C2";
    reg = &lt;0x078b8000 0x500&gt;;
    clock-frequency = &lt;400000&gt;; /* fastmode operation */
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    tc_bridge_dual: bridge@f {
        compatible = "toshiba,tc358775";
        reg = &lt;0x0f&gt;;

        vdd-supply = &lt;&amp;pm8916_l2&gt;;
        vddio-supply = &lt;&amp;pm8916_l6&gt;;

        stby-gpios = &lt;&amp;msmgpio 99 GPIO_ACTIVE_LOW&gt;;
        reset-gpios = &lt;&amp;msmgpio 72 GPIO_ACTIVE_LOW&gt;;

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

            port@0 {
                reg = &lt;0&gt;;
                d2l_in_dual: endpoint {
                    remote-endpoint = &lt;&amp;dsi0_out_dual&gt;;
                    data-lanes = &lt;1 2 3 4&gt;;
                };
            };

            port@1 {
                reg = &lt;1&gt;;
                lvds0_out: endpoint {
                    remote-endpoint = &lt;&amp;panel_in0&gt;;
                };
            };

            port@2 {
                reg = &lt;2&gt;;
                lvds1_out: endpoint {
                    remote-endpoint = &lt;&amp;panel_in1&gt;;
                };
            };
        };
    };
};

dsi@1a98000 {
    reg = &lt;0x1a98000 0x25c&gt;;
    reg-names = "dsi_ctrl";

    ports {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        port@1 {
            reg = &lt;1&gt;;
            dsi0_out_dual: endpoint {
                remote-endpoint = &lt;&amp;d2l_in_dual&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>
