ARM: tegra11: use mW values for battery EDP
Sivaram Nair [Wed, 30 Jan 2013 09:01:28 +0000 (11:01 +0200)]
The battery EDP manager for tegra11 boards needs to start using mW
values instead of mA.

Change-Id: I378b79d0b1e12251526ca8c3acf1105765c8f86b
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
(cherry picked from commit 5a03d500f0928ddea4165de0bad7a5d77e85ccd7)
(Conflicts resolved manually)
Reviewed-on: http://git-master/r/196357
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

arch/arm/mach-tegra/board-dalmore.c
arch/arm/mach-tegra/board-pluto.c

index 7b3017a..4cdcd90 100644 (file)
@@ -784,7 +784,7 @@ static int __init dalmore_touch_init(void)
 #ifdef CONFIG_EDP_FRAMEWORK
 static struct edp_manager battery_edp_manager = {
        .name = "battery",
-       .max = 2500
+       .max = 9500
 };
 
 static void __init dalmore_battery_edp_init(void)
index c240be1..a516566 100644 (file)
@@ -1175,7 +1175,7 @@ static int __init pluto_touch_init(void)
 #ifdef CONFIG_EDP_FRAMEWORK
 static struct edp_manager battery_edp_manager = {
        .name = "battery",
-       .max = 3250
+       .max = 12350
 };
 
 static void __init pluto_battery_edp_init(void)