From patchwork Mon Jun 7 03:39:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Heiko Schocher X-Patchwork-Id: 1488396 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=aLzXgvsQ; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=Ugxt3Nrn; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4Fyzj64LYZz9sSn for ; Mon, 7 Jun 2021 13:42:50 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=LZz7kbY90vqdCf18wxd0OGBa03heQfP3oZedzL5yFXQ=; b=aLzXgvsQSmlS98 IlpKwRFgb+MZA6azLfQqdyxG/kyqkuN1DjdFTQc6Fx8Qq6xhFsBbgvX7mXfxStD+4Z0mwwLdCvLhs 6rVbjvu4CvThCrw2G19jr8yIYp8+Ptj6v/Rm4nbkXJkelieL+7E9D2X3aV6Qff5zhoDxyCKBObAc1 zMc1Glqk5EwoXv6eeHFXA8/JCn8JoB1lb1WySUssKuCzq/ANn0J013oVh3/WFBR5CAVG2ygliVqmB N1OlySQmd9ogT1XLvBZnczw5TI01spMtHO1txFma2lyi3kGepcb8aPxhYhNbZKpS6OQQ9s6rBLw8U mIXHQGy5eO/pAw61FbPQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lq67H-001ORg-H2; Mon, 07 Jun 2021 03:39:55 +0000 Received: from phobos.denx.de ([85.214.62.61]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lq66v-001OOh-P2 for linux-mtd@lists.infradead.org; Mon, 07 Jun 2021 03:39:37 +0000 Received: from mail-internal.denx.de (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: noc@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 7C43282CE6; Mon, 7 Jun 2021 05:39:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1623037172; bh=1pmwLBLgzqrDGqGyCCkjvGO4IpT1lSu/igKeua8K7X8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ugxt3NrnVeH7V8juJzocynVPoMdk0iDCsTZvt9+ys2zZqx2dGkt1Gn94Lv9rIGeGc zcC7CzITCgWzEcafGSy/rvVd6LmC59Lu0v6zdlpoLTZGUuogUc2+i+PhSH2wdd1mxO mvyM8Z69xL3WzeaEeywsm2B2VfMtqkH76BtI9hPt1YORwmtEBy74dhx1cZQDrgccYe 5jrBvqgJAxzH8unOGHgYryTunOoaJWGgSa/JPg0kKDuuZxAFnjiaCAtPgcQS2FDNGj p/ACz1YNd1Ue1+98xXnjAGSTRKztQCD2G9zvYCaLnYo0wiPE70NNFX9LxFJa8E4FRu Gj4OiqrsTfoUA== Received: from pollux.denx.de (pollux [192.168.1.1]) by mail-internal.denx.de (Postfix) with ESMTP id D663A182B91; Mon, 7 Jun 2021 05:39:14 +0200 (CEST) Received: by pollux.denx.de (Postfix, from userid 515) id A50731A8BB3; Mon, 7 Jun 2021 05:39:12 +0200 (CEST) From: Heiko Schocher To: linux-mtd@lists.infradead.org Cc: Heiko Schocher , Rob Herring , Fabio Estevam , Miquel Raynal , Richard Weinberger , Rob Herring , Vignesh Raghavendra , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 1/2] mtd: devices: add devicetree documentation for microchip 48l640 Date: Mon, 7 Jun 2021 05:39:08 +0200 Message-Id: <20210607033909.1424605-2-hs@denx.de> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210607033909.1424605-1-hs@denx.de> References: <20210607033909.1424605-1-hs@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210606_203933_993940_189F0AAA X-CRM114-Status: GOOD ( 12.80 ) X-Spam-Score: -2.5 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The Microchip 48l640 is a 8KByte EERAM connected via SPI. Add devicetree bindings documentation. Reviewed-by: Rob Herring Signed-off-by: Heiko Schocher --- Changes in v4: - work in comments from Rob: - change title to Microchip 48l640 (and similar) serial EERAM bindings - rename spi-eeram to eeram - Add Reviewed-by tag from Rob Content analysis details: (-2.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [85.214.62.61 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-mtd" Errors-To: linux-mtd-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org The Microchip 48l640 is a 8KByte EERAM connected via SPI. Add devicetree bindings documentation. Reviewed-by: Rob Herring Signed-off-by: Heiko Schocher --- Changes in v4: - work in comments from Rob: - change title to Microchip 48l640 (and similar) serial EERAM bindings - rename spi-eeram to eeram - Add Reviewed-by tag from Rob Changes in v3: Add Fabio to cc Changes in v2: as Rob helped, fix warnings from running command 'make DT_CHECKER_FLAGS=-m dt_binding_check' .../bindings/mtd/microchip,mchp48l640.yaml | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml diff --git a/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml b/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml new file mode 100644 index 0000000000000..2cdf6bf3dc4ab --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/microchip,mchp48l640.yaml @@ -0,0 +1,45 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/mtd/microchip,mchp48l640.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Microchip 48l640 (and similar) serial EERAM bindings + +maintainers: + - Heiko Schocher + +description: | + The Microchip 48l640 is a 8KByte EERAM connected via SPI. + + datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/20006055B.pdf + +properties: + compatible: + items: + - const: microchip,48l640 + + reg: + maxItems: 1 + + spi-max-frequency: true + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + spi { + #address-cells = <1>; + #size-cells = <0>; + + eeram@0 { + compatible = "microchip,48l640"; + reg = <0>; + spi-max-frequency = <20000000>; + }; + }; +...