spi: Add Amlogic SPISG driver
authorSunny Luo <sunny.luo@amlogic.com>
Fri, 18 Jul 2025 01:52:17 +0000 (09:52 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 24 Jul 2025 12:28:33 +0000 (13:28 +0100)
commitcef9991e04aed3305c61c392e880f6e01a0c2ea4
tree93399f93262b60172b29f9611d0f7ee582a43000
parent78d35a20783941c8ba5cf912349728c6e1bee84b
spi: Add Amlogic SPISG driver

Introduced support for the new SPI IP (SPISG) driver. The SPISG is
a communication-oriented SPI controller from Amlogic,supporting
three operation modes: PIO, block DMA, and scatter-gather DMA.

Due to there is no FIFO, PIO mode can only transfer one word at
a time, which is extremely slow. Therefore, this mode was not
implemented.

Signed-off-by: Sunny Luo <sunny.luo@amlogic.com>
Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
Link: https://patch.msgid.link/20250718-spisg-v5-2-b8f0f1eb93a2@amlogic.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/Kconfig
drivers/spi/Makefile
drivers/spi/spi-amlogic-spisg.c [new file with mode: 0644]