mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
PCI: spacemit: Add SpacemiT PCIe host driver
Introduce a driver for the PCIe host controller found in the SpacemiT K1 SoC. The hardware is derived from the Synopsys DesignWare PCIe IP. The driver supports up to three PCIe ports operating at PCIe link speed up to 5 GT/s. The first port uses a combo PHY, which may be configured for use for USB3 instead. Signed-off-by: Alex Elder <elder@riscstar.com> [mani: added FIXME to the comment on disabling ASPM L1] Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Tested-by: Jason Montleon <jmontleo@redhat.com> Tested-by: Johannes Erdfelt <johannes@erdfelt.com> Tested-by: Aurelien Jarno <aurelien@aurel32.net> Link: https://patch.msgid.link/20251113214540.2623070-6-elder@riscstar.com
This commit is contained in:
committed by
Manivannan Sadhasivam
parent
a812b09a6b
commit
ff64e078e4
@@ -416,6 +416,19 @@ config PCIE_SOPHGO_DW
|
||||
Say Y here if you want PCIe host controller support on
|
||||
Sophgo SoCs.
|
||||
|
||||
config PCIE_SPACEMIT_K1
|
||||
tristate "SpacemiT K1 PCIe controller (host mode)"
|
||||
depends on ARCH_SPACEMIT || COMPILE_TEST
|
||||
depends on HAS_IOMEM
|
||||
select PCIE_DW_HOST
|
||||
select PCI_PWRCTRL_SLOT
|
||||
default ARCH_SPACEMIT
|
||||
help
|
||||
Enables support for the DesignWare based PCIe controller in
|
||||
the SpacemiT K1 SoC operating in host mode. Three controllers
|
||||
are available on the K1 SoC; the first of these shares a PHY
|
||||
with a USB 3.0 host controller (one or the other can be used).
|
||||
|
||||
config PCIE_SPEAR13XX
|
||||
bool "STMicroelectronics SPEAr PCIe controller"
|
||||
depends on ARCH_SPEAR13XX || COMPILE_TEST
|
||||
|
||||
Reference in New Issue
Block a user