Re: [PATCH v7 11/20] cpufreq: tegra124: Add suspend and resume support

From: Sowjanya Komatineni
Date: Thu Aug 01 2019 - 13:51:43 EST



On 7/31/19 10:40 PM, Viresh Kumar wrote:
On 31-07-19, 14:10, Sowjanya Komatineni wrote:
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.

Signed-off-by: Sowjanya Komatineni <skomatineni@xxxxxxxxxx>
---
drivers/cpufreq/tegra124-cpufreq.c | 60 ++++++++++++++++++++++++++++++++++++++
1 file changed, 60 insertions(+)
Is there any hard dependency of this patch on the rest of the patches?
Can I apply it alone to cpufreq tree ?

This patch cannot be applied alone as it has dependency on dfll clock suspend and resume sequence.