Skip to content

Commit 67dca5e

Browse files
Naga Sureshkumar Rellibroonie
authored andcommitted
spi: spi-mem: Add support for Zynq QSPI controller
Add support for QSPI controller driver used by Xilinx Zynq SOC. Signed-off-by: Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent d2920ef commit 67dca5e

File tree

3 files changed

+771
-1
lines changed

3 files changed

+771
-1
lines changed

drivers/spi/Kconfig

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,9 +848,17 @@ config SPI_XTENSA_XTFPGA
848848
16 bit words in SPI mode 0, automatically asserting CS on transfer
849849
start and deasserting on end.
850850

851+
config SPI_ZYNQ_QSPI
852+
tristate "Xilinx Zynq QSPI controller"
853+
depends on ARCH_ZYNQ || COMPILE_TEST
854+
help
855+
This enables support for the Zynq Quad SPI controller
856+
in master mode.
857+
This controller only supports SPI memory interface.
858+
851859
config SPI_ZYNQMP_GQSPI
852860
tristate "Xilinx ZynqMP GQSPI controller"
853-
depends on SPI_MASTER && HAS_DMA
861+
depends on (SPI_MASTER && HAS_DMA) || COMPILE_TEST
854862
help
855863
Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
856864

drivers/spi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ obj-$(CONFIG_SPI_XCOMM) += spi-xcomm.o
119119
obj-$(CONFIG_SPI_XILINX) += spi-xilinx.o
120120
obj-$(CONFIG_SPI_XLP) += spi-xlp.o
121121
obj-$(CONFIG_SPI_XTENSA_XTFPGA) += spi-xtensa-xtfpga.o
122+
obj-$(CONFIG_SPI_ZYNQ_QSPI) += spi-zynq-qspi.o
122123
obj-$(CONFIG_SPI_ZYNQMP_GQSPI) += spi-zynqmp-gqspi.o
123124

124125
# SPI slave protocol handlers

0 commit comments

Comments
 (0)