PCI: dwc: Add multi-port controller support
Get series with b4
b4 am [email protected] change-id 20251010-dt-parser-98b50ce18fc1Versions newest first
- v2 Latest2 patches 3 repliesIn review
- v12 patches 8 repliesSuperseded
Changes in v2 from the cover letter
- Fix error code preservation in dw_pcie_resume_noirq() to return actual
error from dw_pcie_wait_for_link() instead of hardcoded -ETIMEDOUT (Mani).
- Initialize ret variable to -ENOENT in dw_pcie_parse_root_ports() (Mani).
- dw_pcie_host_init(): Remove -ENOENT error skipping to make parsing
failures fatal for now, add TODO comment about making properties
optional later (Mani).
- Link to v1: https://lore.kernel.org/r/[email protected]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PCI: API changes for multi-port controller supportdrivers/ drivers/ | +6 | 0 replies | |
| 2/2 | PCI: dwc: Add multi-port controller supportdrivers/ drivers/ drivers/ +11 more | +226 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Neil Armstrong |
|---|---|
| Series | T-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] PCI: dwc: Add multi-port controller support
This series adds support for multi-port PCIe controllers in the DesignWare driver. Currently, the driver only supports a single Root Port with controller-level properties, which doesn't work for multi-port controllers where each port may have different configurations.
This series introduces a per-port structure and parsing API that allows each Root Port to be configured independently via pcie@N child nodes in device tree, while maintaining backward compatibility with existing single-port bindings.
---
Changes in v2:
- Fix error code preservation in dw_pcie_resume_noirq() to return actual
error from dw_pcie_wait_for_link() instead of hardcoded -ETIMEDOUT (Mani).
- Initialize ret variable to -ENOENT in dw_pcie_parse_root_ports() (Mani).
- dw_pcie_host_init(): Remove -ENOENT error skipping to make parsing
failures fatal for now, add TODO comment about making properties
optional later (Mani).
- Link to v1: https://lore.kernel.org/r/[email protected]
---
Sumit Kumar (2):
PCI: API changes for multi-port controller support
PCI: dwc: Add multi-port controller support
drivers/pci/controller/dwc/pci-exynos.c | 4 +- drivers/pci/controller/dwc/pci-imx6.c | 15 +- drivers/pci/controller/dwc/pci-meson.c | 1 - drivers/pci/controller/dwc/pcie-designware-host.c | 175 ++++++++++++++++++---- drivers/pci/controller/dwc/pcie-designware.c | 32 ++-- drivers/pci/controller/dwc/pcie-designware.h | 17 ++- drivers/pci/controller/dwc/pcie-fu740.c | 6 +- drivers/pci/controller/dwc/pcie-intel-gw.c | 13 +- drivers/pci/controller/dwc/pcie-qcom-common.c | 5 +- drivers/pci/controller/dwc/pcie-qcom-ep.c | 4 +- drivers/pci/controller/dwc/pcie-qcom.c | 4 +- drivers/pci/controller/dwc/pcie-rcar-gen4.c | 13 +- drivers/pci/controller/dwc/pcie-spear13xx.c | 5 +- drivers/pci/controller/dwc/pcie-tegra194.c | 4 +- drivers/pci/of.c | 6 +- drivers/pci/pci.h | 2 + 16 files changed, 232 insertions(+), 74 deletions(-)
---
base-commit: 097a6c336d0080725c626fda118ecfec448acd0f
change-id: 20251010-dt-parser-98b50ce18fc1
Best regards,
Signature · 1 line
Sumit Kumar <[email protected]>