# Advantech IDK-2121WR 21.5" Full-HD dual-LVDS panel

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

> Device-tree binding reference for Advantech IDK-2121WR 21.5" Full-HD dual-LVDS panel.

<!-- 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;panel&#47;advantech&#44;idk&#45;2121wr&#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;Lad Prabhakar &#60;prabhakar&#46;mahadev&#45;lad&#46;rj&#64;bp&#46;renesas&#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">The IDK-2121WR from Advantech is a Full-HD dual-LVDS panel.
A dual-LVDS interface is a dual-link connection with even pixels traveling
on one link, and with odd pixels traveling on the other link.</p>
<p style="white-space: pre-wrap">The panel expects odd pixels on the first port, and even pixels on the
second port, therefore the ports must be marked accordingly (with either
dual-lvds-odd-pixels or dual-lvds-even-pixels).</p>
</div>

<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;display&#47;lvds&#45;dual&#45;ports&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-display/lvds-dual-ports.md#dt-root>)</span>

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

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>panel&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-display/panel/panel-common.md#dt-root>)</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-cc3709943397035582d2"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;advantech&#44;idk&#45;2121wr&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> This rule adds no constraints.

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

### <code>width&#45;mm</code> — required here

**Exact value (<code>const</code>):** <span id="dt-532677befe2b0dd89507"><code>476</code></span>

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

### <code>height&#45;mm</code> — required here

**Exact value (<code>const</code>):** <span id="dt-6346bf5b8a9fa020b4cf"><code>268</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-6ed7b16e9ef81ab562a2"><code>&#34;vesa&#45;24&#34;</code></span>

<a id="dt-28a419e1415213b9fb88"></a>

### <code>panel&#45;timing</code> — required here

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

<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> — required here**

**Required in this object (<code>required</code>):** <a id="dt-e482eaee40d45c5fa41e"></a> <span id="dt-46cec9cab900f813be87"><code>&#34;dual&#45;lvds&#45;odd&#45;pixels&#34;</code></span>

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

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

**Required in this object (<code>required</code>):** <a id="dt-b2e9c0264f32f9d49a6a"></a> <span id="dt-94f9b0724d601defadef"><code>&#34;dual&#45;lvds&#45;even&#45;pixels&#34;</code></span>

**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-738c4b4f9e483441138b"></a>

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

<code>false</code>

Not allowed by this 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;width&#45;mm&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;height&#45;mm&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;data&#45;mapping&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;panel&#45;timing&#34;</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">panel-lvds {
  compatible = "advantech,idk-2121wr", "panel-lvds";

  width-mm = &lt;476&gt;;
  height-mm = &lt;268&gt;;

  data-mapping = "vesa-24";

  panel-timing {
    clock-frequency = &lt;148500000&gt;;
    hactive = &lt;1920&gt;;
    vactive = &lt;1080&gt;;
    hsync-len = &lt;44&gt;;
    hfront-porch = &lt;88&gt;;
    hback-porch = &lt;148&gt;;
    vfront-porch = &lt;4&gt;;
    vback-porch = &lt;36&gt;;
    vsync-len = &lt;5&gt;;
  };

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

    port@0 {
      reg = &lt;0&gt;;
      dual-lvds-odd-pixels;
      panel_in0: endpoint {
        remote-endpoint = &lt;&amp;lvds0_out&gt;;
      };
    };

    port@1 {
      reg = &lt;1&gt;;
      dual-lvds-even-pixels;
      panel_in1: endpoint {
        remote-endpoint = &lt;&amp;lvds1_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 30:</strong> <span> panel-lvds, but not listed here to avoid false select</span></p>

</details>
