Skip to content

Commit c045213

Browse files
jamesequinlanLorenzo Pieralisi
authored andcommitted
PCI: brcmstb: Add Broadcom STB PCIe host controller driver
This adds a basic driver for Broadcom's STB PCIe controller, for now aimed at Raspberry Pi 4's SoC, bcm2711. Signed-off-by: Jim Quinlan <[email protected]> Co-developed-by: Nicolas Saenz Julienne <[email protected]> Signed-off-by: Nicolas Saenz Julienne <[email protected]> [[email protected]: updated brcm_pcie_get_rc_bar2_size_and_offset()according to https://lore.kernel.org/linux-pci/[email protected]] Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Andrew Murray <[email protected]> Reviewed-by: Jeremy Linton <[email protected]>
1 parent 0956dcb commit c045213

File tree

3 files changed

+764
-0
lines changed

3 files changed

+764
-0
lines changed

drivers/pci/controller/Kconfig

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,14 @@ config VMD
253253
To compile this driver as a module, choose M here: the
254254
module will be called vmd.
255255

256+
config PCIE_BRCMSTB
257+
tristate "Broadcom Brcmstb PCIe host controller"
258+
depends on ARCH_BCM2835 || COMPILE_TEST
259+
depends on OF
260+
help
261+
Say Y here to enable PCIe host controller support for
262+
Broadcom STB based SoCs, like the Raspberry Pi 4.
263+
256264
config PCI_HYPERV_INTERFACE
257265
tristate "Hyper-V PCI Interface"
258266
depends on X86 && HYPERV && PCI_MSI && PCI_MSI_IRQ_DOMAIN && X86_64

drivers/pci/controller/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ obj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
2828
obj-$(CONFIG_PCIE_MOBIVEIL) += pcie-mobiveil.o
2929
obj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
3030
obj-$(CONFIG_VMD) += vmd.o
31+
obj-$(CONFIG_PCIE_BRCMSTB) += pcie-brcmstb.o
3132
# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
3233
obj-y += dwc/
3334

0 commit comments

Comments
 (0)