WIP FPC-III support
[linux/fpc-iii.git] / Documentation / devicetree / bindings / auxdisplay / modtronix,lcd2s.yaml
bloba1d55a2634a5875d39ba414e22a850b720f80a18
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/auxdisplay/modtronix,lcd2s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Modtronix engineering LCD2S Character LCD Display
9 maintainers:
10   - Lars Poeschel <poeschel@lemonage.de>
12 description:
13   The LCD2S is a Character LCD Display manufactured by Modtronix Engineering.
14   The display supports a serial I2C and SPI interface. The driver currently
15   only supports the I2C interface.
17 properties:
18   compatible:
19     const: modtronix,lcd2s
21   reg:
22     maxItems: 1
23     description:
24       I2C bus address of the display.
26   display-height-chars:
27     description: Height of the display, in character cells.
28     $ref: /schemas/types.yaml#/definitions/uint32
29     minimum: 1
30     maximum: 4
32   display-width-chars:
33     description: Width of the display, in character cells.
34     $ref: /schemas/types.yaml#/definitions/uint32
35     minimum: 16
36     maximum: 20
38 required:
39   - compatible
40   - reg
41   - display-height-chars
42   - display-width-chars
44 additionalProperties: false
46 examples:
47   - |
48     i2c {
49       #address-cells = <1>;
50       #size-cells = <0>;
52       lcd2s: auxdisplay@28 {
53         compatible = "modtronix,lcd2s";
54         reg = <0x28>;
55         display-height-chars = <4>;
56         display-width-chars = <20>;
57       };
58     };