diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2024-10-16 11:54:34 +1300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-10-21 12:49:38 +0100 |
commit | 42d20a6a61b8fccbb57d80df1ccde7dd82d5bbd6 (patch) | |
tree | 05de4d614c7dd1fb79f90f0add1fd9f89aa60868 /drivers/spi/Kconfig | |
parent | eef26f1c6179eee5b622362b324a0a72dafb5c16 (diff) | |
download | lwn-42d20a6a61b8fccbb57d80df1ccde7dd82d5bbd6.tar.gz lwn-42d20a6a61b8fccbb57d80df1ccde7dd82d5bbd6.zip |
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>
Diffstat (limited to 'drivers/spi/Kconfig')
-rw-r--r-- | drivers/spi/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 823797217404..7133bb72d1c8 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -843,6 +843,17 @@ config SPI_PXA2XX config SPI_PXA2XX_PCI def_tristate SPI_PXA2XX && PCI && COMMON_CLK +config SPI_REALTEK_SNAND + tristate "Realtek SPI-NAND Flash Controller" + depends on MACH_REALTEK_RTL || COMPILE_TEST + select REGMAP + help + This enables support for the SPI-NAND Flash controller on + Realtek SoCs. + + This driver does not support generic SPI. The implementation + only supports the spi-mem interface. + config SPI_ROCKCHIP tristate "Rockchip SPI controller driver" depends on ARCH_ROCKCHIP || COMPILE_TEST |