Add a binding doc for the modtronix lcd2s auxdisplay driver. It also adds modtronix to the list of known vendor-prefixes. Signed-off-by: Lars Poeschel <poeschel@xxxxxxxxxxx> --- .../bindings/auxdisplay/modtronix,lcd2s.txt | 24 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/auxdisplay/modtronix,lcd2s.txt diff --git a/Documentation/devicetree/bindings/auxdisplay/modtronix,lcd2s.txt b/Documentation/devicetree/bindings/auxdisplay/modtronix,lcd2s.txt new file mode 100644 index 000000000000..2d4235482658 --- /dev/null +++ b/Documentation/devicetree/bindings/auxdisplay/modtronix,lcd2s.txt @@ -0,0 +1,24 @@ +DT bindings for the LCD2S Character LCD Display + +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. + +Required properties: + - compatible: Must contain "modtronix,lcd2s", + - reg: I2C bus address of the display, + - display-height-chars: Height of the display, in character cells, + - display-width-chars: Width of the display, in character cells. + +Example: + +i2c1: i2c@0 { + compatible = "ti,omap3-i2c"; + + lcd2s: auxdisplay@28 { + reg = <0x28>; + compatible = "modtronix,lcd2s"; + display-height-chars = <4>; + display-width-chars = <20>; + }; +}; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 967e78c5ec0a..b853974956f1 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -603,6 +603,8 @@ patternProperties: description: MiraMEMS Sensing Technology Co., Ltd. "^mitsubishi,.*": description: Mitsubishi Electric Corporation + "^modtronix,.*": + description: Modtronix Engineering "^mosaixtech,.*": description: Mosaix Technologies, Inc. "^motorola,.*": -- 2.23.0