Re: [PATCH V2 2/2] mtd: core: try to find OF node for every MTD partition

From: Miquel Raynal
Date: Tue Oct 18 2022 - 05:57:02 EST


On Tue, 2022-10-04 at 08:37:10 UTC, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= wrote:
> From: Rafał Miłecki <rafal@xxxxxxxxxx>
>
> So far this feature was limited to the top-level "nvmem-cells" node.
> There are multiple parsers creating partitions and subpartitions
> dynamically. Extend that code to handle them too.
>
> This allows finding partition-* node for every MTD (sub)partition.
>
> Random example:
>
> partitions {
> compatible = "brcm,bcm947xx-cfe-partitions";
>
> partition-firmware {
> compatible = "brcm,trx";
>
> partition-loader {
> };
> };
> };
>
> Cc: Christian Marangi <ansuelsmth@xxxxxxxxx>
> Signed-off-by: Rafał Miłecki <rafal@xxxxxxxxxx>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel