All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH RFT v2 0/4] pci: add common Designware PCIe functions and support Amlogic Meson PCIe controller
@ 2021-03-25 14:49 ` Neil Armstrong
  0 siblings, 0 replies; 26+ messages in thread
From: Neil Armstrong @ 2021-03-25 14:49 UTC (permalink / raw)
  To: u-boot

With the introduction of pcie_dw_rockchip, and need to support the DW PCIe in the
Amlogic AXG & G12 SoCs, most of the DW PCIe helpers would be duplicated.

This introduce a "common" DW PCIe helpers file with common code merged from the
dw_ti and dw_rockchip drivers and adapted to fit with the upcoming dw_meson.

The following changes will switch the dw_ti and dw_rockchip, and introduce a new
driver to support the Amlogic AXG & G12 SoCs using these new common helpers.

The dw_meson has been validated, but the dw_ti and dw_rockchip would need testing
on hardware to validate nothing has been broken.

Changes since v1:
- added prefetch memory region support
- switched to __iomem
- fixed circular dependency for PCI_KEYSTONE

Neil Armstrong (4):
  pci: add common Designware PCIe functions
  pci: pcie_dw_ti: migrate to common Designware PCIe functions
  pci: pcie_dw_rockchip: migrate to common Designware PCIe functions
  pci: add Amlogic Meson Designware PCIe controller

 drivers/pci/Kconfig            |  16 +-
 drivers/pci/Makefile           |   2 +
 drivers/pci/pcie_dw_common.c   | 366 +++++++++++++++++++++++++
 drivers/pci/pcie_dw_common.h   | 155 +++++++++++
 drivers/pci/pcie_dw_meson.c    | 459 ++++++++++++++++++++++++++++++++
 drivers/pci/pcie_dw_rockchip.c | 472 ++-------------------------------
 drivers/pci/pcie_dw_ti.c       | 444 +++----------------------------
 7 files changed, 1062 insertions(+), 852 deletions(-)
 create mode 100644 drivers/pci/pcie_dw_common.c
 create mode 100644 drivers/pci/pcie_dw_common.h
 create mode 100644 drivers/pci/pcie_dw_meson.c

-- 
2.25.1

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

end of thread, other threads:[~2021-04-15  4:20 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-25 14:49 [PATCH RFT v2 0/4] pci: add common Designware PCIe functions and support Amlogic Meson PCIe controller Neil Armstrong
2021-03-25 14:49 ` Neil Armstrong
2021-03-25 14:49 ` [PATCH RFT v2 1/4] pci: add common Designware PCIe functions Neil Armstrong
2021-03-25 14:49   ` Neil Armstrong
2021-03-26  9:21   ` Green Wan
2021-03-26  9:21     ` Green Wan
2021-03-26 11:48     ` Bin Meng
2021-03-26 11:48       ` Bin Meng
2021-03-26 14:23       ` Green Wan
2021-03-26 14:23         ` Green Wan
2021-03-25 14:49 ` [PATCH RFT v2 2/4] pci: pcie_dw_ti: migrate to " Neil Armstrong
2021-03-25 14:49   ` Neil Armstrong
2021-03-25 14:49 ` [PATCH RFT v2 3/4] pci: pcie_dw_rockchip: " Neil Armstrong
2021-03-25 14:49   ` Neil Armstrong
2021-03-25 14:49 ` [PATCH RFT v2 4/4] pci: add Amlogic Meson Designware PCIe controller Neil Armstrong
2021-03-25 14:49   ` Neil Armstrong
2021-04-06 12:21 ` [PATCH RFT v2 0/4] pci: add common Designware PCIe functions and support Amlogic Meson " Neil Armstrong
2021-04-06 12:21   ` Neil Armstrong
2021-04-08  5:29   ` Bin Meng
2021-04-08  5:29     ` Bin Meng
2021-04-08  7:41     ` Neil Armstrong
2021-04-08  7:41       ` Neil Armstrong
2021-04-14 22:24       ` Bin Meng
2021-04-14 22:24         ` Bin Meng
2021-04-15  4:20         ` Bin Meng
2021-04-15  4:20           ` Bin Meng

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.