PCI: imx6: Move PHY management functions together
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 14 Jul 2022 07:30:54 +0000 (15:30 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2022 20:33:13 +0000 (15:33 -0500)
commit6b1e989e491088b79f2582c9c0c7925ce1d67e06
tree5a24358d80350cbe6ad74fd558ef277426444065
parent79f14b6f1c60ea79e2209e301e31c12eb2a71e26
PCI: imx6: Move PHY management functions together

Collect imx6_pcie_init_phy(), imx7d_pcie_wait_for_phy_pll_lock(), and
imx6_setup_phy_mpll() earlier with other PHY-related code.  No functional
change intended.

Link: https://lore.kernel.org/r/1657783869-19194-3-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Acked-by: Richard Zhu <hongxing.zhu@nxp.com>
drivers/pci/controller/dwc/pci-imx6.c