Skip to content

Commit

Permalink
pci: phytium: Add PCIe endpoint controller support
Browse files Browse the repository at this point in the history
Add PCIe endpoint controller driver for Phytium Pd2008 SoC.

Signed-off-by: Li Guohui <[email protected]>
Signed-off-by: Yang Xun <[email protected]>
Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
  • Loading branch information
hhhui-L authored and Avenger-285714 committed May 24, 2024
1 parent c927ed4 commit 0412ee0
Show file tree
Hide file tree
Showing 5 changed files with 649 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/pci/controller/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,16 @@ config PCIE_MT7621
help
This selects a driver for the MediaTek MT7621 PCIe Controller.

config PCIE_PHYTIUM_EP
tristate "Phytium PCIe endpoint controller"
depends on OF
depends on PCI_ENDPOINT
help
Say Y here if you want to support Phytium PCIe controller in
endpoint mode on Phytium SoC. The controller can act as Root Port
or End Point with different phytium firmware. But End Point mode only support
one physical function.

config PCIE_MICROCHIP_HOST
tristate "Microchip AXI PCIe controller"
depends on PCI_MSI && OF
Expand Down
1 change: 1 addition & 0 deletions drivers/pci/controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ obj-$(CONFIG_PCI_LOONGSON) += pci-loongson.o
obj-$(CONFIG_PCIE_HISI_ERR) += pcie-hisi-error.o
obj-$(CONFIG_PCIE_APPLE) += pcie-apple.o
obj-$(CONFIG_PCIE_MT7621) += pcie-mt7621.o
obj-$(CONFIG_PCIE_PHYTIUM_EP) += pcie-phytium-ep.o

# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
obj-y += dwc/
Expand Down
Loading

0 comments on commit 0412ee0

Please sign in to comment.