summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/dvfs.c
diff options
context:
space:
mode:
authorAlex Frid <afrid@nvidia.com>2012-12-27 22:30:20 -0800
committerMandar Padmawar <mpadmawar@nvidia.com>2013-01-07 04:47:24 -0800
commit62a951a69f6a6683ff5e43e85b9c8b8432fcf1dc (patch)
treeb4c4dee829ec910bcd47aec93743cbbdb6625906 /arch/arm/mach-tegra/dvfs.c
parent2d098d7164d42c1afa841bfa4aeba441f285ce29 (diff)
ARM: tegra11: dvfs: Add CPU rail cooling device
Added CPU rail trip-points and cooling device to limit minimum CPU voltage at cold temperature in pll mode. Bug 1177204 Change-Id: Ia9293141998587f53cb42d5284b42cea938e4248 Signed-off-by: Alex Frid <afrid@nvidia.com> Reviewed-on: http://git-master/r/187372 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/dvfs.c')
-rw-r--r--arch/arm/mach-tegra/dvfs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/dvfs.c b/arch/arm/mach-tegra/dvfs.c
index d91d9a07c410..76fc72275d76 100644
--- a/arch/arm/mach-tegra/dvfs.c
+++ b/arch/arm/mach-tegra/dvfs.c
@@ -821,6 +821,13 @@ struct tegra_cooling_device *tegra_dvfs_get_cpu_dfll_cdev(void)
return NULL;
}
+struct tegra_cooling_device *tegra_dvfs_get_cpu_pll_cdev(void)
+{
+ if (tegra_cpu_rail)
+ return tegra_cpu_rail->pll_mode_cdev;
+ return NULL;
+}
+
struct tegra_cooling_device *tegra_dvfs_get_core_cdev(void)
{
if (tegra_core_rail)