PCI: layerscape: Add EP mode support for ls1088a and ls2088a
authorXiaowei Bao <xiaowei.bao@nxp.com>
Fri, 18 Sep 2020 08:00:21 +0000 (16:00 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Mon, 21 Sep 2020 10:46:05 +0000 (11:46 +0100)
commit1b6a0e43a1a128265d4a4edbf0ba3120fdf2297c
tree7c7f40fdd7259c7828ab1820b830c9fc93b7bfc2
parente64844b6da31011ba7369da2593f3c08dbdf511d
PCI: layerscape: Add EP mode support for ls1088a and ls2088a

Add PCIe EP mode support for ls1088a and ls2088a, there are some
difference between LS1 and LS2 platform, so refactor the code of
the EP driver.

Link: https://lore.kernel.org/r/20200918080024.13639-10-Zhiqiang.Hou@nxp.com
Signed-off-by: Xiaowei Bao <xiaowei.bao@nxp.com>
Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Rob Herring <robh@kernel.org>
drivers/pci/controller/dwc/pci-layerscape-ep.c