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# 6 7title: Modtronix engineering LCD2S Character LCD Display 8 9maintainers: 10 - Lars Poeschel <poeschel@lemonage.de> 11 12description: 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. 16 17properties: 18 compatible: 19 const: modtronix,lcd2s 20 21 reg: 22 maxItems: 1 23 description: 24 I2C bus address of the display. 25 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 31 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 37 38required: 39 - compatible 40 - reg 41 - display-height-chars 42 - display-width-chars 43 44additionalProperties: false 45 46examples: 47 - | 48 i2c { 49 #address-cells = <1>; 50 #size-cells = <0>; 51 52 lcd2s: auxdisplay@28 { 53 compatible = "modtronix,lcd2s"; 54 reg = <0x28>; 55 display-height-chars = <4>; 56 display-width-chars = <20>; 57 }; 58 }; 59