brintos

brintos / linux-shallow public Read only

0
0
Text · 1.3 KiB · a1d55a2 Raw
59 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 Display8 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 currently15  only supports the I2C interface.16 17properties:18  compatible:19    const: modtronix,lcd2s20 21  reg:22    maxItems: 123    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/uint3229    minimum: 130    maximum: 431 32  display-width-chars:33    description: Width of the display, in character cells.34    $ref: /schemas/types.yaml#/definitions/uint3235    minimum: 1636    maximum: 2037 38required:39  - compatible40  - reg41  - display-height-chars42  - display-width-chars43 44additionalProperties: false45 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