phy: cadence-torrent: Add delay for PIPE clock to be stable
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 30 Mar 2021 11:01:38 +0000 (16:31 +0530)
committerVinod Koul <vkoul@kernel.org>
Wed, 31 Mar 2021 11:15:47 +0000 (16:45 +0530)
commitb20da3c6b9dd0787e3eec996de806829e1bcaad1
tree2a890851558f7ece4fc8303168f3bfdfe76b02f3
parente0611d6d9639b79bd2605a9eb2e5cae28edc3e85
phy: cadence-torrent: Add delay for PIPE clock to be stable

The Torrent spec specifies delay of 660.5us after phy_reset is
asserted by the controller. To be on the safe side provide a delay
of 5ms to 10ms in ->phy_on() callback where the SERDES is already
configured in bootloader.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Link: https://lore.kernel.org/r/20210330110138.24356-6-kishon@ti.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/cadence/phy-cadence-torrent.c