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:
parent
61ba789f0c
commit
72dd89e1ca
4 changed files with 1180 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
1169
drivers/pci/controller/dwc/pcie-dw-rockchip.c
Normal file
1169
drivers/pci/controller/dwc/pcie-dw-rockchip.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue