Commit d48911c4 authored by Vivek Gautam's avatar Vivek Gautam Committed by Nicolas Dechesne
Browse files

phy: qcom-qmp: Fix the PCS ready status polling



Fixing the PCS ready status polling for USB.

PCIe:
PHY_COM_PCS_READY_STATUS: PCS_READY bit sets to 1 - indicate common PLL
has been calibrated.
USB:
PHY_PCS_STATUS: PHY_PCS_STATUS bit resets to 0 - indicate PHY PLL is
calibrated and locked.

The two had been mixed together in previous patches, and that caused
USB to exit out of poll earlier than required by PLL to get locked.
So, we used to see pipe_clk not getting enabled most of the times.
This patch separates out the two polling methods.

Signed-off-by: default avatarVivek Gautam <vivek.gautam@codeaurora.org>
parent 31eed9be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment