linux/drivers/clk/tegra
Jon Hunter 1116d5a7af clk: tegra: Don't reset PLL-CX if it is already enabled
Commit 8dce89a1c2 ("clk: tegra: Don't warn for PLL defaults
unnecessarily") changed the tegra210_pllcx_set_defaults() function
causing the PLL to always be reset regardless of whether it is in-use.
This function was changed so that resetting of the PLL will only be
skipped if the PLL is enabled AND 'pllcx->params->defaults_set' is not
true. However, the 'pllcx->params->defaults_set' is always true and
hence, the PLL is now always reset. This causes the boot to fail on the
Tegra210 Smaug where the PLL is already enabled and in-use. Fix this by
only resetting the PLL if not in-use and only printing the warning that
the defaults are not set after we have checked the default settings.

Fixes: 8dce89a1c2 ("clk: tegra: Don't warn for PLL defaults unnecessarily")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
2017-04-04 16:06:05 +02:00
..
clk-audio-sync.c
clk-bpmp.c
clk-dfll.c
clk-dfll.h
clk-divider.c
clk-emc.c
clk-id.h clk: tegra: Add missing Tegra210 clocks 2017-04-04 16:03:00 +02:00
clk-periph-fixed.c
clk-periph-gate.c clk: tegra: Fix disable unused for clocks sharing enable bit 2017-03-20 14:13:52 +01:00
clk-periph.c clk: tegra: Fix build warnings on Tegra20/Tegra30 2017-03-20 17:14:14 +01:00
clk-pll-out.c
clk-pll.c clk: tegra: Rework pll_u 2017-03-20 14:18:30 +01:00
clk-super.c clk: tegra: Add super clock mux/divider 2017-03-20 14:07:33 +01:00
clk-tegra-audio.c clk: tegra: Define Tegra210 DMIC sync clocks 2017-03-20 14:06:33 +01:00
clk-tegra-fixed.c
clk-tegra-periph.c clk: tegra: Add missing Tegra210 clocks 2017-04-04 16:03:00 +02:00
clk-tegra-pmc.c clk: tegra: Propagate clk_out_x rate to parent 2017-04-04 16:00:28 +02:00
clk-tegra-super-gen4.c
clk-tegra20.c
clk-tegra30.c clk: tegra: Add CEC clock 2017-03-20 14:06:23 +01:00
clk-tegra114.c clk: tegra: Add CEC clock 2017-03-20 14:06:23 +01:00
clk-tegra124-dfll-fcpu.c
clk-tegra124.c clk: tegra: Add CEC clock 2017-03-20 14:06:23 +01:00
clk-tegra210.c clk: tegra: Don't reset PLL-CX if it is already enabled 2017-04-04 16:06:05 +02:00
clk.c clk: tegra: Implement reset control reset 2017-03-20 14:15:31 +01:00
clk.h clk: tegra: Fix build warnings on Tegra20/Tegra30 2017-03-20 17:14:14 +01:00
cvb.c
cvb.h
Kconfig
Makefile