[PATCH v2 0/3] mtd: rawnand: marvell: add support for AC5 SoC

From: Chris Packham
Date: Sun Jun 25 2023 - 23:12:36 EST


This series adds support for the NAND Flash Controller on the AC5/AC5X SOC. It
needs to be applied on top of two other recent series [1] (applied to
mtd/fixes and mainline) [2] (applied to nand/next).

I've tried to stick to the minimal changes required to get the NFC working on
the board I have (AC5X + S34ML02G2). Marvell's SDK has hard coded tables of
ndtr values for the different timing modes but so far that seems unnecessary.

[1] - https://lore.kernel.org/linux-mtd/20230525003154.2303012-1-chris.packham@xxxxxxxxxxxxxxxxxxx/raw
[2] - https://lore.kernel.org/linux-mtd/20230619040742.1108172-2-chris.packham@xxxxxxxxxxxxxxxxxxx/raw

Chris Packham (3):
dt-bindings: mtd: Add AC5 specific binding
arm64: dts: marvell: Add NAND flash controller to AC5
mtd: rawnand: marvell: add support for AC5 SoC

.../bindings/mtd/marvell,nand-controller.yaml | 1 +
arch/arm64/boot/dts/marvell/ac5-98dx25xx.dtsi | 10 ++++++++++
drivers/mtd/nand/raw/Kconfig | 2 +-
drivers/mtd/nand/raw/marvell_nand.c | 16 ++++++++++++++++
4 files changed, 28 insertions(+), 1 deletion(-)

--
2.41.0