Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp382165pxb; Tue, 3 Nov 2020 02:01:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+i1BJQN3cr0A6+4uo049aAE9eDsZ8GLuZpB/6897CjqJIGKqNaRZsfKGFARza6L+e0Md0 X-Received: by 2002:aa7:cad6:: with SMTP id l22mr21078174edt.229.1604397681894; Tue, 03 Nov 2020 02:01:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604397681; cv=none; d=google.com; s=arc-20160816; b=duttaR0xo6jSL7V2KYv2DnAZ552Ta+4FjfWnNpXGAX+8IiCnf9ICJg9Ko61JUOVxYu XfRsLebZxSyswFLGwTjqpE8Q974K8HCmT+lFXhuXUBd06JwT+Ys6xtrmuVPBJZrfa9Ke tt1FOGT6oIa6NZCQs+weP/E0XaERnFYb3OauyuKJQPghCPrfegaVApyxp1M9Vi2dh5bZ sug2aO8xQ0P8d+srTEuVufkv4FYa+wt1/xxpRU+2DuT3Va9Ou23ntuddULVT7AE700+s KFt1ttXDCgxCe23VJycGjfzEayQUFqUyYPb+0bXkOwfH5Ifo7K6VGxOv5v7522tHBCGF wFUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=bXt1LSt6DDx4LDJXACC1Gn5y/s8YKvch1uQvYTvwNKs=; b=KykIbpIVyNvpJCG5gOLJogkQsvKqepVIkr6gAQn3I66aEIlEYa8zhmwemiaoIGC8MF LSyI81Pub68rCYQsxsBY3Ku0BsRTl1hPOlnuYNamSIOmIItH4Gg/yju8IoQic5Yjd2Ef HiA6XsqvZ85Mu4OHDCtfkXU0j/SeBS1Pmdb94tlSYltzwMcFF73mUFAM0yfsKZNC/dVZ bkayu4YYDJBxNm9TzWvxPcXa6RrQ3VKOwdptTSTx9DnGUbT+Bw7tgq8/otHBfehmKtlb tyQeARFI/HLgE+nTOI5KD9tpxp54n0FlmoNmatBVHnqQXuPElQLYmOuAEv6PHL0BKeDb 3bAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q17si614718edg.162.2020.11.03.02.00.59; Tue, 03 Nov 2020 02:01:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727857AbgKCJ7P (ORCPT + 99 others); Tue, 3 Nov 2020 04:59:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33002 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728056AbgKCJ7N (ORCPT ); Tue, 3 Nov 2020 04:59:13 -0500 Received: from smtp3-1.goneo.de (smtp3.goneo.de [IPv6:2001:1640:5::8:37]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB97BC0613D1; Tue, 3 Nov 2020 01:59:12 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 52EA323FB43; Tue, 3 Nov 2020 10:59:10 +0100 (CET) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -2.941 X-Spam-Level: X-Spam-Status: No, score=-2.941 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.041, BAYES_00=-1.9] autolearn=ham Received: from smtp3.goneo.de ([127.0.0.1]) by localhost (smtp3.goneo.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mdSeGbVS1D-5; Tue, 3 Nov 2020 10:59:08 +0100 (CET) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPA id 03B3823F2CA; Tue, 3 Nov 2020 10:59:05 +0100 (CET) From: poeschel@lemonage.de To: Rob Herring , Willy Tarreau , Lars Poeschel , Sam Ravnborg , Linus Walleij , Arnd Bergmann , Krzysztof Kozlowski , Lubomir Rintel , Mark Brown , Geert Uytterhoeven , Kuninori Morimoto , allen , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Cc: Rob Herring Subject: [PATCH v6 24/25] auxdisplay: lcd2s DT binding doc Date: Tue, 3 Nov 2020 10:58:27 +0100 Message-Id: <20201103095828.515831-25-poeschel@lemonage.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201103095828.515831-1-poeschel@lemonage.de> References: <20201103095828.515831-1-poeschel@lemonage.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Lars Poeschel Add a binding doc for the modtronix lcd2s auxdisplay driver. It also adds modtronix to the list of known vendor-prefixes. Reviewed-by: Willy Tarreau Reviewed-by: Rob Herring Signed-off-by: Lars Poeschel --- Changes in v5: - Picked up Robs Reviewed-by Changes in v3: - Fixed make dt_binding_doc errors Changes in v2: - Adopted yaml based file format --- .../bindings/auxdisplay/modtronix,lcd2s.yaml | 58 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/auxdisplay/modtronix,lcd2s.yaml diff --git a/Documentation/devicetree/bindings/auxdisplay/modtronix,lcd2s.yaml b/Documentation/devicetree/bindings/auxdisplay/modtronix,lcd2s.yaml new file mode 100644 index 000000000000..a1d55a2634a5 --- /dev/null +++ b/Documentation/devicetree/bindings/auxdisplay/modtronix,lcd2s.yaml @@ -0,0 +1,58 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/auxdisplay/modtronix,lcd2s.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Modtronix engineering LCD2S Character LCD Display + +maintainers: + - Lars Poeschel + +description: + 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. + +properties: + compatible: + const: modtronix,lcd2s + + reg: + maxItems: 1 + description: + I2C bus address of the display. + + display-height-chars: + description: Height of the display, in character cells. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 1 + maximum: 4 + + display-width-chars: + description: Width of the display, in character cells. + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 16 + maximum: 20 + +required: + - compatible + - reg + - display-height-chars + - display-width-chars + +additionalProperties: false + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + + lcd2s: auxdisplay@28 { + compatible = "modtronix,lcd2s"; + reg = <0x28>; + 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 2735be1a8470..65f40ab5a87f 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -681,6 +681,8 @@ patternProperties: description: MiraMEMS Sensing Technology Co., Ltd. "^mitsubishi,.*": description: Mitsubishi Electric Corporation + "^modtronix,.*": + description: Modtronix Engineering "^mosaixtech,.*": description: Mosaix Technologies, Inc. "^motorola,.*": -- 2.28.0