Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3280308pxk; Mon, 5 Oct 2020 06:03:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzpSrU7cAXg4xCl2NgWifIGQKch38vFILng6Ym3OBHiU1MD2HSIl8G2fEDOhC4Chr6gbVd X-Received: by 2002:a17:906:f2d2:: with SMTP id gz18mr13740771ejb.542.1601903027998; Mon, 05 Oct 2020 06:03:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601903027; cv=none; d=google.com; s=arc-20160816; b=rLXImJ5wkZySi+Vb5AnsU5dRAy5nGILMUHnN5/TVWDvi5Iuz1Aftm2CJ1FoTXGzYl7 vNAYbjoPSC4i+ghAB6ntO0ZeWzCxvqdCQMaTt6RTi7gv9CAMu/e98fYHHSTYJ4p/ojJ8 Y+XBQqmIIda09pSUoptuumvnLfhwlmNsQ8Uhfr9Av6ukOKQ+JhnjYKOtbutfyjMJMe8t Y/qfYRBfBcgmyRryyssryUSk2oFKazCFDw3rhjXImLWf+uPBl7JNQVajm/FFfaVAsDwX ioEtKGNOAlkoH8rDruPKixfBI3NYLSlwidatjjdiCWZRnJKMxYJCbeWDC+daDB6IgqMV Bn+Q== 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:to:from; bh=Pte9liJ3zXVlzA37Tu2LLgsyqlaJsixlUKll3jzdigo=; b=SUx1goWkQQBq0u4S+yK10WXiLJSCPHY1XN6FyBovy09aYmUpmsdta2ax91YjDu++HX GcW1ktI//Vb2tIPb4ulJeVKtKmTwbIhno6iJ3Ou6hAQkWqw5Yk17Eac3SqbjpHH7H2eJ vkuBcvqI/itS5lt55/Sls2Bk27jLcvhz5CuL0z2KJEtDx0PUedkczgQiWXw3IZzRTjTx e65PVeGYLxo7lFMGV75l+uhAl489o8bjoKNaxtzyYy9JaifE127cQ1BI+EHrMWSmMRvV x7VRZpnhSp80oIqmyLoQgGPVFfEDjEkPb9gcd/j134YlQ6ZSEiQNR/hSM124FoLaNZJ8 34xQ== 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 ce27si7422259edb.384.2020.10.05.06.03.24; Mon, 05 Oct 2020 06:03:47 -0700 (PDT) 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 S1726561AbgJENB7 (ORCPT + 99 others); Mon, 5 Oct 2020 09:01:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726525AbgJENBx (ORCPT ); Mon, 5 Oct 2020 09:01:53 -0400 Received: from smtp3.goneo.de (smtp3.goneo.de [IPv6:2001:1640:5::8:37]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B102CC0613B8; Mon, 5 Oct 2020 06:01:52 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by smtp3.goneo.de (Postfix) with ESMTP id 871DF240285; Mon, 5 Oct 2020 15:01:51 +0200 (CEST) X-Virus-Scanned: by goneo X-Spam-Flag: NO X-Spam-Score: -2.952 X-Spam-Level: X-Spam-Status: No, score=-2.952 tagged_above=-999 tests=[ALL_TRUSTED=-1, AWL=-0.052, 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 Yz9d6g8QCr0n; Mon, 5 Oct 2020 15:01:49 +0200 (CEST) Received: from lem-wkst-02.lemonage.de. (hq.lemonage.de [87.138.178.34]) by smtp3.goneo.de (Postfix) with ESMTPA id E780724001C; Mon, 5 Oct 2020 15:01:47 +0200 (CEST) From: poeschel@lemonage.de To: Rob Herring , Lars Poeschel , Willy Tarreau , Sam Ravnborg , Linus Walleij , Arnd Bergmann , Mark Brown , Lubomir Rintel , Daniel Palmer , Geert Uytterhoeven , allen , Kuninori Morimoto , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v4 31/32] auxdisplay: lcd2s DT binding doc Date: Mon, 5 Oct 2020 15:01:27 +0200 Message-Id: <20201005130128.3430804-19-poeschel@lemonage.de> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201005130128.3430804-1-poeschel@lemonage.de> References: <20201005130128.3430804-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 Signed-off-by: Lars Poeschel --- 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 63996ab03521..a9dd168db6ce 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -667,6 +667,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