spi: update Makefile and Kconfig to include bbb spi driver
PATCH 1/1 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.
--- kernel/drivers/spi/Kconfig | 10 ++++++++++ kernel/drivers/spi/Makefile | 2 ++ 2 files changed, 12 insertions(+)
kernel/drivers/spi/Kconfig +10 -0
@@ -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"
kernel/drivers/spi/Makefile +2 -0
@@ -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
Signature · 1 line
2.17.1
Quoted 36 lines · Laurentiu-Cristian Duca via Xenomai
Updated SPI
MakefileandKconfigin order to contain the option to compile am335x beaglebone black omap4 spi real-time driver.Signed-off-by Laurentiu-Cristian Duca <[email protected]>--- kernel/drivers/spi/Kconfig | 10 ++++++++++ kernel/drivers/spi/Makefile | 2 ++ 2 files changed, 12 insertions(+)kernel/drivers/spi/Kconfig +10
-0@@ -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"kernel/drivers/spi/Makefile +0
-0
kernel/drivers/spi/Makefile xeno_spi-y := spi-master.o spi-device.o · line 14
Quoted 8 lines
kernel/drivers/spi/Makefile +2
-0@@ -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
Thanks, applied to next. I've also turned it on in CI build testing - we need to check the build logs if that catches it on ARM builds. If not, we should tune that config further to ensure this.
Jan
Signature · 2 lines
Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux
Quoted 38 lines · Jan Kiszka via Xenomai
Quoted 37 lines · Laurentiu-Cristian Duca via Xenomai
Updated SPI
MakefileandKconfigin order to contain the option to compile am335x beaglebone black omap4 spi real-time driver.Signed-off-by Laurentiu-Cristian Duca <[email protected]>---
kernel/drivers/spi/Kconfig | 10 ++++++++++
kernel/drivers/spi/Makefile| 2 ++2 files changed, 12 insertions(+)kernel/drivers/spi/Kconfig +0
-0@@ -22,6 +22,16 @@ config XENO_DRIVERS_SPI_SUN6IEnables support for the SPI controller available from Allwinner's A31, H3 SoCs.
kernel/drivers/spi/Kconfig +8
-0+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 laterMultichannel SPI
+ (McSPI) modules.
+
configXENO_DRIVERS_SPI_DEBUG
depends onXENO_DRIVERS_SPI
bool "Enable SPI core debugging features"kernel/drivers/spi/Makefile +0
-0@@ -7,6 +7,8 @@ xeno_spi-y := spi-master.o spi-device.oobj-$(CONFIG_XENO_DRIVERS_SPI_BCM2835) += xeno_spi_bcm2835.o obj-$(CONFIG_XENO_DRIVERS_SPI_SUN6I) += xeno_spi_sun6i.o
Quoted 9 lines
Quoted 6 lines
+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
Thanks, applied to next. I've also turned it on in CI build testing - we need to check the build logs if that catches it on ARM builds. If not, we should tune that config further to ensure this.
From the build log at [1], it seems this worked.
Jan