Skip to contentSkip to conversation

PCI: cadence: Make TI J721E depend on ARCH_K3

PATCH Applied Peter Robinson 2 participants 2 messages Jan 4, 2024 – Jan 6, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 PCI: cadence: Make TI J721E depend on ARCH_K3

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.

---

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

 drivers/pci/controller/cadence/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/pci/controller/cadence/Kconfig +2 -0
index 291d12711363..1d5a70c9055e 100644
@@ -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
Signature · 1 line
2.43.0
#1 lore raw

Hello,

Quoted 3 lines

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