summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_governor.c
diff options
context:
space:
mode:
authorSowjanya Komatineni <skomatineni@nvidia.com>2019-08-16 12:41:57 -0700
committerThierry Reding <treding@nvidia.com>2019-10-29 13:25:29 +0100
commit0fb438eed10ca13d212a5675363beb5a5cd721f2 (patch)
tree7f1639c49f5ab8c034222ec7b66794b0f60bda52 /drivers/cpufreq/cpufreq_governor.c
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff)
downloadlinux-0fb438eed10ca13d212a5675363beb5a5cd721f2.tar.gz
linux-0fb438eed10ca13d212a5675363beb5a5cd721f2.tar.bz2
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 'drivers/cpufreq/cpufreq_governor.c')
0 files changed, 0 insertions, 0 deletions