From mboxrd@z Thu Jan 1 00:00:00 1970 From: Z.q. Hou Date: Mon, 11 Mar 2019 02:57:51 +0000 Subject: [U-Boot] [PATCHv4 00/12] pci: Add PCIe Gen4 controller driver for NXP Layerscape SoCs Message-ID: <20190311025931.26584-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 (12): 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 pci: ls_pcie_g4: add Workaround for A-011577 dm: pci: add APIs for capability accessors dm: pci: add APIs for MPS and MRRS accessors pci: ls_pcie_g4: Add Workaround for A-011451 pci: ls_pcie_g4: add Workaround for A-011452 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/lx2160aqds_tfa_SECURE_BOOT_defconfig | 5 + configs/lx2160aqds_tfa_defconfig | 6 + configs/lx2160ardb_tfa_SECURE_BOOT_defconfig | 5 + configs/lx2160ardb_tfa_defconfig | 6 + drivers/pci/Kconfig | 8 + drivers/pci/Makefile | 2 + drivers/pci/pci-uclass.c | 245 ++++++++ drivers/pci/pci_auto.c | 35 ++ drivers/pci/pcie_layerscape_gen4.c | 593 ++++++++++++++++++ drivers/pci/pcie_layerscape_gen4.h | 273 ++++++++ drivers/pci/pcie_layerscape_gen4_fixup.c | 249 ++++++++ include/pci.h | 33 + include/pci_ids.h | 1 + 18 files changed, 1581 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