* [PATCH v2] spi: make architecture specific hardware depend on the associated hardware
@ 2016-11-20 17:55 Peter Robinson
[not found] ` <20161120175505.2910-1-pbrobinson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Peter Robinson @ 2016-11-20 17:55 UTC (permalink / raw)
To: Mark Brown, linux-spi-u79uwXL29TY76Z2rM5mHXA; +Cc: Peter Robinson
There's not much point enabling hardware specific hardware drivers if the
actual SoC architecture platforms aren't enabled as they're not much use
with out it.
Signed-off-by: Peter Robinson <pbrobinson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
drivers/spi/Kconfig | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
v1->v2:
- Add COMPILE_TEST to changes missing the option
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index b799547..69730ac 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -188,6 +188,7 @@ config SPI_BUTTERFLY
config SPI_CADENCE
tristate "Cadence SPI controller"
+ depends on ARCH_ZYNQ || ARCH_ZYNQMP || COMPILE_TEST
help
This selects the Cadence SPI controller master driver
used by Xilinx Zynq and ZynqMP.
@@ -224,7 +225,7 @@ config SPI_DW_PCI
config SPI_DW_MID_DMA
bool "DMA support for DW SPI controller on Intel MID platform"
- depends on SPI_DW_PCI && DW_DMAC_PCI
+ depends on (X86 || COMPILE_TEST) && SPI_DW_PCI && DW_DMAC_PCI
config SPI_DW_MMIO
tristate "Memory-mapped io interface driver for DW SPI core"
@@ -499,6 +500,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.
@@ -650,7 +652,7 @@ config SPI_TEGRA20_SLINK
config SPI_THUNDERX
tristate "Cavium ThunderX SPI controller"
- depends on PCI && 64BIT && (ARM64 || COMPILE_TEST)
+ depends on PCI && 64BIT && (ARCH_THUNDER || COMPILE_TEST)
help
SPI host driver for the hardware found on Cavium ThunderX
SOCs.
@@ -680,7 +682,7 @@ config SPI_XCOMM
config SPI_XILINX
tristate "Xilinx SPI controller common module"
- depends on HAS_IOMEM
+ depends on HAS_IOMEM && (ARCH_ZYNQ || ARCH_ZYNQMP || COMPILE_TEST)
select SPI_BITBANG
help
This exposes the SPI controller IP from the Xilinx EDK.
@@ -715,7 +717,7 @@ config SPI_XTENSA_XTFPGA
config SPI_ZYNQMP_GQSPI
tristate "Xilinx ZynqMP GQSPI controller"
- depends on SPI_MASTER && HAS_DMA
+ depends on SPI_MASTER && HAS_DMA && (ARCH_ZYNQMP || COMPILE_TEST)
help
Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
--
2.9.3
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] spi: make architecture specific hardware depend on the associated hardware
[not found] ` <20161120175505.2910-1-pbrobinson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-11-20 18:13 ` Lars-Peter Clausen
2016-11-21 19:24 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Lars-Peter Clausen @ 2016-11-20 18:13 UTC (permalink / raw)
To: Peter Robinson, Mark Brown, linux-spi-u79uwXL29TY76Z2rM5mHXA
On 11/20/2016 06:55 PM, Peter Robinson wrote:
> config SPI_XILINX
> tristate "Xilinx SPI controller common module"
> - depends on HAS_IOMEM
> + depends on HAS_IOMEM && (ARCH_ZYNQ || ARCH_ZYNQMP || COMPILE_TEST)
I'm using this one on X86, or anything really that has PCIe support.
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] spi: make architecture specific hardware depend on the associated hardware
[not found] ` <20161120175505.2910-1-pbrobinson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-20 18:13 ` Lars-Peter Clausen
@ 2016-11-21 19:24 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2016-11-21 19:24 UTC (permalink / raw)
To: Peter Robinson; +Cc: linux-spi-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 345 bytes --]
On Sun, Nov 20, 2016 at 05:55:05PM +0000, Peter Robinson wrote:
> There's not much point enabling hardware specific hardware drivers if the
> actual SoC architecture platforms aren't enabled as they're not much use
> with out it.
To repeat what I said last time please do make an effort to get this
reviewed by the relevant driver maintainers.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-11-21 19:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-20 17:55 [PATCH v2] spi: make architecture specific hardware depend on the associated hardware Peter Robinson
[not found] ` <20161120175505.2910-1-pbrobinson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-20 18:13 ` Lars-Peter Clausen
2016-11-21 19:24 ` Mark Brown
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.