From: Conor Dooley <conor@kernel.org>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: "Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
"Srinivas Kandagatla" <srinivas.kandagatla@linaro.org>,
"Miquel Raynal" <miquel.raynal@bootlin.com>,
"Richard Weinberger" <richard@nod.at>,
"Vignesh Raghavendra" <vigneshr@ti.com>,
"Tom Rini" <trini@konsulko.com>,
"Florian Fainelli" <f.fainelli@gmail.com>,
"Joel Peshkin" <joel.peshkin@broadcom.com>,
"William Zhang" <william.zhang@broadcom.com>,
"Conor Dooley" <conor.dooley@microchip.com>,
devicetree@vger.kernel.org, linux-mtd@lists.infradead.org,
linux-arm-kernel@lists.infradead.org, u-boot@lists.denx.de,
bcm-kernel-feedback-list@broadcom.com,
linux-kernel@vger.kernel.org, "Rafał Miłecki" <rafal@milecki.pl>
Subject: Re: [PATCH V3 1/2] dt-bindings: mtd: partitions: u-boot: allow dynamic subpartitions
Date: Tue, 18 Oct 2022 16:50:58 +0100 [thread overview]
Message-ID: <Y07LYoq6Dh+k0uJm@spud> (raw)
In-Reply-To: <20221018154202.4634-1-zajec5@gmail.com>
On Tue, Oct 18, 2022 at 05:42:01PM +0200, Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> U-Boot partition may contain subpartitions. For example Broadcom
> includes environment data block in the middle of its U-Boot partition.
>
> This allows describing Broadcom's U-Boot env data and will allow
> referencing its NVMEM cell in the future.
>
> Reg: 118f3fbe517f4 ("dt-bindings: mtd: partitions: support label/name only partition")
Pardon my ignorance here, but what is the significance of a "Reg" tag?
Thanks,
Conor.
> Ref: dd638202dfb65 ("dt-bindings: mtd: partitions: add additional example for qcom,smem-part")
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> ---
> V3: Add this patch as pre-requirement for u-boot,env.yaml & brcm,env
> ---
> .../devicetree/bindings/mtd/partitions/u-boot.yaml | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mtd/partitions/u-boot.yaml b/Documentation/devicetree/bindings/mtd/partitions/u-boot.yaml
> index 8a88e7d16524..3c56efe48efd 100644
> --- a/Documentation/devicetree/bindings/mtd/partitions/u-boot.yaml
> +++ b/Documentation/devicetree/bindings/mtd/partitions/u-boot.yaml
> @@ -27,6 +27,10 @@ properties:
> Broadcom stores environment variables inside a U-Boot partition. They
> can be identified by a custom header with magic value.
>
> +patternProperties:
> + "^partition-.*$":
> + $ref: partition.yaml#
> +
> unevaluatedProperties: false
>
> examples:
> @@ -40,6 +44,9 @@ examples:
> compatible = "brcm,u-boot";
> reg = <0x0 0x100000>;
> label = "u-boot";
> +
> + partition-u-boot-env {
> + };
> };
>
> partition@100000 {
> --
> 2.34.1
>
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-10-18 15:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-18 15:42 [PATCH V3 1/2] dt-bindings: mtd: partitions: u-boot: allow dynamic subpartitions Rafał Miłecki
2022-10-18 15:42 ` [PATCH V3 2/2] dt-bindings: nvmem: u-boot,env: add Broadcom's variant binding Rafał Miłecki
2022-10-31 14:45 ` Rob Herring
2022-10-18 15:50 ` Conor Dooley [this message]
2022-10-18 15:55 ` [PATCH V3 1/2] dt-bindings: mtd: partitions: u-boot: allow dynamic subpartitions Rafał Miłecki
2022-10-18 16:01 ` Conor Dooley
2022-10-31 14:45 ` Rob Herring
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=Y07LYoq6Dh+k0uJm@spud \
--to=conor@kernel.org \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=conor.dooley@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=f.fainelli@gmail.com \
--cc=joel.peshkin@broadcom.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=rafal@milecki.pl \
--cc=richard@nod.at \
--cc=robh+dt@kernel.org \
--cc=srinivas.kandagatla@linaro.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
--cc=william.zhang@broadcom.com \
--cc=zajec5@gmail.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