linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] add the Amlogic Meson PCIe controller driver
@ 2018-08-30  8:13 Hanjie Lin
  2018-08-30  8:13 ` [PATCH v3 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe controller Hanjie Lin
  2018-08-30  8:13 ` [PATCH v3 2/2] PCI: meson: add the Amlogic Meson PCIe controller driver Hanjie Lin
  0 siblings, 2 replies; 4+ messages in thread
From: Hanjie Lin @ 2018-08-30  8:13 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Hanjie Lin, Kevin Hilman, Jerome Brunet, Rob Herring,
	linux-kernel, linux-pci, linux-arm-kernel, linux-amlogic,
	Yixun Lan, Liang Yang, Jianxin Pan, Qiufang Dai, Jian Hu,
	devicetree

The Amlogic Meson PCIe host controller is based on the Synopsys DesignWare
PCI core. This patchset add the driver and dt-bindings of the controller.

Till patch v2, we have a dedicated phy driver which only process reset job.
It's too overkill so we integrate phy driver into the controller.

Changes since v2: [1]
 - abandon phy driver, move reset to the controller
 - use devm_add_action_or_reset() to use clock res
 - format correcting

Changes since v1: [0]
 - use gpio lib instead open code 
 - move 'apb' and 'port' reset from phy driver
 - format correcting

[0] :  https://lkml.kernel.org/r/1534227522-186798-1-git-send-email-hanjie.lin@amlogic.com
[1] :  https://lkml.kernel.org/r/1535096165-45827-1-git-send-email-hanjie.lin@amlogic.com 

Yue Wang (2):
  dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe
    controller
  PCI: meson: add the Amlogic Meson PCIe controller driver

 .../devicetree/bindings/pci/amlogic,meson-pcie.txt |  70 +++
 drivers/pci/controller/dwc/Kconfig                 |  12 +
 drivers/pci/controller/dwc/Makefile                |   1 +
 drivers/pci/controller/dwc/pci-meson.c             | 617 +++++++++++++++++++++
 4 files changed, 700 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pci/amlogic,meson-pcie.txt
 create mode 100644 drivers/pci/controller/dwc/pci-meson.c

-- 
2.7.4


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-10 19:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-30  8:13 [PATCH v3 0/2] add the Amlogic Meson PCIe controller driver Hanjie Lin
2018-08-30  8:13 ` [PATCH v3 1/2] dt-bindings: PCI: meson: add DT bindings for Amlogic Meson PCIe controller Hanjie Lin
2018-09-10 19:38   ` Rob Herring
2018-08-30  8:13 ` [PATCH v3 2/2] PCI: meson: add the Amlogic Meson PCIe controller driver Hanjie Lin

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).