]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: iproc: Add BCMA type
authorRay Jui <ray.jui@broadcom.com>
Tue, 1 Nov 2016 00:38:32 +0000 (17:38 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 14 Nov 2016 21:55:33 +0000 (15:55 -0600)
commit404349c5c806d56de2b41f48a99402c3c7573af5
treec903bdc7b17fe91280f28a3f9e20fc87d2da785e
parent7cbd50d275fe4f6a31f536e140b6124f68998c61
PCI: iproc: Add BCMA type

The iProc PCIe driver is currently using type IPROC_PCIE_PAXB for the
following SoCs: NS, NSP, Cygnus, NS2, and Pegasus.  In fact, the BCMA-based
NS uses a legacy PAXB controller that is slightly different from the PAXB
controller used in the rest of SoCs, e.g., some registers are missing and
it does not require software configuration of outbound/inbound address
mapping.

Add a new type, IPROC_PCIE_PAXB_BCMA, to allow us to properly support the
BCMA-based NS along with other iProc-based SoCs going forward.

Signed-off-by: Ray Jui <ray.jui@broadcom.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
drivers/pci/host/pcie-iproc-bcma.c
drivers/pci/host/pcie-iproc-msi.c
drivers/pci/host/pcie-iproc.c
drivers/pci/host/pcie-iproc.h