From patchwork Tue Nov 17 17:48:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 325521 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp4369393ils; Tue, 17 Nov 2020 09:49:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+jLvJIOI2XNj1Go5MeecqfUep8gbfmjjjfQM2XkY0Sw4qxYFSZxmEDYHkOgh07lGHfU1B X-Received: by 2002:a7b:c391:: with SMTP id s17mr275629wmj.66.1605635355662; Tue, 17 Nov 2020 09:49:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605635355; cv=none; d=google.com; s=arc-20160816; b=y8aMNd0G8X4qn6Uh/leBe6MTKn/pt/tKGieclNlMl3woWFl5E5aHJFRj5TAfKahDEM cFYYypPEGeI87Ax6zcqY9kSkZnOm1iUAIrARvtJ7mnTOSADSBGoEjznq0g4Jadg5qvJH T9dwsQZK0MnJUCmX0MykBE3sI/Fy/+ZDpDJXI4+5eHDVKWxJ6vQKsfq+92RfLe6dBBT2 uoMYQAhYmr/8CcgY1mDOwYJjAdNnKu6OeyKG4UgTSlMNsb7Z6sfn4viQnMs/Nj66YbvB keKr2q2F65zP3HkXAu5HOkjejLdH7KhJLpvdfIjyPxxou0bhbTAjKrjxKpICdBGhZqMR k6mA== 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=Ha72IdCglX5I2VMZsXHnk6dnCgg/xSmMM6pUzd8Ft00=; b=PTxVktPKuo0rgwwmycGLg35a0MAiuSkPvB5oVPUHEYZuypict2KqlYdlUNlAEXKuRM MMbMU4ctRvOTSqxJ1D6JDnzlNVUAmfIu9CXhN78i6y70Q/nR+px4fjq+hyCy/vPiLraR hKRNQs3su8fb1nBDwLujY+e/zcRN6pMqE69JXvOLqYjd+Lp3We8Qzm4opjRR3eYwQ0qF VbrH0Ah3uGc8Shf8H1Ie2B1sXEr1v7/cIoyI+yzimXzBUnMOcAWcSUbWYNElLMbfpNB+ Ba9zIsiky8oUxQWEbiDpMpLOLZXyjm8GzIoaVbIq/dJUlMNx/Vw2o2mA4o4eu8cRq+OS hzVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=JLOr2YXx; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hkLaoiz2; 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 b12si20827141wrm.335.2020.11.17.09.49.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 09:49:15 -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=JLOr2YXx; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=hkLaoiz2; 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=Ha72IdCglX5I2VMZsXHnk6dnCgg/xSmMM6pUzd8Ft00=; b=JLOr2YXx34gJIKY2jrH9RtZMKI u0n/quTcLPcP7QyZGkamSeMav0AwmBb4vDDamscCrBvd6MnLrk0RDnb2W6f/XsllEVBbaylQDDfeQ klEefqrbRskoCOt9y8EZSPydEvDpwR9ljtdaibKzZfnQTK2KXI7KSIUHOiDzUiEVy+mVm04InAm7D okAXN/4lUErxXg1pnGuo2nrsrZWjojCaRKpNK05yz+BjXk4rvQNXUgF+NUFfTXQIo0ZL51ymAe0Gg TwrGOS7gF7lDb0rVOHQeDKucRDaN4oTOWU0vobkh+2eY8iEL4fJN66hgNNT744lq2oA3qRxX+6Ws+ R0+BWcsA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kf56H-00078J-L9; Tue, 17 Nov 2020 17:49:05 +0000 Received: from mail-pj1-x1036.google.com ([2607:f8b0:4864:20::1036]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kf56E-000774-FE for linux-mtd@lists.infradead.org; Tue, 17 Nov 2020 17:49:03 +0000 Received: by mail-pj1-x1036.google.com with SMTP id gi3so912901pjb.3 for ; Tue, 17 Nov 2020 09:49:01 -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=jVl81ZS9fFrGd+ufPYRPV6WNHXbkD50mNDrAZQnv39A=; b=hkLaoiz2lCG8tln82zm7qfOl0cDYLureyURBuaXH0PW+24+gvVK577hO5cNqI/F2aV +GzMDYmWlne/pkBM+dzDfJnQpgrLbniED7sUDitRpnxxKZjuzR8aLV0dYiozsnsOmwn1 9UHgFxx1EGsPczmBiB4PDynbbKEf8EDnIK5/jsO+eUuGGwO2CW6vU/uolWJExRUfW0Ig G4Fn3d8qgVU/z/93B6Yaq4oInZigk7lXpZpyUcXiaajbhasY2FeLedNhRlai/r3pYYrb XXb4u2iaMe7ReCIl9scVlGdGRvnn7UWb7invf8vBpD0I8VswVGhoBQLc5gUaHPzdyVph yqCA== 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=jVl81ZS9fFrGd+ufPYRPV6WNHXbkD50mNDrAZQnv39A=; b=KyDVjW1l+sN3BTPRDHkaDB1VeXpaRZN79AMMCT0oV143dSkdQ4hhuuGU9Vy6zKtv7c IVj/q6MWbK401qdg1YF/d39Tn5UHz/7zk9p3xYxGs99ohMU5cOLLTG/0zIgbpWBl8Ue6 FiyMJuzj2pN04gPLFnd0c2JwDUo22Vb1fj1n5njMlBzowyxftm6J7yX5+zdh7wwrk44o QrmXUkS6h1McrviB0bkqa6X/icKXhQdnwOeO5N42VS9wGJC9mKSz5FMIhwgnFN5jcs9Z c9CmeviTnOBa/oLtrhrLyZzYWEYx2QxkLreaU+BgVyN8Slzx5+uL2t1ZfSkwF1IFtUo9 UEYA== X-Gm-Message-State: AOAM531qxLufCQDyZHn3K8EMjDdsG74rKe3VISh0qrW6NTkHocIFQQ5h CpqWRHyE1vGq7P0YgkIEDSyj X-Received: by 2002:a17:90a:1b44:: with SMTP id q62mr201421pjq.59.1605635340003; Tue, 17 Nov 2020 09:49:00 -0800 (PST) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id 192sm22222810pfz.200.2020.11.17.09.48.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 09:48:59 -0800 (PST) From: Manivannan Sadhasivam To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org Subject: [PATCH v2 1/4] dt-bindings: mtd: partitions: Add binding for Qcom SMEM parser Date: Tue, 17 Nov 2020 23:18:42 +0530 Message-Id: <20201117174845.28684-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201117174845.28684-1-manivannan.sadhasivam@linaro.org> References: <20201117174845.28684-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201117_124902_561870_BA82DA64 X-CRM114-Status: GOOD ( 14.29 ) 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:1036 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 | 33 +++++++++++++++++++ 1 file changed, 33 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..cf3f8c1e035d --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml @@ -0,0 +1,33 @@ +# 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 + +additionalProperties: false + +examples: + - | + flash { + partitions { + compatible = "qcom,smem-part"; + }; + };