diff options
| author | Richard Zhu <[email protected]> | 2025-07-09 03:37:21 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2025-07-24 16:48:45 +0000 |
| commit | d31eb217425591e100b475fad6360cd3da2073c6 (patch) | |
| tree | 551b965ae0cf2cf7961c87239d09d89fafec1548 /drivers/pci/controller/dwc/pcie-uniphier.c | |
| parent | PCI: imx6: Add LUT configuration for MSI/IOMMU in Endpoint mode (diff) | |
| download | kernel-d31eb217425591e100b475fad6360cd3da2073c6.tar.gz kernel-d31eb217425591e100b475fad6360cd3da2073c6.zip | |
PCI: imx6: Remove apps_reset toggling from imx_pcie_{assert/deassert}_core_reset
apps_reset corresponds to LTSSM_EN in i.MX7, i.MX8MQ, i.MX8MM and i.MX8MP
platforms. Since assertion/de-assertion of apps_reset is done in
imx_pcie_ltssm_enable() and imx_pcie_ltssm_disable(), remove it from
imx_pcie_assert_core_reset() and imx_pcie_deassert_core_reset().
This also fixes a failure in enumerating the PI7C9X2G608GP (hotplug) chip
reliably on i.MX8MM, as reported by Tim.
It should be noted that only i.MX7D, i.MX8MQ, i.MX8MM, and i.MX8MP
platforms have the apps_reset logic, so this change doesn't have any effect
on other platforms.
Fixes: ef61c7d8d032 ("PCI: imx6: Deassert apps_reset in imx_pcie_deassert_core_reset()")
Reported-by: Tim Harvey <[email protected]>
Closes: https://lore.kernel.org/all/CAJ+vNU3ohR2YKTwC4xoYrc1z-neDoH2TTZcMHDy+poj9=jSy+w@mail.gmail.com/
Signed-off-by: Richard Zhu <[email protected]>
[mani: reworded commit subject and description]
Signed-off-by: Manivannan Sadhasivam <[email protected]>
[bhelgaas: commit log]
Signed-off-by: Bjorn Helgaas <[email protected]>
Tested-by: Tim Harvey <[email protected]> # imx8mp-venice-gw74xx (i.MX8MP + hotplug capable switch)
Reviewed-by: Frank Li <[email protected]>
Cc: [email protected]
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-uniphier.c')
0 files changed, 0 insertions, 0 deletions
