From patchwork Tue Nov 17 17:39:06 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 325516 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp4362955ils; Tue, 17 Nov 2020 09:39:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJxe4qrHV1VWF0J6o+iadn32mavhCWCZMk3Mf+Zz1maZk9J1w2ekKlnEv0K+MMbToIe3GXWN X-Received: by 2002:ad4:470d:: with SMTP id k13mr714433qvz.40.1605634789289; Tue, 17 Nov 2020 09:39:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605634789; cv=none; d=google.com; s=arc-20160816; b=b5v9gePvqXoGdurOgpAN2q+60bGBvicxe0UdSQZVLVbS++wegiAsNmr6lRE5MmmaZd LVh6MttdEbm93rkt/3YfFw7urzzlYFengGYZPeJXvuCh1ynDuTyYVp/feots70t94lpZ 8C/EN5Edln9w+5+AFPwbTmf/vCEFd/xb7UmVtrcL+3tNT+09iCdAxEkWK7dOCpnptaCs VxYWBtFvRznc5CEScwTBNXxlkbCZphD5kGyRQJf+eNtwvvZyAj0sqEjKXsL4IOOnxeKh MTkuM0tpZdxCajuh1H3de5pe+sEy+xW2BdA6Jsistj5b/pr+biubb5kPgO4hnq/w1A0l AKAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:references:in-reply-to:message-id:date:subject :to:from:dkim-signature:dkim-signature; bh=tmMFh1kV7OKbsb0MCbTeNJ/zwh7BUZDMOozqoLYmcK4=; b=dOKanVlnTV5vvRgGLDs6KN1ab0VwFlmXyTcYM8k6e1NyAkVOkIgz/SwmK/t9PbtOxz +e/B/5VNT5DNhjRIope7g646ETdfrjtQmsBAePURLSey+vjyBAD+pJwCzmxrPEw2zllh NTn+0L9OSfyjBRrQ0cNfOkHmtT5moD3bzoclFI7WjAB947NpMpybi/DoD71kTfa0Bm2Z SFvhe4g1UWpzXPC5+PBFp91YrychA7vUKY6yyWIAQssKyVP3+gFnh93OEGKNEGITIF6U w19SMnIfesr7SL3RB2bNYQPn4ixaejSLuC3GfmGShfTwULmVPgSy3S+G+kCQpTquIRqb z8TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=C2ufzJ0j; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=iMhheqEE; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from merlin.infradead.org (merlin.infradead.org. [2001:8b0:10b:1231::1]) by mx.google.com with ESMTPS id v23si8987472qkf.375.2020.11.17.09.39.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 09:39:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) client-ip=2001:8b0:10b:1231::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=C2ufzJ0j; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=iMhheqEE; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 2001:8b0:10b:1231::1 as permitted sender) smtp.mailfrom="linux-mtd-bounces+patch=linaro.org@lists.infradead.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:In-Reply-To:Message-Id:Date:Subject:To: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=tmMFh1kV7OKbsb0MCbTeNJ/zwh7BUZDMOozqoLYmcK4=; b=C2ufzJ0jnvqQcx3+xFIIdIYFSS UD2sGuJGUMFU3UnKEl1sB00M1rVw+C5ZlBese7lqbePaXHG35jlIspdwI9Wh80EQcZAqUDqTOUCze jN2hlaUv699+5gO2Jt6EHRlz9v8TlYdnm7WZMBxCr1A4Fg72i7M96iK/u7aZVB5GcVXSUp19YUyKx 4ghgD3nAaYn899aDq1k3B8cT9CAgvZC2yeN2V18DfxgVxTYBnyt3aIe4aAsPiRpjoB2eib57NX6cs Z0j32ovMo7VCapCgXRI+BwvkUcjB+ldz0WXKIu8BS4zokWHS+act2U0B/mCN/abOdZ08npp/Ibmi+ sZpiMq8A==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kf4x9-0004wJ-RF; Tue, 17 Nov 2020 17:39:39 +0000 Received: from mail-pg1-x543.google.com ([2607:f8b0:4864:20::543]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kf4x6-0004uj-Or for linux-mtd@lists.infradead.org; Tue, 17 Nov 2020 17:39:38 +0000 Received: by mail-pg1-x543.google.com with SMTP id w4so16473195pgg.13 for ; Tue, 17 Nov 2020 09:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Z7z9ZRILC9uN9iHlx1xbJ9BYeKh/BzimXNJ9muC2tZE=; b=iMhheqEEtzlcTH3JWm7eKlSWO6dx+/gAWszscdzjMx9IT9JSPVzPdUu7Xlocg3dVp4 RS5+e1e1hjcLCK4A+Xpo4IIlMmbkHzIIbD2VtAQsYELArr5qAx+uagVGYh1eFhhw1IeX mHCxvRlro8+iZzHxTuB5nBNU9tQ3IigTM/1s0rYId0eGZI3F8iOZRRHbpqUW1jtrZpmx JjLzFAODDzSPZMWTuznEM3H8wb1zgbLgEqQPXiR6p5/xCR8fdLQYDI9JgtN6T/0q+0tI 1IKamxmeuoflCVM4GPjY7GWDfebj3peqcn6JdlCYn1E2pW8mSoz6M6WDcQsI1WCDXFrX uqNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Z7z9ZRILC9uN9iHlx1xbJ9BYeKh/BzimXNJ9muC2tZE=; b=T1+7AaQUBD33VPokZHDm+3usT2VunKdsKzdeqN1eU77tw2eockIRDckGtwYSuP98Ph /7E7ROHlWBUcKcnTCvpjO/6pcR8IW7EDvOTIodiWWYlXPop33NUZ7s1f/+pkK2atPvNg mNzch/uW2+9nha94eZKdCPt6DiCxMqG0tMJkbZ5fsgadrDeMszEgu3s6mYggPXXGmZGr O+RzSq4s4A5DfeGDvf3SQLYWNFVTlf0ZRkCYub2jXjq4uQd+g8fw8ip/8jENSJ/4Bzji C4Z2CHRCNDJF8NzfvHzOs+bj1KSa4uUGlQx4mKPJybbNrHJpZvB924m1M3GBkSEQOUuZ tnCQ== X-Gm-Message-State: AOAM531x/CzxyFbKpdWe2DpUm8jRV4ladyiIBE+nuY3bsKaWe3UEIuxo wmFwTjci1Kg1UN9S7uM4U1Eu X-Received: by 2002:aa7:86c9:0:b029:18b:b0c:53e5 with SMTP id h9-20020aa786c90000b029018b0b0c53e5mr381547pfo.57.1605634774347; Tue, 17 Nov 2020 09:39:34 -0800 (PST) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id a21sm1751330pjq.37.2020.11.17.09.39.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 09:39:33 -0800 (PST) From: Manivannan Sadhasivam To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org Subject: [PATCH 1/4] dt-bindings: mtd: partitions: Add binding for Qcom SMEM parser Date: Tue, 17 Nov 2020 23:09:06 +0530 Message-Id: <20201117173909.23585-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201117173909.23585-1-manivannan.sadhasivam@linaro.org> References: <20201117173909.23585-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201117_123936_882926_B4F30423 X-CRM114-Status: GOOD ( 14.57 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:543 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -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 -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, linux-mtd@lists.infradead.org, Manivannan Sadhasivam MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org Add YAML binding for Qualcomm Shared Memory (SMEM) Flash partition parser. Signed-off-by: Manivannan Sadhasivam --- .../mtd/partitions/qcom,smem-part.yaml | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml -- 2.17.1 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/ diff --git a/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml b/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml new file mode 100644 index 000000000000..0682aef2d54f --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mtd/partitions/qcom,smem-part.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm SMEM NAND flash partition parser binding + +maintainers: + - Manivannan Sadhasivam + +description: | + The Qualcomm SoCs supporting the NAND controller interface features a Shared + Memory (SMEM) based partition table scheme. The maximum partitions supported + varies between partition table revisions. V3 supports maximum 16 partitions + and V4 supports 48 partitions. + +properties: + compatible: + const: qcom,smem-part + +required: + - compatible + +examples: + - | + flash@0 { + partitions { + compatible = "qcom,smem-part"; + }; + };