[PATCH v4 5/7] PCI: spacemit: introduce SpacemiT PCIe host driver
Bjorn Helgaas
helgaas at kernel.org
Thu Oct 30 16:08:01 PDT 2025
In subject, capitalize "introduce" to match history. Or you could
just use "Add ...", which has the advantage of being shorter.
On Thu, Oct 30, 2025 at 05:02:56PM -0500, Alex Elder wrote:
> 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 three PCIe ports that operate at PCIe gen2 transfer
> rates (5 GT/sec). The first port uses a combo PHY, which may be
> configured for use for USB 3 instead.
> ...
I guess this doesn't support INTx interrupts at all?
> +++ b/drivers/pci/controller/dwc/Kconfig
> @@ -509,6 +509,17 @@ config PCI_KEYSTONE_EP
> on DesignWare hardware and therefore the driver re-uses the
> DesignWare core functions to implement the driver.
>
> +config PCIE_SPACEMIT_K1
> + tristate "SpacemiT K1 PCIe controller (host mode)"
Move this to keep the menu items alphabetized by vendor.
> + depends on ARCH_SPACEMIT || COMPILE_TEST
> + depends on PCI && OF && HAS_IOMEM
I don't think you need PCI or OF.
> + select PCIE_DW_HOST
> + select PCI_PWRCTRL_SLOT
> + default ARCH_SPACEMIT
> + help
> + Enables support for the PCIe controller in the K1 SoC operating
> + in host mode.
Most help text includes both the vendor and the product line names.
More information about the linux-riscv
mailing list