]> Gentwo Git Trees - linux/.git/commitdiff
PCI: rcar-gen2: Drop ARM dependency from PCI_RCAR_GEN2
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 3 Oct 2025 08:35:34 +0000 (10:35 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Oct 2025 20:15:10 +0000 (15:15 -0500)
Since the reliance on ARM-specific struct pci_sys_data was removed, this
driver can be compile-tested on other architectures.

While at it, make the help text a bit more generic, as some members of
the R-Car Gen2 family have a different number of internal PCI
controllers.

Fixes: 4a957563fe0231e0 ("PCI: rcar-gen2: Convert to use modern host bridge probe functions")
Suggested-by: Ilpo Jarvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
[bhelgaas: add rcar-gen2 to subject]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://patch.msgid.link/00f75d6732eacce93f04ffaeedc415d2db714cd6.1759480426.git.geert+renesas@glider.be
drivers/pci/controller/Kconfig

index 41748d083b933de97d724fc429469015c55900da..0452151a7bccc8c1e72169bfa0596c121e47c2eb 100644 (file)
@@ -259,12 +259,11 @@ config PCIE_RCAR_EP
 
 config PCI_RCAR_GEN2
        bool "Renesas R-Car Gen2 Internal PCI controller"
-       depends on ARCH_RENESAS || COMPILE_TEST
-       depends on ARM
+       depends on (ARCH_RENESAS && ARM) || COMPILE_TEST
        help
          Say Y here if you want internal PCI support on R-Car Gen2 SoC.
-         There are 3 internal PCI controllers available with a single
-         built-in EHCI/OHCI host controller present on each one.
+         Each internal PCI controller contains a single built-in EHCI/OHCI
+         host controller.
 
 config PCIE_ROCKCHIP
        bool