linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
To: Rob Herring <robh@kernel.org>
Cc: devicetree@vger.kernel.org, vigneshr@ti.com, richard@nod.at,
	linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
	bjorn.andersson@linaro.org, linux-mtd@lists.infradead.org,
	miquel.raynal@bootlin.com
Subject: Re: [PATCH v3 1/4] dt-bindings: mtd: partitions: Add binding for Qcom SMEM parser
Date: Fri, 11 Dec 2020 09:01:40 +0530	[thread overview]
Message-ID: <20201211033140.GA4222@work> (raw)
In-Reply-To: <20201207215236.GB892840@robh.at.kernel.org>

On Mon, Dec 07, 2020 at 03:52:36PM -0600, Rob Herring wrote:
> On Thu, Nov 19, 2020 at 12:43:05PM +0530, Manivannan Sadhasivam wrote:
> > Add YAML binding for Qualcomm Shared Memory (SMEM) Flash partition
> > parser.
> > 
> > Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
> > ---
> >  .../mtd/partitions/qcom,smem-part.yaml        | 33 +++++++++++++++++++
> >  1 file changed, 33 insertions(+)
> >  create mode 100644 Documentation/devicetree/bindings/mtd/partitions/qcom,smem-part.yaml
> > 
> > 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 <manivannan.sadhasivam@linaro.org>
> > +
> > +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.
> 
> V3 vs. V4 (and any other version for that matter) is discoverable?
> 

Yes, it is discoverable based on the partition header and we do that in
the parser.

Thanks,
Mani

> > +
> > +properties:
> > +  compatible:
> > +    const: qcom,smem-part
> > +
> > +required:
> > +  - compatible
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > +  - |
> > +    flash {
> > +        partitions {
> > +            compatible = "qcom,smem-part";
> > +        };
> > +    };
> > -- 
> > 2.17.1
> > 

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2020-12-11  3:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-19  7:13 [PATCH v3 0/4] Add support for Qcom SMEM based NAND parser Manivannan Sadhasivam
2020-11-19  7:13 ` [PATCH v3 1/4] dt-bindings: mtd: partitions: Add binding for Qcom SMEM parser Manivannan Sadhasivam
2020-12-07 21:52   ` Rob Herring
2020-12-11  3:31     ` Manivannan Sadhasivam [this message]
2020-12-11 21:13       ` Rob Herring
2020-11-19  7:13 ` [PATCH v3 2/4] mtd: parsers: Add " Manivannan Sadhasivam
2020-11-19  7:13 ` [PATCH v3 3/4] mtd: rawnand: qcom: Add support for " Manivannan Sadhasivam
2020-11-19  7:13 ` [PATCH v3 4/4] mtd: parsers: afs: Fix freeing the part name memory in failure Manivannan Sadhasivam
2020-12-10  4:09 ` [PATCH v3 0/4] Add support for Qcom SMEM based NAND parser Manivannan Sadhasivam
2020-12-10 21:24   ` Miquel Raynal
2020-12-11  3:10     ` Rob Herring
2020-12-11  3:36       ` Manivannan Sadhasivam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201211033140.GA4222@work \
    --to=manivannan.sadhasivam@linaro.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=miquel.raynal@bootlin.com \
    --cc=richard@nod.at \
    --cc=robh@kernel.org \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).