# Transparent LVDS encoders and decoders

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

> Device-tree binding reference for Transparent LVDS encoders and decoders.

<!-- 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;bridge&#47;lvds&#45;codec&#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;Laurent Pinchart &#60;laurent&#46;pinchart&#43;renesas&#64;ideasonboard&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding supports transparent LVDS encoders and decoders that don't
require any configuration.</p>
<p style="white-space: pre-wrap">LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple
incompatible data link layers have been used over time to transmit image data
to LVDS panels. This binding targets devices compatible with the following
specifications only.</p>
<p style="white-space: pre-wrap">[JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February
1999 (Version 1.0), Japan Electronic Industry Development Association (JEIDA)
[LDI] "Open LVDS Display Interface", May 1999 (Version 0.95), National
Semiconductor
[VESA] "VESA Notebook Panel Standard", October 2007 (Version 1.0), Video
Electronics Standards Association (VESA)</p>
<p style="white-space: pre-wrap">Those devices have been marketed under the FPD-Link and FlatLink brand names
among others.</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;onnn&#44;fin3385&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;ti&#44;ds90c185&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;ti&#44;ds90c187&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;ti&#44;sn75lvds83&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;lvds&#45;encoder&#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**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;ti&#44;ds90cf364a&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;ti&#44;ds90cf384a&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;ti&#44;sn65lvds822&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;ti&#44;sn65lvds94&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;lvds&#45;decoder&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Allowed values (<code>enum</code>):** <a id="dt-9fc3f5081af7fe32b794"></a> <span id="dt-264517b00ca7c7f3c30f"><code>&#34;thine&#44;thc63lvdm83d&#34;</code></span>

<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">For LVDS encoders, port 0 is the parallel input
For LVDS decoders, port 0 is the LVDS input</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-76a91e7e49e5df5c9e5e"></a>

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

**Allowed values (<code>enum</code>):** <a id="dt-fb82f5718a0963537034"></a> <span id="dt-de9484189f5952a230e0"><code>&#34;jeida&#45;18&#34;</code></span>, <span id="dt-901b8ebf6808860c96e2"><code>&#34;jeida&#45;24&#34;</code></span>, <span id="dt-f2a9a4724d04ab810105"><code>&#34;vesa&#45;24&#34;</code></span>

<div id="dt-fe8bdeeae5b3f2cad952">
<p style="white-space: pre-wrap">The color signals mapping order. See details in
Documentation/devicetree/bindings/display/lvds.yaml</p>
</div>

<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">For LVDS encoders, port 1 is the LVDS output
For LVDS decoders, port 1 is the parallel output</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>

<a id="dt-37c2fd6b7b601799ea28"></a>

### <code>pclk&#45;sample</code> — not listed as required here

<div id="dt-dd297aefd04f457a909e">
<p style="white-space: pre-wrap">Data sampling on rising or falling edge.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-17c842a3a9a8c9e71156"></a> <span id="dt-de436979b4c7fa70591b"><code>0</code></span>, <span id="dt-ae6662e02a0243f0dcd5"><code>1</code></span>

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

<a id="dt-18291f1487c1b45c6138"></a>

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

<div id="dt-2e6eeac1c3055c8550d6">
<p style="white-space: pre-wrap">The GPIO used to control the power down line of this device.</p>
</div>

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

<a id="dt-01d05f1311938ca96abb"></a>

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

<code>true</code> — No constraints added by this property rule.

<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-17723ad0bbc7f42a3e70"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-3defb1f4dc0d6847a043"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-0e5d4207b2374940f9d3"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-6e1ee4ed1b112666419d"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-1c1f690154555df6cea9"><code>&#34;lvds&#45;decoder&#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-2562db26ecc88ea8cd37"></a>
> >
> > **<code>ports</code> — not listed as required here**
> >
> > <a id="dt-be6b03c21217a1d95089"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-f8deb4d146196ad701cf"></a>
> >
> > **<code>port&#64;0</code> — not listed as required here**
> >
> > <a id="dt-8327e819adb17ce59d25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-7d8c031b50a3ffb35810"></a>
> >
> > **<code>endpoint</code> — not listed as required here**
> >
> > <a id="dt-40ff27f58e443c67cc28"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8128ba6fc714884aa8db"></a>
> >
> > **<code>data&#45;mapping</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-1f5272cb1d084137975e"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-eebbb9d41b21f12566d7"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-6aeb4c84797e4c678f3d"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-80145746a4351c4efa1b"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-36a35d0b3eb4ef922a1c"><code>&#34;lvds&#45;encoder&#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-6954cdb7c55930e58100"></a>
> >
> > **<code>pclk&#45;sample</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

**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;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">lvds-encoder {
  compatible = "ti,ds90c185", "lvds-encoder";

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

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

      lvds_enc_in: endpoint {
        remote-endpoint = &lt;&amp;display_out_rgb&gt;;
      };
    };

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

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

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">lvds-decoder {
  compatible = "ti,ds90cf384a", "lvds-decoder";

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

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

      lvds_dec_in: endpoint {
        remote-endpoint = &lt;&amp;display_out_lvds&gt;;
      };
    };

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

      lvds_dec_out: endpoint {
        remote-endpoint = &lt;&amp;rgb_panel_in&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>

<p id="dt-comment-1"><strong>Line 36:</strong> <span> OnSemi FIN3385</span></p>

<p id="dt-comment-2"><strong>Line 37:</strong> <span> For the TI DS90C185 FPD-Link Serializer</span></p>

<p id="dt-comment-3"><strong>Line 38:</strong> <span> For the TI DS90C187 FPD-Link Serializer</span></p>

<p id="dt-comment-4"><strong>Line 39:</strong> <span> For the TI SN75LVDS83 FlatLink transmitter</span></p>

<p id="dt-comment-5"><strong>Line 40:</strong> <span> Generic LVDS encoder compatible fallback</span></p>

<p id="dt-comment-6"><strong>Line 43:</strong> <span> For the DS90CF364A FPD-Link LVDS Receiver</span></p>

<p id="dt-comment-7"><strong>Line 44:</strong> <span> For the DS90CF384A FPD-Link LVDS Receiver</span></p>

<p id="dt-comment-8"><strong>Line 45:</strong> <span> For the SN65LVDS822 FlatLink LVDS Receiver</span></p>

<p id="dt-comment-9"><strong>Line 46:</strong> <span> For the SN65DS94 LVDS serdes</span></p>

<p id="dt-comment-10"><strong>Line 47:</strong> <span> Generic LVDS decoders compatible fallback</span></p>

<p id="dt-comment-11"><strong>Line 49:</strong> <span> For the THC63LVDM83D LVDS serializer</span></p>

<p id="dt-comment-12"><strong>Line 91:</strong> <span> Falling edge</span></p>

<p id="dt-comment-13"><strong>Line 92:</strong> <span> Rising edge</span></p>

</details>
