PCI: imx6: Save and restore the LUT setting during suspend/resume for i.MX95 SoC
authorRichard Zhu <hongxing.zhu@nxp.com>
Wed, 16 Apr 2025 08:13:14 +0000 (16:13 +0800)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Sun, 27 Apr 2025 11:49:24 +0000 (17:19 +0530)
commite4d66131caaf18d7c3c69914513f4be0519ddaaf
tree6f0fc28a022b83982094c1890c0e9d0a5227aaf8
parent047e8b6b3bc3e6b25bfa12896a39d9fb82b591be
PCI: imx6: Save and restore the LUT setting during suspend/resume for i.MX95 SoC

The look up table (LUT) setting would be lost during the PCIe suspend on
i.MX95 SoC. So to ensure proper functionality after resume, save it during
suspend and restore it while resuming.

Fixes: 9d6b1bd6b3c8 ("PCI: imx6: Add i.MX8MQ, i.MX8Q and i.MX95 PM support")
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-8-hongxing.zhu@nxp.com
drivers/pci/controller/dwc/pci-imx6.c