Commit 02dec1d5 authored by Laurentiu-Cristian Duca's avatar Laurentiu-Cristian Duca Committed by Jan Kiszka

spi: update Makefile and Kconfig to include bbb spi driver

Updated SPI Makefile and Kconfig in order to contain the option
to compile am335x beaglebone black omap4 spi real-time driver.
Signed-off-by: default avatarLaurentiu-Cristian Duca <laurentiu.duca@gmail.com>
[Jan: enabled in CI build]
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 1a849197
......@@ -143,6 +143,7 @@ before_script:
- ./scripts/config -e XENO_DRIVERS_GPIOPWM
- ./scripts/config -e XENO_DRIVERS_SPI_BCM2835
- ./scripts/config -e XENO_DRIVERS_SPI_SUN6I
- ./scripts/config -e XENO_DRIVERS_SPI_OMAP2_MCSPI_RT
- ./scripts/config -e XENO_DRIVERS_SPI_DEBUG
- popd
......
......@@ -22,6 +22,16 @@ config XENO_DRIVERS_SPI_SUN6I
Enables support for the SPI controller available from
Allwinner's A31, H3 SoCs.
config XENO_DRIVERS_SPI_OMAP2_MCSPI_RT
tristate "McSPI rt-driver for OMAP"
depends on HAS_DMA
depends on ARCH_OMAP2PLUS || COMPILE_TEST
select XENO_DRIVERS_SPI
help
SPI real-time master controller for OMAP24XX and later Multichannel SPI
(McSPI) modules.
config XENO_DRIVERS_SPI_DEBUG
depends on XENO_DRIVERS_SPI
bool "Enable SPI core debugging features"
......
......@@ -7,6 +7,8 @@ xeno_spi-y := spi-master.o spi-device.o
obj-$(CONFIG_XENO_DRIVERS_SPI_BCM2835) += xeno_spi_bcm2835.o
obj-$(CONFIG_XENO_DRIVERS_SPI_SUN6I) += xeno_spi_sun6i.o
obj-$(CONFIG_XENO_DRIVERS_SPI_OMAP2_MCSPI_RT) += xeno_spi_omap2_mcspi_rt.o
xeno_spi_bcm2835-y := spi-bcm2835.o
xeno_spi_sun6i-y := spi-sun6i.o
xeno_spi_omap2_mcspi_rt-y := spi-omap2-mcspi-rt.o
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment