Skip to content

PCI: Add new Unisoc PCIe driver

Chunyan Zhang linux-devicetree linux-pci lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v6 Latest2 patches 2 repliesIn review

Changes in v6 from the cover letter

* Change "GPL v2" to "GPL".
* Remove exit_p wrapper which used to define remove callback.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controllerDocumentation/devicetree/bindings/pci/sprd-pcie.yaml+93 -00 replies
2/2PCI: sprd: Add support for Unisoc SoCs' PCIe controllerdrivers/pci/controller/dwc/Kconfig drivers/pci/controller/dwc/Makefile drivers/pci/controller/dwc/pcie-sprd.c+305 -02 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [RESEND PATCH V6 0/2] PCI: Add new Unisoc PCIe driver

From: Chunyan Zhang <[email protected]>

This series adds PCIe controller driver for Unisoc SoCs. This controller is based on DesignWare PCIe IP.

This RESEND patch set V6 is based on v5.12-rc4.

Changes since v5:
* Change "GPL v2" to "GPL".
* Remove exit_p wrapper which used to define remove callback.

Changes since v4:
* Install 'yamllint' and upgrade dt-schema in order to solve the yamllint and dtschema/dtc warnings/errors:

Changes since v3:
* Split the property 'sprd,pcie-poweron-syscons' and 'sprd,pcie-poweroff-syscons' into reset, power domains, phy and so on;
* Delete the function to get resource 'msi' and 'dbi' which were parsed by the DW core;
* Delete the function 'sprd_pcie_host_init', because the DW core has done it.

Changes since v2:
* Change RC mode to host mode in drivers/pci/controller/dwc/Kconfig;
* Change Signed-off-by from Billows Wu to Hongtao Wu

Changes since v1:
* Test this patch on top of Rob Herring's 40 part series of DWC clean-ups:
https://lore.kernel.org/linux-pci/[email protected]/
* Delete empty function;
* Document property "sprd,pcie-poweron-syscons" and 'sprd,pcie-poweroff-syscons';
* Delete runtime suspend/resume function;
* Add COMPILE_TEST which CONFIG_PCIE_SPRD depends on.

Hongtao Wu (2):
dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller
PCI: sprd: Add support for Unisoc SoCs' PCIe controller

 .../devicetree/bindings/pci/sprd-pcie.yaml    |  93 ++++++
 drivers/pci/controller/dwc/Kconfig            |  12 +
 drivers/pci/controller/dwc/Makefile           |   1 +
 drivers/pci/controller/dwc/pcie-sprd.c        | 292 ++++++++++++++++++
 4 files changed, 398 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pci/sprd-pcie.yaml
 create mode 100644 drivers/pci/controller/dwc/pcie-sprd.c
Signature · 1 line
2.25.1