]> git.baikalelectronics.ru Git - kernel.git/commit
clk: tegra: pll: Save and restore pll context
authorSowjanya Komatineni <skomatineni@nvidia.com>
Fri, 16 Aug 2019 19:41:50 +0000 (12:41 -0700)
committerThierry Reding <treding@nvidia.com>
Mon, 11 Nov 2019 13:53:02 +0000 (14:53 +0100)
commitd7210a53d0158ec97427e045720ff021f11a5eaa
tree065e19228dad48c502a3d6156802387c4a9fa903
parentfde561432360c72ec6cd7e66944f6444a08109f6
clk: tegra: pll: Save and restore pll context

This patch implements save and restore of PLL context.

During system suspend, core power goes off and looses the settings
of the Tegra CAR controller registers.

So during resume, pll context is restored based on cached rate
and state.

Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-pll.c