OSDN Git Service

clk: tegra: Update T210 PLLSS (D2/DP) registration
authorAlex Frid <afrid@nvidia.com>
Tue, 25 Jul 2017 10:34:12 +0000 (13:34 +0300)
committerStephen Boyd <sboyd@codeaurora.org>
Wed, 23 Aug 2017 23:00:12 +0000 (16:00 -0700)
commitf7bdb8b78a3d4b2f0ebd76e606ac6ca2925d7b02
treec8c8be7ac2979e5a51a59539b650094e37becdc4
parentac99afe55adf1406e367d229a1c5b2f09818b5a6
clk: tegra: Update T210 PLLSS (D2/DP) registration

Remove from Tegra210 PLLSS registration code sections that
- attempt to set PLL minimum rate (unnecessary, and dangerous if PLL
  is already enabled on boot)
- apply pre-Tegra210 defaults settings
- check IDDQ setting (duplicated with Tegra210 PLLSS check defaults)

Replaced setting of reference clock with check that default oscillator
selection is not changed, and failed registration otherwise as validation
was only done with the oscillator as the reference clock.

Reordered registration, so that PLL initialization is called after
VCOmin adjustment.

Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/tegra/clk-pll.c