# LVDS Data Mapping

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

> Device-tree binding reference for LVDS Data Mapping.

<!-- 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;lvds&#45;data&#45;mapping&#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>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<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 devices. This bindings supports devices compatible with the following
specifications.</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">Device compatible with those specifications have been marketed under the
FPD-Link and FlatLink brands.</p>
<p style="white-space: pre-wrap">This bindings also supports 30-bit data mapping compatible with JEIDA and
VESA.</p>
</div>

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

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

<a id="dt-48d37d2fd97af2e9b0e1"></a>

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

**Allowed values (<code>enum</code>):** <a id="dt-d8e25747f888a85d9254"></a> <span id="dt-077d17e1492422952e89"><code>&#34;jeida&#45;18&#34;</code></span>, <span id="dt-d8bf139edb394612d45f"><code>&#34;jeida&#45;24&#34;</code></span>, <span id="dt-10c6847f4829d3e40e28"><code>&#34;jeida&#45;30&#34;</code></span>, <span id="dt-86893213773e37124fc1"><code>&#34;vesa&#45;24&#34;</code></span>, <span id="dt-c192c7fcc7dce8a83a8e"><code>&#34;vesa&#45;30&#34;</code></span>

<div id="dt-b00e93d81c78d498e791">
<p style="white-space: pre-wrap">The color signals mapping order.</p>
<p style="white-space: pre-wrap">LVDS data mappings are defined as follows.</p>
<pre><code>- "jeida-18" - 18-bit data mapping compatible with the [JEIDA], [LDI] and
  [VESA] specifications. Data are transferred as follows on 3 LVDS lanes.</code></pre>
<pre><code>Slot          0       1       2       3       4       5       6
          ________________                         _________________
Clock                     \_______________________/
            ______  ______  ______  ______  ______  ______  ______
DATA0     &gt;&lt;__G0__&gt;&lt;__R5__&gt;&lt;__R4__&gt;&lt;__R3__&gt;&lt;__R2__&gt;&lt;__R1__&gt;&lt;__R0__&gt;&lt;
DATA1     &gt;&lt;__B1__&gt;&lt;__B0__&gt;&lt;__G5__&gt;&lt;__G4__&gt;&lt;__G3__&gt;&lt;__G2__&gt;&lt;__G1__&gt;&lt;
DATA2     &gt;&lt;_CTL2_&gt;&lt;_CTL1_&gt;&lt;_CTL0_&gt;&lt;__B5__&gt;&lt;__B4__&gt;&lt;__B3__&gt;&lt;__B2__&gt;&lt;</code></pre>
<pre><code>- "jeida-24" - 24-bit data mapping compatible with the [DSIM] and [LDI]
  specifications. Data are transferred as follows on 4 LVDS lanes.</code></pre>
<pre><code>Slot          0       1       2       3       4       5       6
          ________________                         _________________
Clock                     \_______________________/
            ______  ______  ______  ______  ______  ______  ______
DATA0     &gt;&lt;__G2__&gt;&lt;__R7__&gt;&lt;__R6__&gt;&lt;__R5__&gt;&lt;__R4__&gt;&lt;__R3__&gt;&lt;__R2__&gt;&lt;
DATA1     &gt;&lt;__B3__&gt;&lt;__B2__&gt;&lt;__G7__&gt;&lt;__G6__&gt;&lt;__G5__&gt;&lt;__G4__&gt;&lt;__G3__&gt;&lt;
DATA2     &gt;&lt;_CTL2_&gt;&lt;_CTL1_&gt;&lt;_CTL0_&gt;&lt;__B7__&gt;&lt;__B6__&gt;&lt;__B5__&gt;&lt;__B4__&gt;&lt;
DATA3     &gt;&lt;_CTL3_&gt;&lt;__B1__&gt;&lt;__B0__&gt;&lt;__G1__&gt;&lt;__G0__&gt;&lt;__R1__&gt;&lt;__R0__&gt;&lt;</code></pre>
<pre><code>- "jeida-30" - 30-bit data mapping compatible with JEIDA and VESA. Data
  are transferred as follows on 5 LVDS lanes.</code></pre>
<pre><code>Slot          0       1       2       3       4       5       6
          ________________                         _________________
Clock                     \_______________________/
            ______  ______  ______  ______  ______  ______  ______
DATA0     &gt;&lt;__G4__&gt;&lt;__R9__&gt;&lt;__R8__&gt;&lt;__R7__&gt;&lt;__R6__&gt;&lt;__R5__&gt;&lt;__R4__&gt;&lt;
DATA1     &gt;&lt;__B5__&gt;&lt;__B4__&gt;&lt;__G9__&gt;&lt;__G8__&gt;&lt;__G7__&gt;&lt;__G6__&gt;&lt;__G5__&gt;&lt;
DATA2     &gt;&lt;_CTL2_&gt;&lt;_CTL1_&gt;&lt;_CTL0_&gt;&lt;__B9__&gt;&lt;__B8__&gt;&lt;__B7__&gt;&lt;__B6__&gt;&lt;
DATA3     &gt;&lt;_CTL3_&gt;&lt;__B3__&gt;&lt;__B2__&gt;&lt;__G3__&gt;&lt;__G2__&gt;&lt;__R3__&gt;&lt;__R2__&gt;&lt;
DATA4     &gt;&lt;_CTL3_&gt;&lt;__B1__&gt;&lt;__B0__&gt;&lt;__G1__&gt;&lt;__G0__&gt;&lt;__R1__&gt;&lt;__R0__&gt;&lt;</code></pre>
<pre><code>- "vesa-24" - 24-bit data mapping compatible with the [VESA] specification.
  Data are transferred as follows on 4 LVDS lanes.</code></pre>
<pre><code>Slot          0       1       2       3       4       5       6
          ________________                         _________________
Clock                     \_______________________/
            ______  ______  ______  ______  ______  ______  ______
DATA0     &gt;&lt;__G0__&gt;&lt;__R5__&gt;&lt;__R4__&gt;&lt;__R3__&gt;&lt;__R2__&gt;&lt;__R1__&gt;&lt;__R0__&gt;&lt;
DATA1     &gt;&lt;__B1__&gt;&lt;__B0__&gt;&lt;__G5__&gt;&lt;__G4__&gt;&lt;__G3__&gt;&lt;__G2__&gt;&lt;__G1__&gt;&lt;
DATA2     &gt;&lt;_CTL2_&gt;&lt;_CTL1_&gt;&lt;_CTL0_&gt;&lt;__B5__&gt;&lt;__B4__&gt;&lt;__B3__&gt;&lt;__B2__&gt;&lt;
DATA3     &gt;&lt;_CTL3_&gt;&lt;__B7__&gt;&lt;__B6__&gt;&lt;__G7__&gt;&lt;__G6__&gt;&lt;__R7__&gt;&lt;__R6__&gt;&lt;</code></pre>
<pre><code>- "vesa-30" - 30-bit data mapping compatible with VESA. Data are
  transferred as follows on 5 LVDS lanes.</code></pre>
<pre><code>Slot          0       1       2       3       4       5       6
          ________________                         _________________
Clock                     \_______________________/
            ______  ______  ______  ______  ______  ______  ______
DATA0     &gt;&lt;__G0__&gt;&lt;__R5__&gt;&lt;__R4__&gt;&lt;__R3__&gt;&lt;__R2__&gt;&lt;__R1__&gt;&lt;__R0__&gt;&lt;
DATA1     &gt;&lt;__B1__&gt;&lt;__B0__&gt;&lt;__G5__&gt;&lt;__G4__&gt;&lt;__G3__&gt;&lt;__G2__&gt;&lt;__G1__&gt;&lt;
DATA2     &gt;&lt;_CTL2_&gt;&lt;_CTL1_&gt;&lt;_CTL0_&gt;&lt;__B5__&gt;&lt;__B4__&gt;&lt;__B3__&gt;&lt;__B2__&gt;&lt;
DATA3     &gt;&lt;_CTL3_&gt;&lt;__B7__&gt;&lt;__B6__&gt;&lt;__G7__&gt;&lt;__G6__&gt;&lt;__R7__&gt;&lt;__R6__&gt;&lt;
DATA4     &gt;&lt;_CTL3_&gt;&lt;__B9__&gt;&lt;__B8__&gt;&lt;__G9__&gt;&lt;__G8__&gt;&lt;__R9__&gt;&lt;__R8__&gt;&lt;</code></pre>
<p style="white-space: pre-wrap">Control signals are mapped as follows.</p>
<p style="white-space: pre-wrap">CTL0: HSync
CTL1: VSync
CTL2: Data Enable
CTL3: 0</p>
</div>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>true</code>

Allowed by this rule.

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