]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: imx6: Skip link up workaround for newer platforms
authorRichard Zhu <hongxing.zhu@nxp.com>
Wed, 16 Apr 2025 08:13:08 +0000 (16:13 +0800)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Sun, 27 Apr 2025 11:28:00 +0000 (16:58 +0530)
commit9c03e30e3ade32136fed5a4ab7872dcb205687d3
tree58ef86b1452da8b3ca3228cf36dcc9c76bfa4b81
parent0af2f6be1b4281385b618cb86ad946eded089ac8
PCI: imx6: Skip link up workaround for newer platforms

The current link setup procedure has one workaround to detect the devices
behind PCIe switches on some i.MX6 platforms. But this workaround is not
needed on recent i.MX7 platforms. So skip the workaround for platforms that
do not set the flag and start LTSSM directly.

Also, change the flag name from IMX_PCIE_FLAG_IMX_SPEED_CHANGE to
IMX_PCIE_FLAG_SPEED_CHANGE_WORKAROUND to match the usecase.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
[mani: subject and description rewording]
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://patch.msgid.link/20250416081314.3929794-2-hongxing.zhu@nxp.com
drivers/pci/controller/dwc/pci-imx6.c