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