On Fri, Aug 04, 2017 at 08:06:41PM +0800, honghui.zhang at mediatek.com wrote:
From: Ryder Lee <ryder.lee@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 legacy controller. The per-port register must be touched for
read/write config space, And the per-port register base are in separate
address space.
Can you also include the new controller IDs ("MT7622/MT2712"?) in the
subject line of this patch?
Add support for new Gen2 controller which can be found on MT7622/MT2712.