Re: [PATCH 0/3] mtd: rawnand: mxc: set raw chip's to child nand@0

From: Miquel Raynal

Date: Wed Mar 11 2026 - 11:39:25 EST


On Tue, 10 Mar 2026 15:07:36 -0400, Frank Li wrote:
> The nand-controller.yaml binding requires a child node (e.g. nand@0) under
> the NAND controller. However, the driver currently assigns the controller's
> of_node directly to the NAND chip.
>
> Search for the first child node with the "nand" prefix and assign it to
> chip->of_node. This filters out properties such as "partition" that may be
> placed under the controller node in some older DTS files.
>
> [...]

Applied to nand/next, thanks!

[1/3] mtd: rawnand: gpmi: set chip->of_node to nand@0 child node if present
commit: 3a6e21ea57c8118d3095f073aeaf9362dc2c3865
[2/3] mtd: rawnand: mxc: set chip->of_node to nand@0 child node if present
commit: f7bd1948a5461df9e1027d5bd9a511e754146689
[3/3] mtd: rawnand: ifc: set chip->of_node to nand@0 child node if present
commit: ee78d466db8a001d137d6f9c97010b343aee456b

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl