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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jan 2023 16:27:41 +0000 (17:27 +0100)
commit71d9e899584e11bbd7eaf9934a619c69a15060d8
tree2c89d30bd14db2daec41eff013340b0d7fd214d9
parent1b17df99730ab63b49848e61ef19d8ee583684c5
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/phy/tegra/xusb-tegra186.c