]> asedeno.scripts.mit.edu Git - linux.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)
commit37dddf14f1aecd9fa89a5136b38b33cab54b9195
treebf0fae9fa246b64af3f9df5ccb7f545d5f75817e
parent6618f4d3f5d614d5cd4cbc4e81f0fef8e22a36c7
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>
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 [moved from drivers/pci/host/pcie-cadence-host.c with 80% similarity]
drivers/pci/cadence/pcie-cadence.c [new file with mode: 0644]
drivers/pci/cadence/pcie-cadence.h [moved from drivers/pci/host/pcie-cadence.h with 63% similarity]
drivers/pci/host/Kconfig
drivers/pci/host/Makefile