diff options
author | Manu Gautam <mgautam@codeaurora.org> | 2018-05-03 02:36:09 +0530 |
---|---|---|
committer | Kishon Vijay Abraham I <kishon@ti.com> | 2018-05-20 21:51:27 +0530 |
commit | fdf37e1a1f050c5f03fbede28cc1b48f3cc80705 (patch) | |
tree | 344b07b38a139b3145a1510a25c47bfc443725d3 /lib/devres.c | |
parent | 52113be1c6e92f7b99ed15ed908a10ac333ce6a9 (diff) | |
download | linux-fdf37e1a1f050c5f03fbede28cc1b48f3cc80705.tar.gz |
phy: qcom-qmp: Enable pipe_clk before PHY initialization
QMP PHY for USB/PCIE requires pipe_clk for locking of retime buffers at the pipe interface. Driver checks for PHY_STATUS without enabling pipe_clk due to which phy_init() fails with initialization timeout. Though pipe_clk is output from PHY (after PLL is programmed during initialization sequence) to GCC clock_ctl and then fed back to PHY but for PHY_STATUS register to reflect successful initialization pipe_clk from GCC must be present. Since, clock driver now ignores status_check for pipe_clk on clk_enable/disable, driver can safely enable/disable pipe_clk from phy_init/exit. Signed-off-by: Manu Gautam <mgautam@codeaurora.org> Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Diffstat (limited to 'lib/devres.c')
0 files changed, 0 insertions, 0 deletions