1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/auxdisplay/ 4 $id: http://devicetree.org/schemas/auxdisplay/modtronix,lcd2s.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Modtronix engineering LCD2S Character L 7 title: Modtronix engineering LCD2S Character LCD Display 8 8 9 maintainers: 9 maintainers: 10 - Lars Poeschel <poeschel@lemonage.de> 10 - Lars Poeschel <poeschel@lemonage.de> 11 11 12 description: 12 description: 13 The LCD2S is a Character LCD Display manufac 13 The LCD2S is a Character LCD Display manufactured by Modtronix Engineering. 14 The display supports a serial I2C and SPI in 14 The display supports a serial I2C and SPI interface. The driver currently 15 only supports the I2C interface. 15 only supports the I2C interface. 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 const: modtronix,lcd2s 19 const: modtronix,lcd2s 20 20 21 reg: 21 reg: 22 maxItems: 1 22 maxItems: 1 23 description: 23 description: 24 I2C bus address of the display. 24 I2C bus address of the display. 25 25 26 display-height-chars: 26 display-height-chars: 27 description: Height of the display, in cha 27 description: Height of the display, in character cells. 28 $ref: /schemas/types.yaml#/definitions/uin 28 $ref: /schemas/types.yaml#/definitions/uint32 29 minimum: 1 29 minimum: 1 30 maximum: 4 30 maximum: 4 31 31 32 display-width-chars: 32 display-width-chars: 33 description: Width of the display, in char 33 description: Width of the display, in character cells. 34 $ref: /schemas/types.yaml#/definitions/uin 34 $ref: /schemas/types.yaml#/definitions/uint32 35 minimum: 16 35 minimum: 16 36 maximum: 20 36 maximum: 20 37 37 38 required: 38 required: 39 - compatible 39 - compatible 40 - reg 40 - reg 41 - display-height-chars 41 - display-height-chars 42 - display-width-chars 42 - display-width-chars 43 43 44 additionalProperties: false 44 additionalProperties: false 45 45 46 examples: 46 examples: 47 - | 47 - | 48 i2c { 48 i2c { 49 #address-cells = <1>; 49 #address-cells = <1>; 50 #size-cells = <0>; 50 #size-cells = <0>; 51 51 52 lcd2s: auxdisplay@28 { 52 lcd2s: auxdisplay@28 { 53 compatible = "modtronix,lcd2s"; 53 compatible = "modtronix,lcd2s"; 54 reg = <0x28>; 54 reg = <0x28>; 55 display-height-chars = <4>; 55 display-height-chars = <4>; 56 display-width-chars = <20>; 56 display-width-chars = <20>; 57 }; 57 }; 58 }; 58 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.