]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tegra: clk-super: Fix to enable PLLP branches to CPU
authorSowjanya Komatineni <skomatineni@nvidia.com>
Fri, 16 Aug 2019 19:41:54 +0000 (12:41 -0700)
committerThierry Reding <treding@nvidia.com>
Mon, 11 Nov 2019 13:53:03 +0000 (14:53 +0100)
commitb14efb8c720da9fd769eacbe9fb0dab3d4c95da7
tree2b61253f1544ba705f9830832540e212045b1e6e
parent040a131d4f20fa8c9d81efdc69c75c8043c529fe
clk: tegra: clk-super: Fix to enable PLLP branches to CPU

This patch has a fix to enable PLLP branches to CPU before changing
the CPU cluster clock source to PLLP for Gen5 Super clock and
disables PLLP branches to CPU when not in use.

During system suspend entry and exit, CPU source will be switched
to PLLP and this needs PLLP branches to be enabled to CPU prior to
the switch.

On system resume, warmboot code enables PLLP branches to CPU and
powers up the CPU with PLLP clock source.

Acked-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-super.c
drivers/clk/tegra/clk-tegra-super-gen4.c
drivers/clk/tegra/clk.c
drivers/clk/tegra/clk.h