Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 956cd99b authored by Shawn Lin's avatar Shawn Lin Committed by Lorenzo Pieralisi
Browse files

PCI: rockchip: Separate common code from RC driver



In preparation for introducing EP driver for Rockchip PCIe controller,
rename the RC driver from pcie-rockchip.c to pcie-rockchip-host.c, and
only leave some common functions in pcie-rockchip.c in order to be
reused for both of RC driver and EP driver.

Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Tested-by: default avatarJeffy Chen <jeffy.chen@rock-chips.com>
parent 60cc43fc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10940,8 +10940,8 @@ M: Shawn Lin <shawn.lin@rock-chips.com>
L:	linux-pci@vger.kernel.org
L:	linux-rockchip@lists.infradead.org
S:	Maintained
F:	Documentation/devicetree/bindings/pci/rockchip-pcie.txt
F:	drivers/pci/host/pcie-rockchip.c
F:	Documentation/devicetree/bindings/pci/rockchip-pcie*
F:	drivers/pci/host/pcie-rockchip*

PCI DRIVER FOR V3 SEMICONDUCTOR V360EPC
M:	Linus Walleij <linus.walleij@linaro.org>
+6 −1
Original line number Diff line number Diff line
@@ -179,11 +179,16 @@ config PCI_HOST_THUNDER_ECAM
	  Say Y here if you want ECAM support for CN88XX-Pass-1.x Cavium Thunder SoCs.

config PCIE_ROCKCHIP
	tristate "Rockchip PCIe controller"
	bool
	depends on PCI

config PCIE_ROCKCHIP_HOST
	tristate "Rockchip PCIe host controller"
	depends on ARCH_ROCKCHIP || COMPILE_TEST
	depends on OF
	depends on PCI_MSI_IRQ_DOMAIN
	select MFD_SYSCON
	select PCIE_ROCKCHIP
	help
	  Say Y here if you want internal PCI support on Rockchip SoC.
	  There is 1 internal PCIe port available to support GEN2 with
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ 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_PCIE_ROCKCHIP) += pcie-rockchip.o
obj-$(CONFIG_PCIE_ROCKCHIP_HOST) += pcie-rockchip-host.o
obj-$(CONFIG_PCIE_MEDIATEK) += pcie-mediatek.o
obj-$(CONFIG_PCIE_TANGO_SMP8759) += pcie-tango.o
obj-$(CONFIG_VMD) += vmd.o
+1368 −0

File added.

Preview size limit exceeded, changes collapsed.

+31 −1594

File changed.

Preview size limit exceeded, changes collapsed.

Loading