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

This patch implements save and restore of pllout context.

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

So during suspend entry the state of pllout is saved and on resume
it is restored back to have pllout in same state as before suspend.

pllout rate is saved and restore in clock divider so it will be at
same rate as before suspend when pllout state is restored.

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-out.c