[PATCH] PCI: PCI_SKY1_HOST should depend on ARCH_CIX

Geert Uytterhoeven posted 1 patch 6 days, 9 hours ago
drivers/pci/controller/cadence/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] PCI: PCI_SKY1_HOST should depend on ARCH_CIX
Posted by Geert Uytterhoeven 6 days, 9 hours ago
The CIX SKY1 PCIe controller is only present on Cixtech SKY1 SoCs.
Hence add a dependency on ARCH_CIX, to prevent asking the user about
this driver when configuring a kernel without Cixtech SoC family
support.

Fixes: 25b3feb70d640158 ("PCI: sky1: Add PCIe host support for CIX Sky1")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/pci/controller/cadence/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/controller/cadence/Kconfig b/drivers/pci/controller/cadence/Kconfig
index ceff65934e5fabd1..9fa527bad5b7dfc1 100644
--- a/drivers/pci/controller/cadence/Kconfig
+++ b/drivers/pci/controller/cadence/Kconfig
@@ -54,6 +54,7 @@ config PCIE_SG2042_HOST
 config PCI_SKY1_HOST
 	tristate "CIX SKY1 PCIe controller (host mode)"
 	depends on OF
+	depends on ARCH_CIX || COMPILE_TEST
 	select PCIE_CADENCE_HOST
 	select PCI_ECAM
 	help
-- 
2.43.0
Re: [PATCH] PCI: PCI_SKY1_HOST should depend on ARCH_CIX
Posted by Manivannan Sadhasivam 6 days, 7 hours ago
On Tue, Nov 25, 2025 at 03:17:34PM +0100, Geert Uytterhoeven wrote:
> The CIX SKY1 PCIe controller is only present on Cixtech SKY1 SoCs.
> Hence add a dependency on ARCH_CIX, to prevent asking the user about
> this driver when configuring a kernel without Cixtech SoC family
> support.
> 
> Fixes: 25b3feb70d640158 ("PCI: sky1: Add PCIe host support for CIX Sky1")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>

Squashed with the offending commit, thanks!

- Mani

> ---
>  drivers/pci/controller/cadence/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/pci/controller/cadence/Kconfig b/drivers/pci/controller/cadence/Kconfig
> index ceff65934e5fabd1..9fa527bad5b7dfc1 100644
> --- a/drivers/pci/controller/cadence/Kconfig
> +++ b/drivers/pci/controller/cadence/Kconfig
> @@ -54,6 +54,7 @@ config PCIE_SG2042_HOST
>  config PCI_SKY1_HOST
>  	tristate "CIX SKY1 PCIe controller (host mode)"
>  	depends on OF
> +	depends on ARCH_CIX || COMPILE_TEST
>  	select PCIE_CADENCE_HOST
>  	select PCI_ECAM
>  	help
> -- 
> 2.43.0
> 

-- 
மணிவண்ணன் சதாசிவம்