# display timings

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

> Device-tree binding reference for display timings.

<!-- 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;display&#45;timings&#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;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Laurent Pinchart &#60;laurent&#46;pinchart&#43;renesas&#64;ideasonboard&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Sam Ravnborg &#60;sam&#64;ravnborg&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">A display panel may be able to handle several display timings,
with different resolutions.
The display-timings node makes it possible to specify the timings
and to specify the timing that is native for the display.</p>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8cca737a574136d30da2"><code>&#34;display&#45;timings&#34;</code></span>

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

### <code>native&#45;mode</code> — not listed as required here

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

<div id="dt-785cfc8db147fd13c4ac">
<p style="white-space: pre-wrap">The default display timing is the one specified as native-mode.
If no native-mode is specified then the first node is assumed
to be the native mode.</p>
</div>

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

## Properties matching a name pattern (<code>patternProperties</code>)

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

### <code>&#94;timing</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-a0a575f373e0173bd1a4"><code>&#34;object&#34;</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-096b2e93643b3abddce9">[<code>panel&#45;timing&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-display/panel/panel-timing.md#dt-root>)</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">
/*
 * Example that specifies panel timing using minimum, typical,
 * maximum values as commonly used in datasheet description.
 * timing1 is the native-mode.
 */
display-timings {
    native-mode = &lt;&amp;timing1&gt;;
    timing0 {
        /* 1920x1080p24 */
        clock-frequency = &lt;148500000&gt;;
        hactive = &lt;1920&gt;;
        vactive = &lt;1080&gt;;
        hsync-len = &lt;0 44 60&gt;;
        hfront-porch = &lt;80 88 95&gt;;
        hback-porch = &lt;100 148 160&gt;;
        vfront-porch = &lt;0 4 6&gt;;
        vback-porch = &lt;0 36 50&gt;;
        vsync-len = &lt;0 5 6&gt;;
    };
    timing1 {
        /* 1920x1080p24 */
        clock-frequency = &lt;52000000&gt;;
        hactive = &lt;1920&gt;;
        vactive = &lt;1080&gt;;
        hfront-porch = &lt;25&gt;;
        hback-porch = &lt;25&gt;;
        hsync-len = &lt;0 25 25&gt;;
        vback-porch = &lt;2&gt;;
        vfront-porch = &lt;2&gt;;
        vsync-len = &lt;2&gt;;
        hsync-active = &lt;1&gt;;
        pixelclk-active = &lt;1&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>
