phy: tegra: xusb: Disable trk clk when not in use
authorWayne Chang <waynec@nvidia.com>
Wed, 11 Jan 2023 11:04:48 +0000 (11:04 +0000)
committerVinod Koul <vkoul@kernel.org>
Thu, 12 Jan 2023 17:27:06 +0000 (22:57 +0530)
commite5f9124404d0c11fd19d1431901bcf76c535e241
treea525b266b8a3d9841a1e2158dc3869d179f54c42
parenteb5793fbea50e7c89fce0bb56ce9948fa67f125b
phy: tegra: xusb: Disable trk clk when not in use

Pad tracking is a one-time calibration for Tegra186 and Tegra194.
Clk should be disabled after calibration.

Disable clk after calibration.
While at it add 100us delay for HW recording the calibration value.

Signed-off-by: Wayne Chang <waynec@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20230111110450.24617-5-jonathanh@nvidia.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/tegra/xusb-tegra186.c