[PATCH 0/5] PCI: MediaTek: Add support for new generation host controller

From: honghui.zhang
Date: Thu Jul 20 2017 - 22:33:18 EST


From: Honghui Zhang <honghui.zhang@xxxxxxxxxxxx>

MediaTek's PCIe host controller has two generation HWs, the new
generation HW has two root ports, it shares most probing flow with the
legacy controller. But the read/write config space logical is different
from the lagacy controller.
This patchset abstract the common probing flow, and add support for the
new generation controller.

Ryder Lee (5):
PCI: mediatek: Add a structure to abstract the controller generations
PCI: mediatek: switch to use platform_get_resource_byname()
dt-bindings: PCI: rename and cleanup MediaTek binding text
PCI: mediatek: Add new generation controller support
dt-bindings: PCI: add support for new generation controller

...{mediatek,mt7623-pcie.txt => mediatek-pcie.txt} | 113 +++-
drivers/pci/host/Kconfig | 5 +-
drivers/pci/host/pcie-mediatek.c | 578 +++++++++++++++++++--
3 files changed, 629 insertions(+), 67 deletions(-)
rename Documentation/devicetree/bindings/pci/{mediatek,mt7623-pcie.txt => mediatek-pcie.txt} (59%)

--
2.6.4