From patchwork Thu Nov 19 07:13:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 328377 Delivered-To: patch@linaro.org Received: by 2002:a17:907:2110:0:0:0:0 with SMTP id qn16csp116848ejb; Wed, 18 Nov 2020 23:13:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3aVz978wPLRQcZvwljU3e23joJNaugxrgrtwtXsZIY4HqQOiJLenhAyHXSLN489rabuvW X-Received: by 2002:adf:ec49:: with SMTP id w9mr8463422wrn.62.1605770034287; Wed, 18 Nov 2020 23:13:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605770034; cv=none; d=google.com; s=arc-20160816; b=Y+jU+XupsrVaHPA34SgWHK5VRDrjAxU0PGXC/to0/AieD5hWPp2nyUXO7OmUf8xaOG R3uXa4IitaLfFcZoLIy2qoGQcv6b396PAsQD3i1RBk2bqMhmsN3z7jyzMlH1MPn4l5ei d7t4NraksKf5vtjsu6lYHwmjEJMmqjLLfDq7/nW45nO4alBf2/tTH9cwM+Q0FVh4paM2 pToIDJbVEdfKK4W2ULTqO2mI6amBAzSeVW7zNajk/MGECbJgue1eI0FIO5wZ+xg62E3t UsSr5dtCEiK0cAF7JJ0/19GR46asyKtzvRLLklH5gzMHBifIpqEFhruHI9/uxT7TTDaK +cgA== 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=vpzcNPHHBDz8FDii4LZIEiE7ldsR0KWAKwCupR37vWXg5yUsCkYtUPdX1QFGwCVeJd QXuiXI+7uqbBb05/EEnn4AQZHAPMPb51TeIyQI3LEquJlyGhsemgNlu0QFm21aNVOjze J0f6OteMD9i/sawcmLcWH0MIo12QTdOpdp6GBAI19O0f9XQnK0nIartoK5HJhxNStrIT DZljRgfI0AfdlPHVi5e2DyHX2jAnENLK97gMJw7GQX+QC+C481K7N5LikDkCG8ZvFKjw ncf5tYB8MHPdN6sJEyOpgVM4bSTu0Cx/KUSvmtH8J/n2R71rUYbti+65DN0vPQSkOEoZ e/Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=merlin.20170209 header.b=rcKblESL; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fF2c5BlB; 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 q10si4074851wme.57.2020.11.18.23.13.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2020 23:13:54 -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=rcKblESL; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=fF2c5BlB; 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=rcKblESLqcJwZd/+tGSzxS675D 0vZM/Xi9U1hL/k9RoOk4hkiBz46myk+47P3IvGabOL33MvBGPWhd56BrlZ/u8PWsXOjdr/3GF+jc4 HhJVKecGgmregZpHl/3QzQqIWMobwrEJwzTFo7o0taHbGDnPll0scUbIlzOnbN+Q9eNg1qGvZ40yT s6vOqL6HYCMpVjfYNpJJLQ/qZlYPzz+tErOwjggaG/N8RfUJ16hjhqEE+xw8xLlPH5CAAkJfYI1dC WoS349mBSHDfCdtwi5l1mVnVN2Kt+Vc33g1kndHx9vxAGSxajmhyRSD80QmBJH8iLZepSNCOLBCaf qXTqjW9g==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfe8N-0005no-T9; Thu, 19 Nov 2020 07:13:36 +0000 Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfe8K-0005n9-Ae for linux-mtd@lists.infradead.org; Thu, 19 Nov 2020 07:13:33 +0000 Received: by mail-pf1-x432.google.com with SMTP id t8so3571913pfg.8 for ; Wed, 18 Nov 2020 23:13:32 -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=fF2c5BlBENboF8Y1Nu+N/7xWoSQULa2VjGFTzkM/PYZUg9jiRfN5JYusVOEWtV9MPl jJYZmS5J/IlXmMNYIuXyb4V/n5xXtnf38pU9c4PJe4GeKYVCVvQgNz75dWekVZZNX+6o eprwSUaJ7Ouz1qi/CaVZ3on68RVP1ntMBe+7+00OyIW0/m2t7EnL1JRgLPKsvyae9K6H ckDeHn+mGx9YaSAe9sYoxmEPsIYolSMkg3ccFTNiYHlLeWAd79KOw/Ses7BqCK05kjSD qRae4SK6ns5N+JKHV4+bdFF1oyoso50x9fKdpCKBiwMrqyXG7TEJ5klCi1US9VVr5G0H AsXw== 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=m9/3m0/sOXC2HIWuprWJHYsAOZwe0Fq7z6075sRGQI0YS93NQU7PmhD5kJ02zThxbx TIprQk77wCCGqWda0r25sGmbs6VKGkIf+4hg6yYKIs+t0TACRf57YFYrKzCZHjiWfFCL YH9fC1/ceWBh/Wo1dahMHDW9fa/Sg6dseF+GUiJE/36+KIxLBAAxOkiY6Qdg7firwsRf r11qZBqkfhEBz3IuxaV3uVD+qPEXHMWea/j/Ph2SCvPBV++B5OvlKr6zwPA7PXKYHTKc Tvfp/mKUMh1gS68LlNUkKYQf9YRNgOfxFQ/87mx/OTmunn+iaHfzhe1qp9YLzarHi4/d TRzw== X-Gm-Message-State: AOAM5322NyMSy0YYYaMxZYwpmU90dqpPv5YZsGv2WNbAVL+6eDlJIvd+ NXuX2wea3cHL4lqJPkIST3gg X-Received: by 2002:a17:90b:ec6:: with SMTP id gz6mr1192362pjb.142.1605770010350; Wed, 18 Nov 2020 23:13:30 -0800 (PST) Received: from localhost.localdomain ([103.59.133.81]) by smtp.googlemail.com with ESMTPSA id 12sm5491577pjt.25.2020.11.18.23.13.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Nov 2020 23:13:29 -0800 (PST) From: Manivannan Sadhasivam To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org Subject: [PATCH v3 1/4] dt-bindings: mtd: partitions: Add binding for Qcom SMEM parser Date: Thu, 19 Nov 2020 12:43:05 +0530 Message-Id: <20201119071308.9292-2-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201119071308.9292-1-manivannan.sadhasivam@linaro.org> References: <20201119071308.9292-1-manivannan.sadhasivam@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201119_021332_480078_5B8441E3 X-CRM114-Status: GOOD ( 14.24 ) 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:432 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_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 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.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/ Reviewed-by: Rob Herring 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"; + }; + };