[2/3] auxdisplay: lcd2s DT binding doc
diff mbox series

Message ID 20191016082654.6173-1-poeschel@lemonage.de
State Not Applicable
Headers show
Series
  • Untitled series #136425
Related show

Checks

Context Check Description
robh/dt-meta-schema success
robh/checkpatch success

Commit Message

Lars Poeschel Oct. 16, 2019, 8:26 a.m. UTC
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@lemonage.de>
---
 .../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

Comments

Rob Herring Oct. 29, 2019, 1:24 a.m. UTC | #1
On Wed, 16 Oct 2019 10:26:47 +0200, Lars Poeschel wrote:
> 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@lemonage.de>
> ---
>  .../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
> 

Reviewed-by: Rob Herring <robh@kernel.org>

Patch
diff mbox series

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,.*":