PCI: brcmstb: Add Broadcom STB PCIe host controller driver
authorPhil Elwell <phil@raspberrypi.org>
Tue, 19 Feb 2019 22:06:59 +0000 (22:06 +0000)
committerpopcornmix <popcornmix@gmail.com>
Thu, 13 Jun 2019 10:45:14 +0000 (11:45 +0100)
commit6e2d13a1a5a0376830b0eec8fab0578d7e9c2058
tree20b7ce0db3a413476def2d223b0ee1fb46332f69
parent2e10dde86defb0fdb0126440199b365b7c6ea03f
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>
drivers/pci/controller/Kconfig
drivers/pci/controller/Makefile
drivers/pci/controller/pcie-brcmstb.c [new file with mode: 0644]
include/soc/brcmstb/memory_api.h [new file with mode: 0644]