clk: tegra: remove TEGRA_PLL_USE_LOCK for PLLD/PLLD2
authorVince Hsu <vinceh@nvidia.com>
Wed, 24 Aug 2016 13:56:56 +0000 (15:56 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 24 Aug 2016 17:54:17 +0000 (10:54 -0700)
commitaf7c388a9c2e5fdd36da6eaaa35fb86fb8aefd0b
tree3ea7b4acd4c5c11f1e3531a64e12b3cc30120c36
parente0cb1b84163720ec67ff0e54397fd3f57ad4a4dd
clk: tegra: remove TEGRA_PLL_USE_LOCK for PLLD/PLLD2

Tegra114 has a HW bug that the PLLD/PLLD2 lock bit cannot be asserted when
the DIS power domain is during up-powergating process but the clamp to this
domain is not removed yet. That causes a timeout and aborts the power
sequence, although the PLLD/PLLD2 has already locked. To remove the false
alarm, we don't use the lock for PLLD/PLLD2. Just wait 1ms and treat the
clocks as locked.

Signed-off-by: Vince Hsu <vinceh@nvidia.com>
Tested-by: Jonathan Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/tegra/clk-tegra114.c