# Auxdisplay bindings

---

# ARM Versatile Character LCD

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

> Device-tree binding reference for ARM Versatile Character LCD.

<!-- 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;arm&#44;versatile&#45;lcd&#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>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Rob Herring &#60;robh&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding defines the character LCD interface found on ARM Versatile AB and PB reference platforms.</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;arm&#44;versatile&#45;lcd&#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>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

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

<a id="dt-041d7cd76b652a5de06a"></a>

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

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

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

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</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>

<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">lcd@10008000 {
    compatible = "arm,versatile-lcd";
    reg = &lt;0x10008000 0x1000&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>

---

# GPIO based LED segment display

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

> Device-tree binding reference for GPIO based LED segment 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;gpio&#45;7&#45;segment&#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;Chris Packham &#60;chris&#46;packham&#64;alliedtelesis&#46;co&#46;nz&#62;&#34;</code></span>

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

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

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

### <code>compatible</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;gpio&#45;7&#45;segment&#34;</code></span>

<a id="dt-46f8c8f43f78b21a664a"></a>

### <code>segment&#45;gpios</code> — required here

<div id="dt-d1c9def5312161abdda9">
<p style="white-space: pre-wrap">An array of GPIOs one per segment. The first GPIO corresponds to the A
segment, the seventh GPIO corresponds to the G segment. Some LED blocks
also have a decimal point which can be specified as an optional eighth
segment.</p>
<pre><code>         -a-
        |   |
        f   b
        |   |
         -g-
        |   |
        e   c
        |   |
         -d-  dp</code></pre>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-ff358bdac1fd000fab36"><code>7</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-805100455034c0e5cbfc"><code>8</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;segment&#45;gpios&#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">
#include &lt;dt-bindings/gpio/gpio.h&gt;

led-7seg {
    compatible = "gpio-7-segment";
    segment-gpios = &lt;&amp;gpio 0 GPIO_ACTIVE_LOW&gt;,
                    &lt;&amp;gpio 1 GPIO_ACTIVE_LOW&gt;,
                    &lt;&amp;gpio 2 GPIO_ACTIVE_LOW&gt;,
                    &lt;&amp;gpio 3 GPIO_ACTIVE_LOW&gt;,
                    &lt;&amp;gpio 4 GPIO_ACTIVE_LOW&gt;,
                    &lt;&amp;gpio 5 GPIO_ACTIVE_LOW&gt;,
                    &lt;&amp;gpio 6 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>

---

# Hitachi HD44780 Character LCD Controller

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

> Device-tree binding reference for Hitachi HD44780 Character LCD Controller.

<!-- 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;hit&#44;hd44780&#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;Geert Uytterhoeven &#60;geert&#64;linux&#45;m68k&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Hitachi HD44780 Character LCD Controller is commonly used on character LCDs that can display one or more lines of text. It exposes an M6800 bus interface, which can be used in either 4-bit or 8-bit mode. By using a GPIO expander it is possible to use the driver with one of the popular I2C expander boards based on the PCF8574 available for these displays. For an example see below.</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;hit&#44;hd44780&#34;</code></span>

<a id="dt-8d82a5899698d4129ff4"></a>

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

<div id="dt-70bd6caae45d951d6ae3">
<p style="white-space: pre-wrap">GPIO pins connected to the data signal lines DB0-DB7 (8-bit mode) or DB4-DB7 (4-bit mode) of the LCD Controller's bus interface.</p>
</div>

<a id="dt-3e7fb8a08d86eb24d33c"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Maximum number of items (<code>maxItems</code>):** <span id="dt-d0d1441fefb5e56c2dce"><code>4</code></span>

<a id="dt-6d8ef0bc625b2d86bab0"></a>

**Rule 2**

> **Maximum number of items (<code>maxItems</code>):** <span id="dt-a06fceb71dd49da7f225"><code>8</code></span>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — required here

<div id="dt-2169b15d9fc9d03c1e0f">
<p style="white-space: pre-wrap">GPIO pin connected to the "E" (Enable) signal line of the LCD Controller's bus interface.</p>
</div>

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

<a id="dt-4f952d4ca6563eafd64b"></a>

### <code>rs&#45;gpios</code> — required here

<div id="dt-1b76aae3967e6987faae">
<p style="white-space: pre-wrap">GPIO pin connected to the "RS" (Register Select) signal line of the LCD Controller's bus interface.</p>
</div>

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

<a id="dt-3a01948cb637a5557966"></a>

### <code>rw&#45;gpios</code> — not listed as required here

<div id="dt-584cbbe9c99ae824a9da">
<p style="white-space: pre-wrap">GPIO pin connected to the "RW" (Read/Write) signal line of the LCD Controller's bus interface.</p>
</div>

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

<a id="dt-6da0e23866fb22b811d5"></a>

### <code>backlight&#45;gpios</code> — not listed as required here

<div id="dt-d1ad59d6b4cd64d14ef4">
<p style="white-space: pre-wrap">GPIO pin used for enabling the LCD's backlight.</p>
</div>

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

<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>1</code></span>

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

<a id="dt-8a47c524f6be44f4fcf6"></a>

### <code>internal&#45;buffer&#45;width</code> — not listed as required here

<div id="dt-1e1c12e7965783c4917a">
<p style="white-space: pre-wrap">Internal buffer width (default is 40 for displays with 1 or 2 lines, and display-width-chars for displays with more than 2 lines).</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-382ee03d1bcaa8f6eff5">[<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-d1f75f7edb55a693e08d"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-bd27f1eb897de4705714"><code>64</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;data&#45;gpios&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;enable&#45;gpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;rs&#45;gpios&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;display&#45;height&#45;chars&#34;</code></span>, <span id="dt-c127a87237cb22622910"><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">#include &lt;dt-bindings/gpio/gpio.h&gt;
display-controller {
    compatible = "hit,hd44780";

    data-gpios = &lt;&amp;hc595 0 GPIO_ACTIVE_HIGH&gt;,
                 &lt;&amp;hc595 1 GPIO_ACTIVE_HIGH&gt;,
                 &lt;&amp;hc595 2 GPIO_ACTIVE_HIGH&gt;,
                 &lt;&amp;hc595 3 GPIO_ACTIVE_HIGH&gt;;
    enable-gpios = &lt;&amp;hc595 4 GPIO_ACTIVE_HIGH&gt;;
    rs-gpios = &lt;&amp;hc595 5 GPIO_ACTIVE_HIGH&gt;;

    display-height-chars = &lt;2&gt;;
    display-width-chars = &lt;16&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/gpio/gpio.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    pcf8574: gpio-expander@27 {
        compatible = "nxp,pcf8574";
        reg = &lt;0x27&gt;;
        gpio-controller;
        #gpio-cells = &lt;2&gt;;
    };
};

display-controller {
    compatible = "hit,hd44780";
    display-height-chars = &lt;2&gt;;
    display-width-chars = &lt;16&gt;;
    data-gpios = &lt;&amp;pcf8574 4 GPIO_ACTIVE_HIGH&gt;,
                 &lt;&amp;pcf8574 5 GPIO_ACTIVE_HIGH&gt;,
                 &lt;&amp;pcf8574 6 GPIO_ACTIVE_HIGH&gt;,
                 &lt;&amp;pcf8574 7 GPIO_ACTIVE_HIGH&gt;;
    enable-gpios = &lt;&amp;pcf8574 2 GPIO_ACTIVE_HIGH&gt;;
    rs-gpios = &lt;&amp;pcf8574 0 GPIO_ACTIVE_HIGH&gt;;
    rw-gpios = &lt;&amp;pcf8574 1 GPIO_ACTIVE_HIGH&gt;;
    backlight-gpios = &lt;&amp;pcf8574 3 GPIO_ACTIVE_HIGH&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>

---

# Holtek HT16K33 RAM mapping 16*8 LED controller with keyscan

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

> Device-tree binding reference for Holtek HT16K33 RAM mapping 16*8 LED controller with keyscan.

<!-- 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;holtek&#44;ht16k33&#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;Robin van der Gracht &#60;robin&#64;protonic&#46;nl&#62;&#34;</code></span>

<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;input&#47;matrix&#45;keymap&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-input/matrix-keymap.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-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;adafruit&#44;3108&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;adafruit&#44;3130&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;holtek&#44;ht16k33&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;holtek&#44;ht16k33&#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>

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

### <code>refresh&#45;rate&#45;hz</code> — not listed as required here

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

<div id="dt-e59ea4f0729eff942f62">
<p style="white-space: pre-wrap">Display update interval in Hertz for dot-matrix displays</p>
</div>

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

### <code>interrupts</code> — not listed as required here

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

<a id="dt-74490819fc7046060b9d"></a>

### <code>debounce&#45;delay&#45;ms</code> — not listed as required here

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

<div id="dt-2f4f9fe89298cc4de890">
<p style="white-space: pre-wrap">Debouncing interval time in milliseconds</p>
</div>

<a id="dt-8c9c353c8c60bb4f347a"></a>

### <code>linux&#44;keymap</code> — not listed as required here

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

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

### <code>linux&#44;no&#45;autorepeat</code> — not listed as required here

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

<div id="dt-ca21d90a3949b035dcf4">
<p style="white-space: pre-wrap">Disable keyrepeat</p>
</div>

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

### <code>default&#45;brightness&#45;level</code> — not listed as required here

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

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

**Default value (<code>default</code>):** <span id="dt-fc0a0b467a7ab279263e"><code>16</code></span>

<div id="dt-5ec7b951bc46314c02dc">
<p style="white-space: pre-wrap">Initial brightness level</p>
</div>

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

### <code>led</code> — not listed as required here

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9bcb424756fa839d1c42">[<code>&#47;schemas&#47;leds&#47;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-leds/common.md#dt-root>)</span>

<a id="dt-0464810ac301d76e7629"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</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;reg&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> **Exact value (<code>const</code>):** <span id="dt-e061d428c25e33fedf33"><code>&#34;holtek&#44;ht16k33&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;refresh&#45;rate&#45;hz&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/input/input.h&gt;
#include &lt;dt-bindings/leds/common.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    display-controller@70 {
        compatible = "holtek,ht16k33";
        reg = &lt;0x70&gt;;
        refresh-rate-hz = &lt;20&gt;;
        interrupt-parent = &lt;&amp;gpio4&gt;;
        interrupts = &lt;5 (IRQ_TYPE_LEVEL_HIGH | IRQ_TYPE_EDGE_RISING)&gt;;
        debounce-delay-ms = &lt;50&gt;;
        linux,keymap = &lt;MATRIX_KEY(2, 0, KEY_F6)&gt;,
                       &lt;MATRIX_KEY(3, 0, KEY_F8)&gt;,
                       &lt;MATRIX_KEY(4, 0, KEY_F10)&gt;,
                       &lt;MATRIX_KEY(5, 0, KEY_F4)&gt;,
                       &lt;MATRIX_KEY(6, 0, KEY_F2)&gt;,
                       &lt;MATRIX_KEY(2, 1, KEY_F5)&gt;,
                       &lt;MATRIX_KEY(3, 1, KEY_F7)&gt;,
                       &lt;MATRIX_KEY(4, 1, KEY_F9)&gt;,
                       &lt;MATRIX_KEY(5, 1, KEY_F3)&gt;,
                       &lt;MATRIX_KEY(6, 1, KEY_F1)&gt;;

        led {
            color = &lt;LED_COLOR_ID_RED&gt;;
            function = LED_FUNCTION_BACKLIGHT;
            linux,default-trigger = "backlight";
        };
    };
};
</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 20:</strong> <span> 0.56" 4-Digit 7-Segment FeatherWing Display (Red)</span></p>

<p id="dt-comment-2"><strong>Line 21:</strong> <span> 0.54" Quad Alphanumeric FeatherWing Display (Red)</span></p>

<p id="dt-comment-3"><strong>Line 24:</strong> <span> Generic 16*8 LED controller with dot-matrix display</span></p>

</details>

---

# ASCII LCD displays on Imagination Technologies boards

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

> Device-tree binding reference for ASCII LCD displays on Imagination Technologies boards.

<!-- 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;img&#44;ascii&#45;lcd&#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;Paul Burton &#60;paulburton&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;img&#44;boston&#45;lcd&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mti&#44;malta&#45;lcd&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;mti&#44;sead3&#45;lcd&#34;</code></span>

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

### <code>reg</code> — not listed as required here

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

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

### <code>offset</code> — not listed as required here

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

<div id="dt-dca739480f21ed1e1b3c">
<p style="white-space: pre-wrap">Offset in bytes to the LCD registers within the system controller</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-51356188806d31ca2021"></a>

## Exactly one of these rules must match (<code>oneOf</code>)

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

### Rule 1

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

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

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-686ce4562589647d257c"></a> <span id="dt-8060cb7221f215eec82f"><code>&#34;offset&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Exact value (<code>const</code>):** <span id="dt-0259836b095562054cc8"><code>&#34;img&#44;boston&#45;lcd&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;reg&#34;</code></span>

<a id="dt-6f6ab6f7f4b3f2f2f0a8"></a>

## When the condition does not match (<code>else</code>)

> **Required in this object (<code>required</code>):** <a id="dt-cd72ae5e06904daad8b3"></a> <span id="dt-4b5a0e58dc0207c72b47"><code>&#34;offset&#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">lcd: lcd@17fff000 {
    compatible = "img,boston-lcd";
    reg = &lt;0x17fff000 0x8&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>

---

# MAX6958/6959 7-segment LED display controller

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

> Device-tree binding reference for MAX6958/6959 7-segment LED display controller.

<!-- 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;maxim&#44;max6959&#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;Andy Shevchenko &#60;andriy&#46;shevchenko&#64;linux&#46;intel&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Maxim MAX6958/6959 7-segment LED display controller provides an I2C interface to up to four 7-segment LED digits. The MAX6959, in comparison to MAX6958, adds input support. Type of the chip can be autodetected via specific register read, and hence the features may be enabled in the driver at run-time, in case they are requested via Device Tree. A given hardware is simple and does not provide any additional pins, such as reset or power enable.</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;maxim&#44;max6959&#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>

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

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

    display-controller@38 {
        compatible = "maxim,max6959";
        reg = &lt;0x38&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>

---

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