Skip to content

Commit 9aa0cb6

Browse files
aspeedJackyMani-Sadhasivam
authored andcommitted
PCI: aspeed: Add ASPEED PCIe RC driver
Introduce PCIe Root Complex driver for ASPEED SoCs. Support RC initialization, reset, clock, IRQ domain, and MSI domain setup. Implement platform-specific setup and register configuration for ASPEED. And provide PCI config space read/write and INTx/MSI interrupt handling. Signed-off-by: Jacky Chou <jacky_chou@aspeedtech.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Link: https://patch.msgid.link/20251216-upstream_pcie_rc-v7-6-4aeb0f53c4ce@aspeedtech.com
1 parent 73ce5ba commit 9aa0cb6

3 files changed

Lines changed: 1128 additions & 0 deletions

File tree

drivers/pci/controller/Kconfig

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,22 @@ config PCI_VERSATILE
5858
bool "ARM Versatile PB PCI controller"
5959
depends on ARCH_VERSATILE || COMPILE_TEST
6060

61+
config PCIE_ASPEED
62+
bool "ASPEED PCIe controller"
63+
depends on ARCH_ASPEED || COMPILE_TEST
64+
depends on OF
65+
depends on PCI_MSI
66+
select IRQ_MSI_LIB
67+
help
68+
Enable this option to support the PCIe controller found on ASPEED
69+
SoCs.
70+
71+
This driver provides initialization and management for PCIe
72+
Root Complex functionality, including INTx and MSI support.
73+
74+
Select Y if your platform uses an ASPEED SoC and requires PCIe
75+
connectivity.
76+
6177
config PCIE_BRCMSTB
6278
tristate "Broadcom Brcmstb PCIe controller"
6379
depends on ARCH_BRCMSTB || ARCH_BCM2835 || ARCH_BCMBCA || \

drivers/pci/controller/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ obj-$(CONFIG_PCI_LOONGSON) += pci-loongson.o
4040
obj-$(CONFIG_PCIE_HISI_ERR) += pcie-hisi-error.o
4141
obj-$(CONFIG_PCIE_APPLE) += pcie-apple.o
4242
obj-$(CONFIG_PCIE_MT7621) += pcie-mt7621.o
43+
obj-$(CONFIG_PCIE_ASPEED) += pcie-aspeed.o
4344

4445
# pcie-hisi.o quirks are needed even without CONFIG_PCIE_DW
4546
obj-y += dwc/

0 commit comments

Comments
 (0)