xref: /linux/Documentation/devicetree/bindings/auxdisplay/modtronix,lcd2s.yaml (revision cdd38c5f1ce4398ec58fec95904b75824daab7b5)
1*1741b014SLars Poeschel# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*1741b014SLars Poeschel%YAML 1.2
3*1741b014SLars Poeschel---
4*1741b014SLars Poeschel$id: http://devicetree.org/schemas/auxdisplay/modtronix,lcd2s.yaml#
5*1741b014SLars Poeschel$schema: http://devicetree.org/meta-schemas/core.yaml#
6*1741b014SLars Poeschel
7*1741b014SLars Poescheltitle: Modtronix engineering LCD2S Character LCD Display
8*1741b014SLars Poeschel
9*1741b014SLars Poeschelmaintainers:
10*1741b014SLars Poeschel  - Lars Poeschel <poeschel@lemonage.de>
11*1741b014SLars Poeschel
12*1741b014SLars Poescheldescription:
13*1741b014SLars Poeschel  The LCD2S is a Character LCD Display manufactured by Modtronix Engineering.
14*1741b014SLars Poeschel  The display supports a serial I2C and SPI interface. The driver currently
15*1741b014SLars Poeschel  only supports the I2C interface.
16*1741b014SLars Poeschel
17*1741b014SLars Poeschelproperties:
18*1741b014SLars Poeschel  compatible:
19*1741b014SLars Poeschel    const: modtronix,lcd2s
20*1741b014SLars Poeschel
21*1741b014SLars Poeschel  reg:
22*1741b014SLars Poeschel    maxItems: 1
23*1741b014SLars Poeschel    description:
24*1741b014SLars Poeschel      I2C bus address of the display.
25*1741b014SLars Poeschel
26*1741b014SLars Poeschel  display-height-chars:
27*1741b014SLars Poeschel    description: Height of the display, in character cells.
28*1741b014SLars Poeschel    $ref: /schemas/types.yaml#/definitions/uint32
29*1741b014SLars Poeschel    minimum: 1
30*1741b014SLars Poeschel    maximum: 4
31*1741b014SLars Poeschel
32*1741b014SLars Poeschel  display-width-chars:
33*1741b014SLars Poeschel    description: Width of the display, in character cells.
34*1741b014SLars Poeschel    $ref: /schemas/types.yaml#/definitions/uint32
35*1741b014SLars Poeschel    minimum: 16
36*1741b014SLars Poeschel    maximum: 20
37*1741b014SLars Poeschel
38*1741b014SLars Poeschelrequired:
39*1741b014SLars Poeschel  - compatible
40*1741b014SLars Poeschel  - reg
41*1741b014SLars Poeschel  - display-height-chars
42*1741b014SLars Poeschel  - display-width-chars
43*1741b014SLars Poeschel
44*1741b014SLars PoescheladditionalProperties: false
45*1741b014SLars Poeschel
46*1741b014SLars Poeschelexamples:
47*1741b014SLars Poeschel  - |
48*1741b014SLars Poeschel    i2c {
49*1741b014SLars Poeschel      #address-cells = <1>;
50*1741b014SLars Poeschel      #size-cells = <0>;
51*1741b014SLars Poeschel
52*1741b014SLars Poeschel      lcd2s: auxdisplay@28 {
53*1741b014SLars Poeschel        compatible = "modtronix,lcd2s";
54*1741b014SLars Poeschel        reg = <0x28>;
55*1741b014SLars Poeschel        display-height-chars = <4>;
56*1741b014SLars Poeschel        display-width-chars = <20>;
57*1741b014SLars Poeschel      };
58*1741b014SLars Poeschel    };
59