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 v3:
- Restore message description and modify subject [1/3] that was omitted in v2.
- Link to v2: https://lore.kernel.org/r/20250821-spifc-v2-0-b119f64b5c09@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 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: f8b3f0d7b2a91ba84d06343c3ca4522e35a65f56
change-id: 20250804-spifc-5761e35fbe1f
Best regards,
--
Xianwei Zhao <xianwei.zhao@amlogic.com>