archive mirror
 help / color / mirror / Atom feed
From: Chunyan Zhang <>
To: Lorenzo Pieralisi <>,
	Rob Herring <>
	Hongtao Wu <>,
	Baolin Wang <>,, Orson Zhai <>,
	Chunyan Zhang <>,
	Chunyan Zhang <>
Subject: [RESEND PATCH V6 0/2] PCI: Add new Unisoc PCIe driver
Date: Mon, 22 Mar 2021 17:18:29 +0800	[thread overview]
Message-ID: <> (raw)

From: Chunyan Zhang <>

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:
* 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


             reply	other threads:[~2021-03-22  9:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-22  9:18 Chunyan Zhang [this message]
2021-03-22  9:18 ` [RESEND PATCH V6 1/2] dt-bindings: PCI: sprd: Document Unisoc PCIe RC host controller Chunyan Zhang
2021-03-22  9:18 ` [RESEND PATCH V6 2/2] PCI: sprd: Add support for Unisoc SoCs' PCIe controller Chunyan Zhang
2021-03-23 20:30   ` Bjorn Helgaas
2021-03-25  6:14     ` Chunyan Zhang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \ \
    --subject='Re: [RESEND PATCH V6 0/2] PCI: Add new Unisoc PCIe driver' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).