spi: spi-mem: Add Realtek SPI-NAND controller
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Tue, 15 Oct 2024 22:54:34 +0000 (11:54 +1300)
committerMark Brown <broonie@kernel.org>
Mon, 21 Oct 2024 11:49:38 +0000 (12:49 +0100)
commit42d20a6a61b8fccbb57d80df1ccde7dd82d5bbd6
tree05de4d614c7dd1fb79f90f0add1fd9f89aa60868
parenteef26f1c6179eee5b622362b324a0a72dafb5c16
spi: spi-mem: Add Realtek SPI-NAND controller

Add a driver for the SPI-NAND controller on the RTL9300 family of
devices.

The controller supports
* Serial/Dual/Quad data with
* PIO and DMA data read/write operation
* Configurable flash access timing

There is a separate ECC controller on the RTL9300 which isn't currently
supported (instead we rely on the on-die ECC supported by most SPI-NAND
chips).

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://patch.msgid.link/20241015225434.3970360-4-chris.packham@alliedtelesis.co.nz
Signed-off-by: Mark Brown <broonie@kernel.org>
MAINTAINERS
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-realtek-rtl-snand.c [new file with mode: 0644]