diff options
author | 2023-03-06 13:30:34 +0000 | |
---|---|---|
committer | 2023-03-06 13:30:34 +0000 | |
commit | 1ef5decf693bc45e801d00dc740d584dbd54467a (patch) | |
tree | 430bdbd95f2addd8a4c212815642972992401ec1 /drivers | |
parent | spi: mpc52xx-psc: Modernize probe (diff) | |
parent | spi: qcom-qspi: Make available for build test (diff) | |
download | wireguard-linux-1ef5decf693bc45e801d00dc740d584dbd54467a.tar.xz wireguard-linux-1ef5decf693bc45e801d00dc740d584dbd54467a.zip |
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.
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/Kconfig | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index 47bbba04fe3a..78645f8ba181 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -276,7 +276,7 @@ config SPI_COLDFIRE_QSPI config SPI_DAVINCI 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 help SPI master controller for DaVinci/DA8x/OMAP-L/AM1x SPI modules. @@ -357,7 +357,7 @@ config SPI_FALCON config SPI_FSI tristate "FSI SPI driver" - depends on FSI + depends on FSI || COMPILE_TEST help This enables support for the driver for FSI bus attached SPI controllers. @@ -406,7 +406,8 @@ config SPI_HISI_SFC_V3XX config SPI_NXP_FLEXSPI tristate "NXP Flex SPI controller" - depends on ARCH_LAYERSCAPE || HAS_IOMEM + depends on ARCH_LAYERSCAPE || COMPILE_TEST + depends on HAS_IOMEM help This enables support for the Flex SPI controller in master mode. Up to four slave devices can be connected on two buses with two @@ -777,6 +778,7 @@ config SPI_PXA2XX_PCI config SPI_ROCKCHIP tristate "Rockchip SPI controller driver" + depends on ARCH_ROCKCHIP || COMPILE_TEST help This selects a driver for Rockchip SPI controller. @@ -818,7 +820,7 @@ config SPI_RSPI config SPI_QCOM_QSPI tristate "QTI QSPI controller" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST help QSPI(Quad SPI) driver for Qualcomm QSPI controller. |