PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller

This patch adds support to the Cadence PCIe controller in endpoint mode.

Since pieces of source code are shared with the host driver (Root
Complex mode), we create a new directory under drivers/pci dedicated to
the Cadence PCIe controller. The common code is placed into
drivers/pci/cadence/pcie-cadence.c and used by both the host and
endpoint controller drivers.

Signed-off-by: Cyrille Pitchen <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
This commit is contained in:
Cyrille Pitchen 2018-01-30 21:56:59 +01:00 • committed by Lorenzo Pieralisi
commit 37dddf14f1
11 changed files with 826 additions and 75 deletions

View file

@ -10407,7 +10407,7 @@ M: Alan Douglas <[email protected]>
L: [email protected]
S: Maintained
F: Documentation/devicetree/bindings/pci/cdns,*.txt
F: drivers/pci/host/pcie-cadence*
F: drivers/pci/cadence/pcie-cadence*
PCI DRIVER FOR FREESCALE LAYERSCAPE
M: Minghuan Lian <[email protected]>