]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: cadence: Add EndPoint Controller driver for Cadence PCIe controller
authorCyrille Pitchen <cyrille.pitchen@free-electrons.com>
Tue, 30 Jan 2018 20:56:59 +0000 (21:56 +0100)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 31 Jan 2018 11:13:27 +0000 (11:13 +0000)
commit1dc878766286b2ca45f66a53222c18027fbba369
treebf0fae9fa246b64af3f9df5ccb7f545d5f75817e
parent10a6a1551b670b9fca3d26c85d55caf8db429ca0
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 <cyrille.pitchen@free-electrons.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
13 files changed:
MAINTAINERS
drivers/pci/Kconfig
drivers/pci/Makefile
drivers/pci/cadence/Kconfig [new file with mode: 0644]
drivers/pci/cadence/Makefile [new file with mode: 0644]
drivers/pci/cadence/pcie-cadence-ep.c [new file with mode: 0644]
drivers/pci/cadence/pcie-cadence-host.c [new file with mode: 0644]
drivers/pci/cadence/pcie-cadence.c [new file with mode: 0644]
drivers/pci/cadence/pcie-cadence.h [new file with mode: 0644]
drivers/pci/host/Kconfig
drivers/pci/host/Makefile
drivers/pci/host/pcie-cadence-host.c [deleted file]
drivers/pci/host/pcie-cadence.h [deleted file]