Skip to content

Commit 349ad66

Browse files
Chao Fubroonie
Chao Fu
authored andcommitted
spi:Add Freescale DSPI driver for Vybrid VF610 platform
The serial peripheral interface (SPI) module implemented on Freescale Vybrid platform provides a synchronous serial bus for communication between Vybrid and the external peripheral device. The SPI supports full-duplex, three-wire synchronous transfer, has TX/RX FIFO with depth of four entries. This driver is the SPI master mode driver and has been tested on Vybrid VF610TWR board. Signed-off-by: Alison Wang <[email protected]> Signed-off-by: Chao Fu <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 9cbd72e commit 349ad66

File tree

3 files changed

+565
-0
lines changed

3 files changed

+565
-0
lines changed

drivers/spi/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,13 @@ config SPI_FSL_SPI
248248
This also enables using the Aeroflex Gaisler GRLIB SPI controller in
249249
master mode.
250250

251+
config SPI_FSL_DSPI
252+
tristate "Freescale DSPI controller"
253+
select SPI_BITBANG
254+
help
255+
This enables support for the Freescale DSPI controller in master
256+
mode. VF610 platform uses the controller.
257+
251258
config SPI_FSL_ESPI
252259
bool "Freescale eSPI controller"
253260
depends on FSL_SOC

drivers/spi/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ spi-dw-midpci-objs := spi-dw-pci.o spi-dw-mid.o
3030
obj-$(CONFIG_SPI_EP93XX) += spi-ep93xx.o
3131
obj-$(CONFIG_SPI_FALCON) += spi-falcon.o
3232
obj-$(CONFIG_SPI_FSL_CPM) += spi-fsl-cpm.o
33+
obj-$(CONFIG_SPI_FSL_DSPI) += spi-fsl-dspi.o
3334
obj-$(CONFIG_SPI_FSL_LIB) += spi-fsl-lib.o
3435
obj-$(CONFIG_SPI_FSL_ESPI) += spi-fsl-espi.o
3536
obj-$(CONFIG_SPI_FSL_SPI) += spi-fsl-spi.o

0 commit comments

Comments
 (0)