Re: [PATCH V3 05/17] clk: tegra: pllout: save and restore pllout context

From: Thierry Reding
Date: Tue Jun 18 2019 - 07:46:55 EST


On Tue, Jun 18, 2019 at 12:46:19AM -0700, Sowjanya Komatineni wrote:
> 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.
>
> Signed-off-by: Sowjanya Komatineni <skomatineni@xxxxxxxxxx>
> ---
> drivers/clk/tegra/clk-pll-out.c | 28 ++++++++++++++++++++++++++++
> drivers/clk/tegra/clk.h | 3 +++
> 2 files changed, 31 insertions(+)

Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature