From: Z.q. Hou Date: Fri, 25 Jan 2019 10:02:59 +0000 Subject: [U-Boot] [PATCHv3 00/11] pci: Add PCIe Gen4 controller driver for NXP Layerscape SoCs Message-ID: <20190125100402.14780-1-Zhiqiang.Hou@nxp.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de From: Hou Zhiqiang Add PCIe Gen4 driver for the NXP Layerscape series SoCs. Hou Zhiqiang (11): armv8: fsl-layerscpae: correct the PCIe controllers' region size armv8: lx2160a: add MMU table entries for PCIe pci: Add PCIe Gen4 controller driver for NXP Layerscape SoCs kconfig: add dependency PCIE_LAYERSCAPE_GEN4 for FSL_PCIE_COMPAT pci: ls_pcie_g4: add device tree fixups for PCI Stream IDs armv8: lx2160a: add PCIe controller DT nodes armv8: lx2160a: enable PCIe support on RDB defconfig armv8: lx2160a: enable the pci command pci: ls_pcie_g4: add Workaround for A-011577 pci: ls_pcie_g4: Add Workaround for A-011451 pci: ls_pcie_g4: add Workaround for A-011452 Depends on the following patches: https://patchwork.ozlabs.org/patch/990088/ https://patchwork.ozlabs.org/patch/990093/ https://patchwork.ozlabs.org/patch/990097/ https://patchwork.ozlabs.org/patch/990098/ arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 2 +- arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 12 + arch/arm/dts/fsl-lx2160a.dtsi | 85 +++ .../arm/include/asm/arch-fsl-layerscape/cpu.h | 9 + .../asm/arch-fsl-layerscape/immap_lsch3.h | 14 +- configs/lx2160ardb_tfa_defconfig | 5 + drivers/pci/Kconfig | 8 + drivers/pci/Makefile | 2 + drivers/pci/pci_auto.c | 34 + drivers/pci/pcie_layerscape_gen4.c | 593 ++++++++++++++++++ drivers/pci/pcie_layerscape_gen4.h | 273 ++++++++ drivers/pci/pcie_layerscape_gen4_fixup.c | 249 ++++++++ include/configs/lx2160a_common.h | 1 + include/pci.h | 9 + include/pci_ids.h | 1 + 15 files changed, 1295 insertions(+), 2 deletions(-) create mode 100644 drivers/pci/pcie_layerscape_gen4.c create mode 100644 drivers/pci/pcie_layerscape_gen4.h create mode 100644 drivers/pci/pcie_layerscape_gen4_fixup.c -- 2.17.1