summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiwakar Tundlam <dtundlam@nvidia.com>2011-09-02 10:38:24 -0700
committerRohan Somvanshi <rsomvanshi@nvidia.com>2011-09-06 03:21:14 -0700
commit9f2693a80274bcd9eb8e7424bca87f34cc190741 (patch)
treea08a7494591da1f6c2727b1e17c3b938515778f0
parent36eb87ff03c2bc6ee5b3821117b3afb225417034 (diff)
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 <rsomvanshi@nvidia.com> Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
-rw-r--r--arch/arm/mach-tegra/board-cardhu-sensors.c2
-rw-r--r--arch/arm/mach-tegra/board-enterprise-sensors.c2
-rw-r--r--arch/arm/mach-tegra/edp.c38
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} },
};