]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
clk: tegra: Support for OSC context save and restore
authorSowjanya Komatineni <skomatineni@nvidia.com>
Fri, 16 Aug 2019 19:41:51 +0000 (12:41 -0700)
committerThierry Reding <treding@nvidia.com>
Mon, 11 Nov 2019 13:53:02 +0000 (14:53 +0100)
commit50d4da9b10edb885b2c5f95750e96b3695fa7c04
tree93d75df646994819f8235919ee84a9e70640e333
parentbc0b3a60fe19610d649a62879dd318d133ed10c0
clk: tegra: Support for OSC context save and restore

This patch adds support for saving OSC clock frequency and the
drive-strength during OSC clock init and creates an API to restore
OSC control register value from the saved context.

This API is invoked by Tegra210 clock driver during system resume
to restore the  OSC clock settings.

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-tegra-fixed.c
drivers/clk/tegra/clk.h