Messages in this thread | | | Date | Wed, 26 Jun 2019 12:12:13 +0200 | From | Thierry Reding <> | Subject | Re: [PATCH V4 10/18] clk: tegra: add save and restore context support for peripheral clocks |
| |
On Sun, Jun 23, 2019 at 08:02:51PM -0700, Sowjanya Komatineni wrote: > This patch implements save and restore context for peripheral fixed > clock ops, peripheral gate clock ops, sdmmc mux clock ops, and > peripheral clock ops. > > During system suspend, core power goes off and looses the settings > of the Tegra CAR controller registers. > > So during suspend entry clock and reset state of peripherals is saved > and on resume they are restored to have clocks back to same rate and > state as before suspend. > > Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com> > --- > drivers/clk/tegra/clk-periph-fixed.c | 31 ++++++++++++++++++++++++++ > drivers/clk/tegra/clk-periph-gate.c | 34 ++++++++++++++++++++++++++++ > drivers/clk/tegra/clk-periph.c | 43 ++++++++++++++++++++++++++++++++++++ > drivers/clk/tegra/clk-sdmmc-mux.c | 30 +++++++++++++++++++++++++ > drivers/clk/tegra/clk.h | 8 +++++++ > 5 files changed, 146 insertions(+)
Acked-by: Thierry Reding <treding@nvidia.com> [unhandled content-type:application/pgp-signature] | |