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:
Vivek Gautam <vivek.gautam@codeaurora.org>
Loading
Please sign in to comment