PCI: rockchip: Add Rockchip DW PCIe controller support

1. Add support for DW PCIe controller found on RK1808 SoC platform
2. Add support PCIe udma transfer

Change-Id: Ic6d638782d1f55f965d663f73eee14bafa392740
Signed-off-by: Simon Xue <xxm@rock-chips.com>
This commit is contained in:
Simon Xue 2019-03-31 17:16:55 +08:00 committed by Tao Huang
commit 72dd89e1ca
4 changed files with 1180 additions and 1 deletions

View file

@ -220,7 +220,7 @@ config PCIE_ROCKCHIP_HOST
config ROCKCHIP_PCIE_DMA_OBJ
bool "Rockchip PCIe uDMA transfer support"
depends on PCIE_ROCKCHIP_HOST
depends on PCIE_ROCKCHIP_HOST || PCIE_DW_ROCKCHIP
default n
help
Say y to enable p2p DMA transfer between PCIe components.

View file

@ -82,6 +82,15 @@ config PCIE_DW_PLAT_EP
order to enable device-specific features PCI_DW_PLAT_EP must be
selected.
config PCIE_DW_ROCKCHIP
bool "Rockchip DesignWare PCIe controller"
select PCIE_DW
select PCIE_DW_HOST
depends on ARCH_ROCKCHIP
depends on OF
help
Enables support for the DW PCIe controller in the Rockchip SoC.
config PCI_EXYNOS
bool "Samsung Exynos PCIe controller"
depends on SOC_EXYNOS5440 || COMPILE_TEST

View file

@ -14,6 +14,7 @@ obj-$(CONFIG_PCIE_ARMADA_8K) += pcie-armada8k.o
obj-$(CONFIG_PCIE_ARTPEC6) += pcie-artpec6.o
obj-$(CONFIG_PCIE_KIRIN) += pcie-kirin.o
obj-$(CONFIG_PCIE_HISI_STB) += pcie-histb.o
obj-$(CONFIG_PCIE_DW_ROCKCHIP) += pcie-dw-rockchip.o
# The following drivers are for devices that use the generic ACPI
# pci_root.c driver but don't support standard ECAM config access.

File diff suppressed because it is too large Load diff