]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: dwc: Invoke post_init in dw_pcie_resume_noirq()
authorRichard Zhu <hongxing.zhu@nxp.com>
Wed, 15 Oct 2025 03:04:25 +0000 (11:04 +0800)
committerManivannan Sadhasivam <mani@kernel.org>
Wed, 21 Jan 2026 07:31:08 +0000 (13:01 +0530)
commitc577ce2881f9c76892de5ffc1a122e3ef427ecee
treebddc8679c044a1487fc405e3e5f0a798e57c6278
parentd8574ce57d760a958623c8f6bc3c55b5187a7bd7
PCI: dwc: Invoke post_init in dw_pcie_resume_noirq()

In some SoCs like i.MX95, CLKREQ# is pulled low by the controller driver
before link up. After link up, if the 'supports-clkreq' property is
specified in DT, the driver will release CLKREQ# so that it can go high and
the endpoint can pull it low whenever required i.e., during exit from L1
Substates.

Hence, at the end of dw_pcie_resume_noirq(), invoke the '.post_init()'
callback if exists to perform the above mentioned action.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
[mani: reworded description]
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20251015030428.2980427-9-hongxing.zhu@nxp.com
drivers/pci/controller/dwc/pcie-designware-host.c