linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Enable PCIE_BRCMSTB on MIPS
@ 2021-11-08 19:24 Florian Fainelli
  2021-11-08 19:24 ` [PATCH 1/2] MIPS: BMIPS: Enable PCI Kconfig Florian Fainelli
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Fainelli @ 2021-11-08 19:24 UTC (permalink / raw)
  To: linux-pci
  Cc: bcm-kernel-feedback-list, Florian Fainelli, Thomas Bogendoerfer,
	Lorenzo Pieralisi, Rob Herring, Krzysztof Wilczyński,
	Bjorn Helgaas, open list:MIPS, open list, Jim Quinlan

This patch series allows building the PCIE_BRCMSTB driver for
BMIPS_GENERIC. This is preliminary work to actually adding support for
PCIe host bridge changes to the 7425/29/35 MIPS-based SoCs.

The two patches are largely independent, though it might make more sense
to merge them via the PCI drivers tree?

Florian Fainelli (2):
  MIPS: BMIPS: Enable PCI Kconfig
  PCI: brcmstb: Allow building for BMIPS_GENERIC

 arch/mips/Kconfig              | 2 ++
 drivers/pci/controller/Kconfig | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

-- 
2.25.1


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

* [PATCH 1/2] MIPS: BMIPS: Enable PCI Kconfig
  2021-11-08 19:24 [PATCH 0/2] Enable PCIE_BRCMSTB on MIPS Florian Fainelli
@ 2021-11-08 19:24 ` Florian Fainelli
  2021-11-08 19:24 ` [PATCH 2/2] PCI: brcmstb: Allow building for BMIPS_GENERIC Florian Fainelli
  2021-11-10  8:51 ` [PATCH 0/2] Enable PCIE_BRCMSTB on MIPS Thomas Bogendoerfer
  2 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2021-11-08 19:24 UTC (permalink / raw)
  To: linux-pci
  Cc: bcm-kernel-feedback-list, Florian Fainelli, Thomas Bogendoerfer,
	Lorenzo Pieralisi, Rob Herring, Krzysztof Wilczyński,
	Bjorn Helgaas, open list:MIPS, open list, Jim Quinlan

Enable HAVE_PCI and PCI_DRIVERS_GENERIC so we can build PCIE_BRCMSTB
which is the PCIe host bridge driver for this platform.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 arch/mips/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 86510741d49d..daf2ab671b62 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -292,6 +292,8 @@ config BMIPS_GENERIC
 	select USB_OHCI_BIG_ENDIAN_DESC if CPU_BIG_ENDIAN
 	select USB_OHCI_BIG_ENDIAN_MMIO if CPU_BIG_ENDIAN
 	select HARDIRQS_SW_RESEND
+	select HAVE_PCI
+	select PCI_DRIVERS_GENERIC
 	help
 	  Build a generic DT-based kernel image that boots on select
 	  BCM33xx cable modem chips, BCM63xx DSL chips, and BCM7xxx set-top
-- 
2.25.1


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

* [PATCH 2/2] PCI: brcmstb: Allow building for BMIPS_GENERIC
  2021-11-08 19:24 [PATCH 0/2] Enable PCIE_BRCMSTB on MIPS Florian Fainelli
  2021-11-08 19:24 ` [PATCH 1/2] MIPS: BMIPS: Enable PCI Kconfig Florian Fainelli
@ 2021-11-08 19:24 ` Florian Fainelli
  2021-11-10  8:51 ` [PATCH 0/2] Enable PCIE_BRCMSTB on MIPS Thomas Bogendoerfer
  2 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2021-11-08 19:24 UTC (permalink / raw)
  To: linux-pci
  Cc: bcm-kernel-feedback-list, Florian Fainelli, Thomas Bogendoerfer,
	Lorenzo Pieralisi, Rob Herring, Krzysztof Wilczyński,
	Bjorn Helgaas, open list:MIPS, open list, Jim Quinlan

BMIPS_GENERIC denotes support for the MIPS-based Broadcom STB platforms
which this driver can support.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 drivers/pci/controller/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/pci/controller/Kconfig b/drivers/pci/controller/Kconfig
index e917bb3652bb..93b141110537 100644
--- a/drivers/pci/controller/Kconfig
+++ b/drivers/pci/controller/Kconfig
@@ -270,7 +270,8 @@ config VMD
 
 config PCIE_BRCMSTB
 	tristate "Broadcom Brcmstb PCIe host controller"
-	depends on ARCH_BRCMSTB || ARCH_BCM2835 || ARCH_BCM4908 || COMPILE_TEST
+	depends on ARCH_BRCMSTB || ARCH_BCM2835 || ARCH_BCM4908 || \
+		   BMIPS_GENERIC || COMPILE_TEST
 	depends on OF
 	depends on PCI_MSI_IRQ_DOMAIN
 	default ARCH_BRCMSTB
-- 
2.25.1


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

* Re: [PATCH 0/2] Enable PCIE_BRCMSTB on MIPS
  2021-11-08 19:24 [PATCH 0/2] Enable PCIE_BRCMSTB on MIPS Florian Fainelli
  2021-11-08 19:24 ` [PATCH 1/2] MIPS: BMIPS: Enable PCI Kconfig Florian Fainelli
  2021-11-08 19:24 ` [PATCH 2/2] PCI: brcmstb: Allow building for BMIPS_GENERIC Florian Fainelli
@ 2021-11-10  8:51 ` Thomas Bogendoerfer
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Bogendoerfer @ 2021-11-10  8:51 UTC (permalink / raw)
  To: Florian Fainelli
  Cc: linux-pci, bcm-kernel-feedback-list, Lorenzo Pieralisi,
	Rob Herring, Krzysztof Wilczyński, Bjorn Helgaas,
	open list:MIPS, open list, Jim Quinlan

On Mon, Nov 08, 2021 at 11:24:30AM -0800, Florian Fainelli wrote:
> This patch series allows building the PCIE_BRCMSTB driver for
> BMIPS_GENERIC. This is preliminary work to actually adding support for
> PCIe host bridge changes to the 7425/29/35 MIPS-based SoCs.
> 
> The two patches are largely independent, though it might make more sense
> to merge them via the PCI drivers tree?
> 
> Florian Fainelli (2):
>   MIPS: BMIPS: Enable PCI Kconfig
>   PCI: brcmstb: Allow building for BMIPS_GENERIC
> 
>  arch/mips/Kconfig              | 2 ++
>  drivers/pci/controller/Kconfig | 3 ++-
>  2 files changed, 4 insertions(+), 1 deletion(-)

series applied to mips-next.

Thomas.

-- 
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea.                                                [ RFC1925, 2.3 ]

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

end of thread, other threads:[~2021-11-10  8:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-08 19:24 [PATCH 0/2] Enable PCIE_BRCMSTB on MIPS Florian Fainelli
2021-11-08 19:24 ` [PATCH 1/2] MIPS: BMIPS: Enable PCI Kconfig Florian Fainelli
2021-11-08 19:24 ` [PATCH 2/2] PCI: brcmstb: Allow building for BMIPS_GENERIC Florian Fainelli
2021-11-10  8:51 ` [PATCH 0/2] Enable PCIE_BRCMSTB on MIPS Thomas Bogendoerfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).