Skip to content

Commit 34e3815

Browse files
CL Wangbroonie
authored andcommitted
spi: atcspi200: Add ATCSPI200 SPI controller driver
Add driver for the Andes ATCSPI200 SPI controller. Signed-off-by: CL Wang <cl634@andestech.com> Link: https://patch.msgid.link/20251215132349.513843-3-cl634@andestech.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent b2f0678 commit 34e3815

3 files changed

Lines changed: 690 additions & 0 deletions

File tree

drivers/spi/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,15 @@ config SPI_AR934X
136136
This enables support for the SPI controller present on the
137137
Qualcomm Atheros AR934X/QCA95XX SoCs.
138138

139+
config SPI_ATCSPI200
140+
tristate "Andes ATCSPI200 SPI controller"
141+
depends on ARCH_ANDES
142+
help
143+
SPI driver for Andes ATCSPI200 SPI controller.
144+
ATCSPI200 controller supports DMA and PIO modes. When DMA
145+
is not available, the driver automatically falls back to
146+
PIO mode.
147+
139148
config SPI_ATH79
140149
tristate "Atheros AR71XX/AR724X/AR913X SPI controller driver"
141150
depends on ATH79 || COMPILE_TEST

drivers/spi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ obj-$(CONFIG_SPI_APPLE) += spi-apple.o
2626
obj-$(CONFIG_SPI_AR934X) += spi-ar934x.o
2727
obj-$(CONFIG_SPI_ARMADA_3700) += spi-armada-3700.o
2828
obj-$(CONFIG_SPI_ASPEED_SMC) += spi-aspeed-smc.o
29+
obj-$(CONFIG_SPI_ATCSPI200) += spi-atcspi200.o
2930
obj-$(CONFIG_SPI_ATMEL) += spi-atmel.o
3031
obj-$(CONFIG_SPI_ATMEL_QUADSPI) += atmel-quadspi.o
3132
obj-$(CONFIG_SPI_AT91_USART) += spi-at91-usart.o

0 commit comments

Comments
 (0)