Commit 1ef5decf authored by Mark Brown's avatar Mark Brown

spi: Build coverage cleanups and improvements

Merge series from Mark Brown <broonie@kernel.org>:

This series opens up build coverage of a bunch of SPI drivers by
allowing build under COMPILE_TEST where possible, while also adding
appropriate architecture specific dependencies to a couple of drivers
that didn't have them so they don't show up in builds when they're not
useful.  We also have one fix for the dependencies of the s3c24xx driver
which was turned up in the process of doing this.
parents e8e83f61 ada85054
...@@ -276,7 +276,7 @@ config SPI_COLDFIRE_QSPI ...@@ -276,7 +276,7 @@ config SPI_COLDFIRE_QSPI
config SPI_DAVINCI config SPI_DAVINCI
tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller" tristate "Texas Instruments DaVinci/DA8x/OMAP-L/AM1x SoC SPI controller"
depends on ARCH_DAVINCI || ARCH_KEYSTONE depends on ARCH_DAVINCI || ARCH_KEYSTONE || COMPILE_TEST
select SPI_BITBANG select SPI_BITBANG
help help
SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules.
...@@ -357,7 +357,7 @@ config SPI_FALCON ...@@ -357,7 +357,7 @@ config SPI_FALCON
config SPI_FSI config SPI_FSI
tristate "FSI SPI driver" tristate "FSI SPI driver"
depends on FSI depends on FSI || COMPILE_TEST
help help
This enables support for the driver for FSI bus attached SPI This enables support for the driver for FSI bus attached SPI
controllers. controllers.
...@@ -406,7 +406,8 @@ config SPI_HISI_SFC_V3XX ...@@ -406,7 +406,8 @@ config SPI_HISI_SFC_V3XX
config SPI_NXP_FLEXSPI config SPI_NXP_FLEXSPI
tristate "NXP Flex SPI controller" tristate "NXP Flex SPI controller"
depends on ARCH_LAYERSCAPE || HAS_IOMEM depends on ARCH_LAYERSCAPE || COMPILE_TEST
depends on HAS_IOMEM
help help
This enables support for the Flex SPI controller in master mode. This enables support for the Flex SPI controller in master mode.
Up to four slave devices can be connected on two buses with two Up to four slave devices can be connected on two buses with two
...@@ -777,6 +778,7 @@ config SPI_PXA2XX_PCI ...@@ -777,6 +778,7 @@ config SPI_PXA2XX_PCI
config SPI_ROCKCHIP config SPI_ROCKCHIP
tristate "Rockchip SPI controller driver" tristate "Rockchip SPI controller driver"
depends on ARCH_ROCKCHIP || COMPILE_TEST
help help
This selects a driver for Rockchip SPI controller. This selects a driver for Rockchip SPI controller.
...@@ -818,7 +820,7 @@ config SPI_RSPI ...@@ -818,7 +820,7 @@ config SPI_RSPI
config SPI_QCOM_QSPI config SPI_QCOM_QSPI
tristate "QTI QSPI controller" tristate "QTI QSPI controller"
depends on ARCH_QCOM depends on ARCH_QCOM || COMPILE_TEST
help help
QSPI(Quad SPI) driver for Qualcomm QSPI controller. QSPI(Quad SPI) driver for Qualcomm QSPI controller.
......
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