[PATCH v2 2/3] mtd: rawnand: rzn1: Add new NAND controller driver

Ralph Siemsen ralph.siemsen at linaro.org
Wed Dec 1 13:18:50 PST 2021


On Fri, Nov 26, 2021 at 03:06:24PM +0100, Miquel Raynal wrote:
>Introduce Renesas RZ/N1x NAND controller driver which supports:
>- All ONFI timing modes
>- Different configurations of its internal ECC controller
>- On-die (not tested) and software ECC support
>- Several chips (not tested)
>- Subpage accesses
>- DMA and PIO
>
>This controller was originally provided by Evatronix before being bought
>by Cadence.
>
>Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

I've given it a try and all seems to be well. Thus:
Tested-by: Ralph Siemsen <ralph.siemsen at linaro.org>

>+	mtd = nand_to_mtd(chip);
>+	mtd->dev.parent = nandc->dev;
>+	if (!mtd->name) {
>+		dev_err(nandc->dev, "Missing MTD label\n");
>+		return -EINVAL;
>+	}

Minor item: could the node name be used as a fallback when label is not 
present?

Regards,
-Ralph



More information about the linux-arm-kernel mailing list