Skip to content

Commit 22de48b

Browse files
Phil Elwellpopcornmix
authored andcommitted
PCI: brcmstb: Add Broadcom STB PCIe host controller driver
This commit adds the basic Broadcom STB PCIe controller. Missing is the ability to process MSI and also handle dma-ranges for inbound memory accesses. These two functionalities are added in subsequent commits. The PCIe block contains an MDIO interface. This is a local interface only accessible by the PCIe controller. It cannot be used or shared by any other HW. As such, the small amount of code for this controller is included in this driver as there is little upside to put it elsewhere. Signed-off-by: Jim Quinlan <jim2101024@gmail.com>
1 parent d255ef7 commit 22de48b

4 files changed

Lines changed: 1132 additions & 1 deletion

File tree

‎drivers/pci/controller/Kconfig‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,15 @@ config PCI_HYPERV_INTERFACE
260260
The Hyper-V PCI Interface is a helper driver allows other drivers to
261261
have a common interface with the Hyper-V PCI frontend driver.
262262

263+
config PCIE_BRCMSTB
264+
tristate "Broadcom Brcmstb PCIe platform host driver"
265+
depends on ARCH_BRCMSTB || BMIPS_GENERIC
266+
depends on OF
267+
depends on SOC_BRCMSTB
268+
default ARCH_BRCMSTB || BMIPS_GENERIC
269+
help
270+
Adds support for Broadcom Settop Box PCIe host controller.
271+
263272
source "drivers/pci/controller/dwc/Kconfig"
264273
source "drivers/pci/controller/cadence/Kconfig"
265274
endmenu

‎drivers/pci/controller/Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ obj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
2727
obj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
2828
obj-$(CONFIG_PCIE_MOBIVEIL) += pcie-mobiveil.o
2929
obj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
30+
obj-$(CONFIG_PCIE_BRCMSTB) += pcie-brcmstb.o
3031
obj-$(CONFIG_VMD) += vmd.o
3132
# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
3233
obj-y += dwc/
3334

34-
3535
# The following drivers are for devices that use the generic ACPI
3636
# pci_root.c driver but don't support standard ECAM config access.
3737
# They contain MCFG quirks to replace the generic ECAM accessors with

0 commit comments

Comments
 (0)