# Common Properties for DSI Display Panels

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

> Device-tree binding reference for Common Properties for DSI Display Panels.

<!-- 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;dsi&#45;controller&#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;Linus Walleij &#60;linusw&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This document defines device tree properties common to DSI, Display
Serial Interface controllers and attached panels. It doesn't constitute
a device tree binding specification by itself but is meant to be referenced
by device tree bindings.</p>
<p style="white-space: pre-wrap">When referenced from panel device tree bindings the properties defined in
this document are defined as follows. The panel device tree bindings are
responsible for defining whether each property is required or optional.</p>
<p style="white-space: pre-wrap">Notice: this binding concerns DSI panels connected directly to a master
without any intermediate port graph to the panel. Each DSI master
can control one to four virtual channels to one panel. Each virtual
channel should have a node "panel" for their virtual channel with their
reg-property set to the virtual channel number, usually there is just
one virtual channel, number 0.</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

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;dsi&#40;&#64;&#46;&#42;&#41;&#63;&#36;&#34;</code></span>

<a id="dt-31ea25b7178ecae0adae"></a>

### <code>clock&#45;master</code> — not listed as required here

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

<div id="dt-b3d5a7daa2b024f5e53d">
<p style="white-space: pre-wrap">Should be enabled if the host is being used in conjunction with another DSI host to drive the same peripheral. Hardware supporting such a configuration generally requires the data on both the busses to be driven by the same clock. Only the DSI host instance controlling this clock should contain this property.</p>
</div>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

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

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

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

### <code>&#94;&#40;panel&#124;bridge&#41;&#64;&#91;0&#45;3&#93;&#36;</code> — name matches this regular expression

<div id="dt-843953f9db3778f2ba3c">
<p style="white-space: pre-wrap">Panels connected to the DSI link</p>
</div>

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

<a id="dt-7936acadb8e80180a870"></a>

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

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

**<code>reg</code> — required here**

**Minimum value (<code>minimum</code>):** <span id="dt-447de45a528b3d223b55"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-f84b2d18c894cc54153f"><code>3</code></span>

<div id="dt-f942c52936f43c484739">
<p style="white-space: pre-wrap">The virtual channel number of a DSI peripheral. Must be in the range from 0 to 3, as DSI uses a 2-bit addressing scheme. Some DSI peripherals respond to more than a single virtual channel. In that case the reg property can take multiple entries, one for each virtual channel that the peripheral responds to.</p>
</div>

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

**<code>enforce&#45;video&#45;mode</code> — not listed as required here**

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

<div id="dt-4f68025dbca1f76442c8">
<p style="white-space: pre-wrap">The best option is usually to run a panel in command mode, as this gives better control over the panel hardware. However for different reasons like broken hardware, missing features or testing, it may be useful to be able to force a command mode-capable panel into video mode.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-d42c9dca4edd5d31fb36"></a> <span id="dt-398e11baca9c1bb4d0a9"><code>&#34;reg&#34;</code></span>

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

<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;
dsi@a0351000 {
    reg = &lt;0xa0351000 0x1000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    panel@0 {
        compatible = "sony,acx424akp";
        reg = &lt;0&gt;;
        vddi-supply = &lt;&amp;ab8500_ldo_aux1_reg&gt;;
        reset-gpios = &lt;&amp;gpio2 1 GPIO_ACTIVE_LOW&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>
