# Modtronix engineering LCD2S Character LCD Display

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

> Device-tree binding reference for Modtronix engineering LCD2S Character LCD Display.

<!-- 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;auxdisplay&#47;modtronix&#44;lcd2s&#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;Lars Poeschel &#60;poeschel&#64;lemonage&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The LCD2S is a Character LCD Display manufactured by Modtronix Engineering. The display supports a serial I2C and SPI interface. The driver currently only supports the I2C interface.</p>
</div>

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

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

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;modtronix&#44;lcd2s&#34;</code></span>

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

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C bus address of the display.</p>
</div>

<a id="dt-11ae20e1db9e0517f5a1"></a>

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

<div id="dt-66be45a891655f5e0fbc">
<p style="white-space: pre-wrap">Height of the display, in character cells.</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-a40305f2e50e739b0206"><code>1</code></span>

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

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

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

<div id="dt-1774af711b8cb370d586">
<p style="white-space: pre-wrap">Width of the display, in character cells.</p>
</div>

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

**Minimum value (<code>minimum</code>):** <span id="dt-8c887b678397a6899cf9"><code>16</code></span>

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

**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;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;display&#45;height&#45;chars&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;display&#45;width&#45;chars&#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">i2c {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  lcd2s: auxdisplay@28 {
    compatible = "modtronix,lcd2s";
    reg = &lt;0x28&gt;;
    display-height-chars = &lt;4&gt;;
    display-width-chars = &lt;20&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>
