Modtronix engineering LCD2S Character LCD Display
Schema identifier ($id): "http://devicetree.org/schemas/auxdisplay/modtronix,lcd2s.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Lars Poeschel <poeschel@lemonage.de>"
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.
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "modtronix,lcd2s"
reg — required here #
Maximum number of items (maxItems): 1
I2C bus address of the display.
display-height-chars — required here #
Height of the display, in character cells.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 1
Maximum value (maximum): 4
display-width-chars — required here #
Width of the display, in character cells.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Minimum value (minimum): 16
Maximum value (maximum): 20
Required in this object (required): "compatible", "reg", "display-height-chars", "display-width-chars"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
i2c {
#address-cells = <1>;
#size-cells = <0>;
lcd2s: auxdisplay@28 {
compatible = "modtronix,lcd2s";
reg = <0x28>;
display-height-chars = <4>;
display-width-chars = <20>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)