mtd: rawnand: marvell: add support for AC5 SoC
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Mon, 3 Jul 2023 03:50:44 +0000 (15:50 +1200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sat, 15 Jul 2023 16:05:38 +0000 (18:05 +0200)
commit72b9a3fc4b601ab64181a036c3a78948f46b8608
treeb719ab8b12c4dce0b224fe50aaabd02d617d52df
parentbd60fcf27654d2acbb1f0d115daefaac6118b74c
mtd: rawnand: marvell: add support for AC5 SoC

Add support for the AC5/AC5X SoC from Marvell. The NFC on this SoC only
supports SDR modes up to 3.

Marvell's SDK includes some predefined values for the ndtr registers.
These haven't been incorporated as the existing code seems to get good
values based on measurements taken with an oscilloscope.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230703035044.2063303-4-chris.packham@alliedtelesis.co.nz
drivers/mtd/nand/raw/Kconfig
drivers/mtd/nand/raw/marvell_nand.c