spi: amlogic: add driver for Amlogic SPI Flash Controller

This driver provides support for the SPI mode of the Amlogic
Flash Controller. It supports both SPI NOR flash and SPI NAND
flash. For SPI NAND, the Host ECC hardware engine can be enabled.

The controller implements the SPI-MEM interface and does not
support generic SPI.

Signed-off-by: Feng Chen <feng.chen@amlogic.com>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Link: https://patch.msgid.link/20250910-spifc-v6-2-1574aa9baebd@amlogic.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Feng Chen 2025-09-10 18:18:26 +08:00 • committed by Mark Brown
commit 4670db6f32
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
3 changed files with 1233 additions and 0 deletions