|
|
Subscribe / Log in / New account

PCI: MediaTek: Add support for new generation host controller

From:  <honghui.zhang-AT-mediatek.com>
To:  <bhelgaas-AT-google.com>, <robh-AT-kerenl.org>, <matthias.bgg-AT-gmail.com>, <linux-arm-kernel-AT-lists.infradead.org>, <linux-mediatek-AT-lists.infradead.org>, <linux-pci-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, <devicetree-AT-vger.kernel.org>, <yingjoe.chen-AT-mediatek.com>, <eddie.huang-AT-mediatek.com>, <ryder.lee-AT-mediatek.com>
Subject:  [PATCH 0/5] PCI: MediaTek: Add support for new generation host controller
Date:  Fri, 21 Jul 2017 10:34:44 +0800
Message-ID:  <cover.1500601172.git.honghui.zhang@mediatek.com>
Cc:  <honghui.zhang-AT-mediatek.com>, <hongkun.cao-AT-mediatek.com>, <youlin.pei-AT-mediatek.com>, <yong.wu-AT-mediatek.com>, <yt.shen-AT-mediatek.com>, <sean.wang-AT-mediatek.com>, <xinping.qian-AT-mediatek.com>

From: Honghui Zhang <honghui.zhang@mediatek.com>

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



Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds