diff options
author | Sowjanya Komatineni <skomatineni@nvidia.com> | 2019-08-16 21:41:57 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2019-10-29 13:25:29 +0100 |
commit | 0fb438eed10ca13d212a5675363beb5a5cd721f2 (patch) | |
tree | 7f1639c49f5ab8c034222ec7b66794b0f60bda52 /kernel/resource.c | |
parent | Linux 5.4-rc1 (diff) | |
download | linux-0fb438eed10ca13d212a5675363beb5a5cd721f2.tar.xz linux-0fb438eed10ca13d212a5675363beb5a5cd721f2.zip |
cpufreq: tegra124: Add suspend and resume support
This patch adds suspend and resume pm ops for cpufreq driver.
PLLP is the safe clock source for CPU during system suspend and
resume as PLLP rate is below the CPU Fmax at Vmin.
CPUFreq driver suspend switches the CPU clock source to PLLP and
disables the DFLL clock.
During system resume, warmboot code powers up the CPU with PLLP
clock source. So CPUFreq driver resume enabled DFLL clock and
switches CPU back to DFLL clock source.
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions