]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commit68a14a5634dacb37d18618d62f0410f1ec69ab28
tree2b61253f1544ba705f9830832540e212045b1e6e
parent2b8cfd6b52cbf951d9b90862d95b8473d34d02ee
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