diff mbox series

[v2] PCI: cadence: Make TI J721E depend on ARCH_K3

Message ID 20240104213910.1426843-1-pbrobinson@gmail.com
State New
Headers show
Series [v2] PCI: cadence: Make TI J721E depend on ARCH_K3 | expand

Commit Message

Peter Robinson Jan. 4, 2024, 9:39 p.m. UTC
The J721E PCIe is hardware specific to TI SoC parts so add a dependency
on that so it's available for those SoC parts and for compile testing but
not necessarily everyone who enables the Cadence PCIe controller.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---

v2:
Update subject, extend lines to 75 chars, fix spelling.

 drivers/pci/controller/cadence/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Krzysztof WilczyƄski Jan. 6, 2024, 5:02 a.m. UTC | #1
Hello,

> The J721E PCIe is hardware specific to TI SoC parts so add a dependency
> on that so it's available for those SoC parts and for compile testing but
> not necessarily everyone who enables the Cadence PCIe controller.

Applied to controller/cadence, thank you!

[1/1] PCI: j721e: Make TI J721E depend on ARCH_K3
      https://git.kernel.org/pci/pci/c/177c9ac6ab3f

	Krzysztof
diff mbox series

Patch

diff --git a/drivers/pci/controller/cadence/Kconfig b/drivers/pci/controller/cadence/Kconfig
index 291d12711363..1d5a70c9055e 100644
--- a/drivers/pci/controller/cadence/Kconfig
+++ b/drivers/pci/controller/cadence/Kconfig
@@ -47,6 +47,7 @@  config PCI_J721E
 
 config PCI_J721E_HOST
 	bool "TI J721E PCIe controller (host mode)"
+	depends on ARCH_K3 || COMPILE_TEST
 	depends on OF
 	select PCIE_CADENCE_HOST
 	select PCI_J721E
@@ -57,6 +58,7 @@  config PCI_J721E_HOST
 
 config PCI_J721E_EP
 	bool "TI J721E PCIe controller (endpoint mode)"
+	depends on ARCH_K3 || COMPILE_TEST
 	depends on OF
 	depends on PCI_ENDPOINT
 	select PCIE_CADENCE_EP