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/board-common.c | |
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/board-common.c')
-rw-r--r-- | arch/arm/mach-tegra/board-common.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/board-common.c b/arch/arm/mach-tegra/board-common.c index df2bb69a007e..f379203946f6 100644 --- a/arch/arm/mach-tegra/board-common.c +++ b/arch/arm/mach-tegra/board-common.c @@ -30,6 +30,7 @@ #include "devices.h" #include "clock.h" #include "dvfs.h" +#include "cpu-tegra.h" extern unsigned long debug_uart_port_base; extern struct clk *debug_uart_clk; @@ -184,3 +185,8 @@ void tegra_add_tgpu_trips(struct thermal_trip_info *trips, int *num_trips) { tegra_add_trip_points(trips, num_trips, tegra_dvfs_get_gpu_vts_cdev()); } + +void tegra_add_vc_trips(struct thermal_trip_info *trips, int *num_trips) +{ + tegra_add_trip_points(trips, num_trips, tegra_vc_get_cdev()); +} |