Skip to content

Commit fa236a7

Browse files
KamalDasubroonie
authored andcommitted
spi: bcm-qspi: Add Broadcom MSPI driver
Master SPI driver for Broadcom settop, iProc SoCs. The driver is used for devices that use SPI protocol on BRCMSTB, NSP, NS2 SoCs. SoC platform driver call exported porbe(), remove() and suspend/resume pm_ops implemented in this common driver. Signed-off-by: Kamal Dasu <kdasu.kdev@gmail.com> Signed-off-by: Yendapally Reddy Dhananjaya Reddy Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 5fc78f4 commit fa236a7

File tree

4 files changed

+786
-0
lines changed

4 files changed

+786
-0
lines changed

drivers/spi/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,16 @@ config SPI_BCM63XX_HSSPI
153153
This enables support for the High Speed SPI controller present on
154154
newer Broadcom BCM63XX SoCs.
155155

156+
config SPI_BCM_QSPI
157+
tristate "Broadcom BSPI and MSPI controller support"
158+
depends on ARCH_BRCMSTB || ARCH_BCM || ARCH_BCM_IPROC || COMPILE_TEST
159+
default ARCH_BCM_IPROC
160+
help
161+
Enables support for the Broadcom SPI flash and MSPI controller.
162+
Select this option for any one of BRCMSTB, iProc NSP and NS2 SoCs
163+
based platforms. This driver works for both SPI master for spi-nor
164+
flash device as well as MSPI device.
165+
156166
config SPI_BITBANG
157167
tristate "Utilities for Bitbanging SPI masters"
158168
help

drivers/spi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ obj-$(CONFIG_SPI_BCM2835AUX) += spi-bcm2835aux.o
2121
obj-$(CONFIG_SPI_BCM53XX) += spi-bcm53xx.o
2222
obj-$(CONFIG_SPI_BCM63XX) += spi-bcm63xx.o
2323
obj-$(CONFIG_SPI_BCM63XX_HSSPI) += spi-bcm63xx-hsspi.o
24+
obj-$(CONFIG_SPI_BCM_QSPI) += spi-bcm-qspi.o
2425
obj-$(CONFIG_SPI_BFIN5XX) += spi-bfin5xx.o
2526
obj-$(CONFIG_SPI_ADI_V3) += spi-adi-v3.o
2627
obj-$(CONFIG_SPI_BFIN_SPORT) += spi-bfin-sport.o

0 commit comments

Comments
 (0)