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

Miquel Raynal miquel.raynal at bootlin.com
Tue Oct 18 02:56:45 PDT 2022


On Tue, 2022-10-04 at 08:37:10 UTC, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= wrote:
> From: Rafał Miłecki <rafal at milecki.pl>
> 
> 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 at gmail.com>
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>

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

Miquel



More information about the linux-mtd mailing list