]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Add DW PCIe controller support for iMX8MP SoC
authorSumit Garg <sumit.garg@linaro.org>
Thu, 21 Mar 2024 14:55:03 +0000 (20:25 +0530)
committerFabio Estevam <festevam@gmail.com>
Sun, 24 Mar 2024 16:35:59 +0000 (13:35 -0300)
commitd56d49370f86b9ee2425ef156ad1d5cf7c3676fd
treed6420db3892cbc15355e45737a48b6dc98e1217f
parentc214ebce09bcea4b827344526f55d7bd300046c3
pci: Add DW PCIe controller support for iMX8MP SoC

pcie_imx doesn't seem to share any useful code for iMX8 SoC and it is
tied to quite old port of pcie_designware driver from Linux which
suffices only iMX6 specific needs.

But currently we have the common DWC specific bits which alligns pretty
well with DW PCIe controller on iMX8MP SoC. So lets reuse those common
bits instead as a new driver for iMX8 SoCs. It should be fairly easy to
add support for other iMX8 variants to this driver.

iMX8MP SoC also comes up with standalone PCIe PHY support, so hence we
can reuse the generic PHY infrastructure to power on PCIe PHY.

Tested-by: Tim Harvey <tharvey@gateworks.com> #imx8mp-venice*
Tested-by: Adam Ford <aford173@gmail.com> #imx8mp-beacon-kit
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
drivers/pci/Kconfig
drivers/pci/Makefile
drivers/pci/pcie_dw_imx.c [new file with mode: 0644]