public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v2] PCI: cadence: Make TI J721E depend on ARCH_K3
@ 2024-01-04 21:39 Peter Robinson
  2024-01-06  5:02 ` Krzysztof Wilczyński
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Robinson @ 2024-01-04 21:39 UTC (permalink / raw)
  To: Tom Joseph, Lorenzo Pieralisi, Krzysztof Wilczyński,
	Rob Herring, Bjorn Helgaas, linux-pci, linux-omap,
	linux-arm-kernel
  Cc: Peter Robinson

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(+)

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
-- 
2.43.0


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] PCI: cadence: Make TI J721E depend on ARCH_K3
  2024-01-04 21:39 [PATCH v2] PCI: cadence: Make TI J721E depend on ARCH_K3 Peter Robinson
@ 2024-01-06  5:02 ` Krzysztof Wilczyński
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Wilczyński @ 2024-01-06  5:02 UTC (permalink / raw)
  To: Peter Robinson
  Cc: Tom Joseph, Lorenzo Pieralisi, Rob Herring, Bjorn Helgaas,
	linux-pci, linux-omap, linux-arm-kernel

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

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-06  5:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-04 21:39 [PATCH v2] PCI: cadence: Make TI J721E depend on ARCH_K3 Peter Robinson
2024-01-06  5:02 ` Krzysztof Wilczyński

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox