From 9f2693a80274bcd9eb8e7424bca87f34cc190741 Mon Sep 17 00:00:00 2001 From: Diwakar Tundlam Date: Fri, 2 Sep 2011 10:38:24 -0700 Subject: arm: tegra: power: set throttling temperature = 85C Earlier value of 75 had unnecessary double guardbanding. Changed 90C row in EDP table down to 85C to get throttling alert. Bug 862301 Change-Id: Ie55d1257874aa336198f9965c867f5767864dc89 Reviewed-on: http://git-master/r/50544 Reviewed-by: Rohan Somvanshi Tested-by: Rohan Somvanshi --- arch/arm/mach-tegra/board-cardhu-sensors.c | 2 +- arch/arm/mach-tegra/board-enterprise-sensors.c | 2 +- arch/arm/mach-tegra/edp.c | 38 +++++++++++++------------- 3 files changed, 21 insertions(+), 21 deletions(-) diff --git a/arch/arm/mach-tegra/board-cardhu-sensors.c b/arch/arm/mach-tegra/board-cardhu-sensors.c index 8d4868aad3b5..83614db4c0d1 100644 --- a/arch/arm/mach-tegra/board-cardhu-sensors.c +++ b/arch/arm/mach-tegra/board-cardhu-sensors.c @@ -554,7 +554,7 @@ static struct nct1008_platform_data cardhu_nct1008_pdata = { .hysteresis = 5, .shutdown_ext_limit = 90, .shutdown_local_limit = 90, - .throttling_ext_limit = 75, + .throttling_ext_limit = 85, .alarm_fn = tegra_throttling_enable, }; diff --git a/arch/arm/mach-tegra/board-enterprise-sensors.c b/arch/arm/mach-tegra/board-enterprise-sensors.c index 287497161fc8..e2f6e54c3288 100644 --- a/arch/arm/mach-tegra/board-enterprise-sensors.c +++ b/arch/arm/mach-tegra/board-enterprise-sensors.c @@ -53,7 +53,7 @@ static struct nct1008_platform_data enterprise_nct1008_pdata = { .hysteresis = 5, .shutdown_ext_limit = 90, .shutdown_local_limit = 90, - .throttling_ext_limit = 75, + .throttling_ext_limit = 85, .alarm_fn = tegra_throttling_enable, }; diff --git a/arch/arm/mach-tegra/edp.c b/arch/arm/mach-tegra/edp.c index be1dd331e22f..73de2604bf4e 100644 --- a/arch/arm/mach-tegra/edp.c +++ b/arch/arm/mach-tegra/edp.c @@ -40,67 +40,67 @@ static int edp_limits_size; static char __initdata tegra_edp_map[] = { 0x00, 0x2f, 0x2d, 0x82, 0x78, 0x78, 0x78, 0x00, 0x2f, 0x3c, 0x82, 0x78, 0x78, 0x78, 0x00, 0x2f, - 0x4b, 0x82, 0x78, 0x78, 0x78, 0x00, 0x2f, 0x5a, + 0x4b, 0x82, 0x78, 0x78, 0x78, 0x00, 0x2f, 0x55, 0x82, 0x78, 0x78, 0x78, 0x00, 0x28, 0x2d, 0x82, 0x78, 0x78, 0x78, 0x00, 0x28, 0x3c, 0x82, 0x78, 0x78, 0x78, 0x00, 0x28, 0x4b, 0x82, 0x78, 0x78, - 0x73, 0x00, 0x28, 0x5a, 0x82, 0x78, 0x73, 0x69, + 0x73, 0x00, 0x28, 0x55, 0x82, 0x78, 0x73, 0x69, 0x00, 0x23, 0x2d, 0x82, 0x78, 0x78, 0x78, 0x00, 0x23, 0x3c, 0x82, 0x78, 0x78, 0x6e, 0x00, 0x23, - 0x4b, 0x82, 0x78, 0x78, 0x64, 0x00, 0x23, 0x5a, + 0x4b, 0x82, 0x78, 0x78, 0x64, 0x00, 0x23, 0x55, 0x82, 0x78, 0x6e, 0x5a, 0x00, 0x1e, 0x2d, 0x82, 0x78, 0x78, 0x69, 0x00, 0x1e, 0x3c, 0x82, 0x78, 0x78, 0x64, 0x00, 0x1e, 0x4b, 0x82, 0x78, 0x6e, - 0x5a, 0x00, 0x1e, 0x5a, 0x82, 0x78, 0x64, 0x5a, + 0x5a, 0x00, 0x1e, 0x55, 0x82, 0x78, 0x64, 0x5a, 0x00, 0x19, 0x2d, 0x82, 0x78, 0x6e, 0x5a, 0x00, 0x19, 0x3c, 0x82, 0x78, 0x69, 0x55, 0x00, 0x19, - 0x4b, 0x82, 0x78, 0x5f, 0x4b, 0x00, 0x19, 0x5a, + 0x4b, 0x82, 0x78, 0x5f, 0x4b, 0x00, 0x19, 0x55, 0x82, 0x73, 0x5a, 0x3c, 0x01, 0x2f, 0x2d, 0x82, 0x78, 0x78, 0x78, 0x01, 0x2f, 0x3c, 0x82, 0x78, 0x78, 0x78, 0x01, 0x2f, 0x4b, 0x82, 0x78, 0x78, - 0x78, 0x01, 0x2f, 0x5a, 0x82, 0x78, 0x78, 0x78, + 0x78, 0x01, 0x2f, 0x55, 0x82, 0x78, 0x78, 0x78, 0x01, 0x28, 0x2d, 0x82, 0x78, 0x78, 0x78, 0x01, 0x28, 0x3c, 0x82, 0x78, 0x78, 0x78, 0x01, 0x28, - 0x4b, 0x82, 0x78, 0x78, 0x73, 0x01, 0x28, 0x5a, + 0x4b, 0x82, 0x78, 0x78, 0x73, 0x01, 0x28, 0x55, 0x82, 0x78, 0x73, 0x69, 0x01, 0x23, 0x2d, 0x82, 0x78, 0x78, 0x78, 0x01, 0x23, 0x3c, 0x82, 0x78, 0x78, 0x6e, 0x01, 0x23, 0x4b, 0x82, 0x78, 0x78, - 0x64, 0x01, 0x23, 0x5a, 0x82, 0x78, 0x6e, 0x5a, + 0x64, 0x01, 0x23, 0x55, 0x82, 0x78, 0x6e, 0x5a, 0x01, 0x1e, 0x2d, 0x82, 0x78, 0x78, 0x69, 0x01, 0x1e, 0x3c, 0x82, 0x78, 0x78, 0x64, 0x01, 0x1e, - 0x4b, 0x82, 0x78, 0x6e, 0x5a, 0x01, 0x1e, 0x5a, + 0x4b, 0x82, 0x78, 0x6e, 0x5a, 0x01, 0x1e, 0x55, 0x82, 0x78, 0x64, 0x5a, 0x01, 0x19, 0x2d, 0x82, 0x78, 0x6e, 0x5a, 0x01, 0x19, 0x3c, 0x82, 0x78, 0x69, 0x55, 0x01, 0x19, 0x4b, 0x82, 0x78, 0x5f, - 0x4b, 0x01, 0x19, 0x5a, 0x82, 0x73, 0x5a, 0x3c, + 0x4b, 0x01, 0x19, 0x55, 0x82, 0x73, 0x5a, 0x3c, 0x02, 0x3d, 0x2d, 0x8c, 0x82, 0x82, 0x82, 0x02, 0x3d, 0x3c, 0x8c, 0x82, 0x82, 0x82, 0x02, 0x3d, - 0x4b, 0x8c, 0x82, 0x82, 0x82, 0x02, 0x3d, 0x5a, + 0x4b, 0x8c, 0x82, 0x82, 0x82, 0x02, 0x3d, 0x55, 0x8c, 0x82, 0x82, 0x82, 0x02, 0x32, 0x2d, 0x8c, 0x82, 0x82, 0x82, 0x02, 0x32, 0x3c, 0x8c, 0x82, 0x82, 0x82, 0x02, 0x32, 0x4b, 0x8c, 0x82, 0x82, - 0x78, 0x02, 0x32, 0x5a, 0x8c, 0x82, 0x82, 0x6e, + 0x78, 0x02, 0x32, 0x55, 0x8c, 0x82, 0x82, 0x6e, 0x02, 0x28, 0x2d, 0x8c, 0x82, 0x82, 0x78, 0x02, 0x28, 0x3c, 0x8c, 0x82, 0x82, 0x73, 0x02, 0x28, - 0x4b, 0x8c, 0x82, 0x78, 0x6e, 0x02, 0x28, 0x5a, + 0x4b, 0x8c, 0x82, 0x78, 0x6e, 0x02, 0x28, 0x55, 0x8c, 0x82, 0x73, 0x5f, 0x02, 0x23, 0x2d, 0x8c, 0x82, 0x82, 0x6e, 0x02, 0x23, 0x3c, 0x8c, 0x82, 0x78, 0x69, 0x02, 0x23, 0x4b, 0x8c, 0x82, 0x73, - 0x5f, 0x02, 0x23, 0x5a, 0x8c, 0x82, 0x69, 0x55, + 0x5f, 0x02, 0x23, 0x55, 0x8c, 0x82, 0x69, 0x55, 0x03, 0x3d, 0x2d, 0x8c, 0x82, 0x82, 0x82, 0x03, 0x3d, 0x3c, 0x8c, 0x82, 0x82, 0x82, 0x03, 0x3d, - 0x4b, 0x8c, 0x82, 0x82, 0x82, 0x03, 0x3d, 0x5a, + 0x4b, 0x8c, 0x82, 0x82, 0x82, 0x03, 0x3d, 0x55, 0x8c, 0x82, 0x82, 0x82, 0x03, 0x32, 0x2d, 0x8c, 0x82, 0x82, 0x82, 0x03, 0x32, 0x3c, 0x8c, 0x82, 0x82, 0x82, 0x03, 0x32, 0x4b, 0x8c, 0x82, 0x82, - 0x73, 0x03, 0x32, 0x5a, 0x8c, 0x82, 0x82, 0x6e, + 0x73, 0x03, 0x32, 0x55, 0x8c, 0x82, 0x82, 0x6e, 0x03, 0x28, 0x2d, 0x8c, 0x82, 0x82, 0x78, 0x03, 0x28, 0x3c, 0x8c, 0x82, 0x82, 0x73, 0x03, 0x28, - 0x4b, 0x8c, 0x82, 0x7d, 0x6e, 0x03, 0x28, 0x5a, + 0x4b, 0x8c, 0x82, 0x7d, 0x6e, 0x03, 0x28, 0x55, 0x8c, 0x82, 0x73, 0x5f, 0x03, 0x23, 0x2d, 0x8c, 0x82, 0x82, 0x6e, 0x03, 0x23, 0x3c, 0x8c, 0x82, 0x78, 0x6e, 0x03, 0x23, 0x4b, 0x8c, 0x82, 0x78, - 0x5f, 0x03, 0x23, 0x5a, 0x8c, 0x82, 0x6e, 0x5a, + 0x5f, 0x03, 0x23, 0x55, 0x8c, 0x82, 0x6e, 0x5a, }; @@ -109,7 +109,7 @@ static char __initdata tegra_edp_map[] = { * regulator_cur is found; must be the last one */ static struct tegra_edp_limits edp_default_limits[] = { - {90, {1000000, 1000000, 1000000, 1000000} }, + {85, {1000000, 1000000, 1000000, 1000000} }, }; -- cgit v1.2.3