cpufreq: tegra124: do not handle the CPU rail
authorJoseph Lo <josephl@nvidia.com>
Fri, 4 Jan 2019 03:06:53 +0000 (11:06 +0800)
committerThierry Reding <treding@nvidia.com>
Wed, 6 Feb 2019 13:30:11 +0000 (14:30 +0100)
commit9f5ed5fe60605cadbfeb929565c02fa55e4016ba
tree24c07b4805a50da5735d207301e832582d9910a2
parentbfeffd155283772bbe78c6a05dec7c0128ee500c
cpufreq: tegra124: do not handle the CPU rail

The Tegra124 cpufreq driver has no information to handle the Vdd-CPU
rail. So this driver shouldn't handle for the CPU clock switching from
DFLL to other PLL clocks. It was designed to work on DFLL clock only,
which handle the frequency/voltage scaling in the background.

This patch removes the driver dependency of the CPU rail, as well as not
allow it to be built as a module and remove the removal function. So it
can keep working on DFLL clock.

Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: linux-pm@vger.kernel.org
Signed-off-by: Joseph Lo <josephl@nvidia.com>
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/cpufreq/Kconfig.arm
drivers/cpufreq/tegra124-cpufreq.c