phy: qcom-qmp-pcie: Fix high latency with 4x2 PHY when ASPM is enabled
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 2 Nov 2022 08:18:34 +0000 (13:48 +0530)
committerVinod Koul <vkoul@kernel.org>
Thu, 10 Nov 2022 07:15:45 +0000 (12:45 +0530)
commit9ddcd920f8edfe65c3670fbd0b49db00e1e562fe
treed4a41340eb70a0955c6a2cb0eb90623110d30fe2
parent2584068a9ef4a7bff3b9302dd058a4c95ce68631
phy: qcom-qmp-pcie: Fix high latency with 4x2 PHY when ASPM is enabled

The PCIe QMP 4x2 RC PHY generates high latency when ASPM is enabled. This
seem to be fixed by clearing the QPHY_V5_20_PCS_PCIE_PRESET_P10_POST
register of the pcs_misc register space.

Fixes: 2c91bf6bf290 ("phy: qcom-qmp: Add SM8450 PCIe1 PHY support")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20221102081835.41892-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/qualcomm/phy-qcom-qmp-pcie.c
drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v5_20.h