diff options
author | Sai Gurrappadi <sgurrappadi@nvidia.com> | 2013-11-07 17:56:12 -0800 |
---|---|---|
committer | Diwakar Tundlam <dtundlam@nvidia.com> | 2013-11-19 16:01:49 -0800 |
commit | 7b190a19a5def471da377512303c5408d6877eda (patch) | |
tree | d5ee30f4fa2a77aaa5ee3c3d908c1fa0ca9edb98 /arch/arm/mach-tegra/cpu-tegra.h | |
parent | e332472a1104624927f57cf40d26d64d6edd76ef (diff) |
ARM: tegra: Module for dynamic voltage limits
Provide userspace with an interface to dynamically adjust
CPU <voltage, temperature> cap. Userspace must respect datasheet-imposed
limits.
Bug 1349095
Change-Id: Ie6d5834d56ad0f1d325bdfbb294c5d9189a8ea2f
Signed-off-by: Sai Gurrappadi <sgurrappadi@nvidia.com>
Reviewed-on: http://git-master/r/327986
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Tested-by: Diwakar Tundlam <dtundlam@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/cpu-tegra.h')
-rw-r--r-- | arch/arm/mach-tegra/cpu-tegra.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/cpu-tegra.h b/arch/arm/mach-tegra/cpu-tegra.h index cd11c249b17c..9db09d64ddf3 100644 --- a/arch/arm/mach-tegra/cpu-tegra.h +++ b/arch/arm/mach-tegra/cpu-tegra.h @@ -74,5 +74,11 @@ static inline int tegra_update_cpu_edp_limits(void) static inline int tegra_cpu_reg_mode_force_normal(bool force) { return 0; } #endif +#ifdef CONFIG_TEGRA_CPU_VOLT_CAP +struct tegra_cooling_device *tegra_vc_get_cdev(void); +#else +static inline struct tegra_cooling_device *tegra_vc_get_cdev(void) +{ return NULL; } +#endif #endif /* __MACH_TEGRA_CPU_TEGRA_H */ |