Skip to content

Commit 9ac8d17

Browse files
ConchuODbroonie
authored andcommitted
spi: add support for microchip fpga spi controllers
Add a driver for Microchip FPGA SPI controllers, specifically supporting the "hard" controllers on PolarFire SoC. Co-developed-by: Daire McNamara <daire.mcnamara@microchip.com> Signed-off-by: Daire McNamara <daire.mcnamara@microchip.com> Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20220607073833.2331539-2-conor.dooley@microchip.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 6ff40f0 commit 9ac8d17

File tree

3 files changed

+642
-0
lines changed

3 files changed

+642
-0
lines changed

drivers/spi/Kconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,15 @@ config SPI_MESON_SPIFC
575575
This enables master mode support for the SPIFC (SPI flash
576576
controller) available in Amlogic Meson SoCs.
577577

578+
config SPI_MICROCHIP_CORE
579+
tristate "Microchip FPGA SPI controllers"
580+
depends on SPI_MASTER
581+
help
582+
This enables the SPI driver for Microchip FPGA SPI controllers.
583+
Say Y or M here if you want to use the "hard" controllers on
584+
PolarFire SoC.
585+
If built as a module, it will be called spi-microchip-core.
586+
578587
config SPI_MT65XX
579588
tristate "MediaTek SPI controller"
580589
depends on ARCH_MEDIATEK || COMPILE_TEST

drivers/spi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ obj-$(CONFIG_SPI_LM70_LLP) += spi-lm70llp.o
7171
obj-$(CONFIG_SPI_LP8841_RTC) += spi-lp8841-rtc.o
7272
obj-$(CONFIG_SPI_MESON_SPICC) += spi-meson-spicc.o
7373
obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o
74+
obj-$(CONFIG_SPI_MICROCHIP_CORE) += spi-microchip-core.o
7475
obj-$(CONFIG_SPI_MPC512x_PSC) += spi-mpc512x-psc.o
7576
obj-$(CONFIG_SPI_MPC52xx_PSC) += spi-mpc52xx-psc.o
7677
obj-$(CONFIG_SPI_MPC52xx) += spi-mpc52xx.o

0 commit comments

Comments
 (0)