pci: Add PCIe driver for Rockchip Soc

RK3399 has a PCIe controller which can be used as Root Complex.
This driver supports a PCIe controller as Root Complex mode.

Change-Id: Ifff7340bd90b7e9e17c9f500938bee7769785cb9
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
This commit is contained in:
Shawn Lin
2016-05-13 10:37:24 +08:00
parent cc9f3098e1
commit 53488bc4cc
3 changed files with 1194 additions and 0 deletions

View File

@@ -173,4 +173,16 @@ config PCI_HISI
help
Say Y here if you want PCIe controller support on HiSilicon HIP05 SoC
config PCIE_ROCKCHIP
bool "Rockchip PCIe controller"
depends on ARM64 && ARCH_ROCKCHIP
depends on OF
select MFD_SYSCON
select PCI_MSI
select PCI_MSI_IRQ_DOMAIN
help
Say Y here if you want internal PCI support on Rockchip SoC.
There are 1 internal PCIe port available to support GEN2 with
4 slots.
endmenu

View File

@@ -20,3 +20,4 @@ obj-$(CONFIG_PCIE_IPROC_BCMA) += pcie-iproc-bcma.o
obj-$(CONFIG_PCIE_ALTERA) += pcie-altera.o
obj-$(CONFIG_PCIE_ALTERA_MSI) += pcie-altera-msi.o
obj-$(CONFIG_PCI_HISI) += pcie-hisi.o
obj-$(CONFIG_PCIE_ROCKCHIP) += pcie-rockchip.o

File diff suppressed because it is too large Load Diff