[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251030230801.GA1660222@bhelgaas>
Date: Thu, 30 Oct 2025 18:08:01 -0500
From: Bjorn Helgaas <helgaas@...nel.org>
To: Alex Elder <elder@...cstar.com>
Cc: lpieralisi@...nel.org, kwilczynski@...nel.org, mani@...nel.org,
	robh@...nel.org, bhelgaas@...gle.com, dlan@...too.org,
	aurelien@...el32.net, johannes@...felt.com, p.zabel@...gutronix.de,
	christian.bruel@...s.st.com, thippeswamy.havalige@....com,
	krishna.chundru@....qualcomm.com, mayank.rana@....qualcomm.com,
	qiang.yu@....qualcomm.com, shradha.t@...sung.com,
	inochiama@...il.com, guodong@...cstar.com,
	linux-pci@...r.kernel.org, spacemit@...ts.linux.dev,
	linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 5/7] PCI: spacemit: introduce SpacemiT PCIe host driver
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.
Powered by blists - more mailing lists
 
