From: Rob Herring <robh@kernel.org>
To: Christian Marangi <ansuelsmth@gmail.com>
Cc: �ecki <rafal@milecki.pl>, "Richard Weinberger" <richard@nod.at>,
linux-mtd@lists.infradead.org,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Rob Herring" <robh+dt@kernel.org>,
"Manivannan Sadhasivam" <mani@kernel.org>,
devicetree@vger.kernel.org, "Jens Axboe" <axboe@kernel.dk>,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Stephen Boyd" <sboyd@kernel.org>,
linux-kernel@vger.kernel.org,
"Vignesh Raghavendra" <vigneshr@ti.com>
Subject: Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: support label/name only partition
Date: Tue, 28 Jun 2022 13:44:55 -0600 [thread overview]
Message-ID: <20220628194455.GA863329-robh@kernel.org> (raw)
In-Reply-To: <20220622010628.30414-2-ansuelsmth@gmail.com>
On Wed, 22 Jun 2022 03:06:26 +0200, Christian Marangi wrote:
> Document new partition nodes that declare only the label/name instead
> of the reg used to provide an OF node for partition registred at runtime
> by parsers. This is required for nvmem system to declare and detect
> nvmem-cells.
>
> With these special partitions, the reg / offset is not required and a
> 'partition-' prefix is needed.
> The node name with the 'partition-' prefix stripped, is used to match
> the partition allocated by the parser at runtime and the parser will
> provide reg and offset of the mtd.
> If the partition to match contains invalid char for a node name, the
> label binding can be used to declare the partition name.
>
> NVMEM will use the data from the parser and provide the NVMEM cells
> declared in the DTS, "connecting" the dynamic partition with a
> static declaration of cells in them.
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
> .../bindings/mtd/partitions/partition.yaml | 20 +++++++++++++++++--
> 1 file changed, 18 insertions(+), 2 deletions(-)
>
Reviewed-by: Rob Herring <robh@kernel.org>
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: Christian Marangi <ansuelsmth@gmail.com>
Cc: �ecki <rafal@milecki.pl>, "Richard Weinberger" <richard@nod.at>,
linux-mtd@lists.infradead.org,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Rob Herring" <robh+dt@kernel.org>,
"Manivannan Sadhasivam" <mani@kernel.org>,
devicetree@vger.kernel.org, "Jens Axboe" <axboe@kernel.dk>,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Stephen Boyd" <sboyd@kernel.org>,
linux-kernel@vger.kernel.org,
"Vignesh Raghavendra" <vigneshr@ti.com>
Subject: Re: [PATCH v6 1/3] dt-bindings: mtd: partitions: support label/name only partition
Date: Tue, 28 Jun 2022 13:44:55 -0600 [thread overview]
Message-ID: <20220628194455.GA863329-robh@kernel.org> (raw)
In-Reply-To: <20220622010628.30414-2-ansuelsmth@gmail.com>
On Wed, 22 Jun 2022 03:06:26 +0200, Christian Marangi wrote:
> Document new partition nodes that declare only the label/name instead
> of the reg used to provide an OF node for partition registred at runtime
> by parsers. This is required for nvmem system to declare and detect
> nvmem-cells.
>
> With these special partitions, the reg / offset is not required and a
> 'partition-' prefix is needed.
> The node name with the 'partition-' prefix stripped, is used to match
> the partition allocated by the parser at runtime and the parser will
> provide reg and offset of the mtd.
> If the partition to match contains invalid char for a node name, the
> label binding can be used to declare the partition name.
>
> NVMEM will use the data from the parser and provide the NVMEM cells
> declared in the DTS, "connecting" the dynamic partition with a
> static declaration of cells in them.
>
> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> ---
> .../bindings/mtd/partitions/partition.yaml | 20 +++++++++++++++++--
> 1 file changed, 18 insertions(+), 2 deletions(-)
>
Reviewed-by: Rob Herring <robh@kernel.org>
next prev parent reply other threads:[~2022-06-28 19:45 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-22 1:06 [PATCH v6 0/3] Add nvmem support for dynamic partitions Christian Marangi
2022-06-22 1:06 ` Christian Marangi
2022-06-22 1:06 ` [PATCH v6 1/3] dt-bindings: mtd: partitions: support label/name only partition Christian Marangi
2022-06-22 1:06 ` Christian Marangi
2022-06-28 19:44 ` Rob Herring [this message]
2022-06-28 19:44 ` Rob Herring
2022-06-29 11:38 ` Miquel Raynal
2022-06-29 11:38 ` Miquel Raynal
2022-06-22 1:06 ` [PATCH v6 2/3] dt-bindings: mtd: partitions: add additional example for qcom,smem-part Christian Marangi
2022-06-22 1:06 ` Christian Marangi
2022-06-29 11:38 ` Miquel Raynal
2022-06-29 11:38 ` Miquel Raynal
2022-06-22 1:06 ` [PATCH v6 3/3] mtd: core: introduce of support for dynamic partitions Christian Marangi
2022-06-22 1:06 ` Christian Marangi
2022-06-29 11:38 ` Miquel Raynal
2022-06-29 11:38 ` Miquel Raynal
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=20220628194455.GA863329-robh@kernel.org \
--to=robh@kernel.org \
--cc=ansuelsmth@gmail.com \
--cc=axboe@kernel.dk \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=mani@kernel.org \
--cc=miquel.raynal@bootlin.com \
--cc=rafal@milecki.pl \
--cc=richard@nod.at \
--cc=robh+dt@kernel.org \
--cc=sboyd@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.