This Flash Controller is derived by adding an SPI path to the original
raw NAND controller. This controller supports two modes: raw mode and
SPI mode. The raw mode has already been implemented in the community
(drivers/mtd/nand/raw/meson_nand.c).
This submission supports the SPI mode.
Add the drivers and bindings corresponding to the SPI Flash Controller.
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
---
Changes in v2:
- Remove clock reg descriptor and get clock from common clk.
- Remove ecc and ramdom descriptor in bindings.
- Modify the format and message description.
- Link to v1: https://lore.kernel.org/r/20250808-spifc-v1-0-ff4e30e26a6b@amlogic.com
---
Feng Chen (2):
spi: dt-bindings: add doc for Amlogic A113L2 SFC
spi: amlogic: add driver for Amlogic SPI Flash Controller
Xianwei Zhao (1):
MAINTAINERS: Add an entry for Amlogic spifc driver
.../devicetree/bindings/spi/amlogic,a4-spifc.yaml | 82 ++
MAINTAINERS | 10 +
drivers/spi/Kconfig | 10 +
drivers/spi/Makefile | 1 +
drivers/spi/spi-amlogic-spifc-a4.c | 1224 ++++++++++++++++++++
5 files changed, 1327 insertions(+)
---
base-commit: 8e13f0500222e187a82dd3c93c0ea8cd2a4d46a6
change-id: 20250804-spifc-5761e35fbe1f
Best regards,
--
Xianwei Zhao <xianwei.zhao@amlogic.com>