Skip to contentSkip to conversation

PCI: cadence: Fix TI J721E PCIe SoC dependencies

PATCH In review Peter Robinson 2 participants 2 messages Dec 20, 2023 – Dec 26, 2023

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

PATCH 1/1 PCI: cadence: Fix TI J721E PCIe SoC dependencies

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

---
 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
Quoted 2 lines · Peter Robinson

The J721E PCIe is hardware specific to the TI SoC parts so add a depenency on that so it's available for those

dependency

Quoted 2 lines

SoC parts and for compile testing but not necessarily everyone who enables the Cadence PCIe controller.

Wrap to fill 75 columns.

The subject could possibly be more specific than "fix", e.g.,

PCI: cadence: Make TI J721E depend on ARCH_K3

Quoted 28 lines
---
 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