]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: imx6: Configure REF_USE_PAD before PHY reset for i.MX95
authorRichard Zhu <hongxing.zhu@nxp.com>
Mon, 18 May 2026 07:27:14 +0000 (15:27 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Tue, 9 Jun 2026 15:44:56 +0000 (21:14 +0530)
commit0c26b1c34d12d4debfb5363cc0be6cdf68e87ba2
tree2154a15b0b87b340af959366d31052a8c36e4dfc
parent250eea5c06f5291603612cdf0c60326db4e19141
PCI: imx6: Configure REF_USE_PAD before PHY reset for i.MX95

According to the i.MX95 PCIe PHY Databook, the ref_use_pad signal in the
Common Block Signals section selects the reference clock source connected
to the PHY pads. Per the specification, any change to this input must be
followed by a PHY reset assertion to take effect.

Move the REF_USE_PAD configuration before the PHY reset toggle to comply
with the required initialization sequence.

Fixes: 47f54a902dcd ("PCI: imx6: Toggle the core reset for i.MX95 PCIe")
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
[mani: renamed the callback and helper to match the usecase]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260518072715.3166514-2-hongxing.zhu@nxp.com
drivers/pci/controller/dwc/pci-imx6.c