]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
ardbeg: edp: update shield rbat (ESR) table
authorTimo Alho <talho@nvidia.com>
Wed, 27 Nov 2013 12:32:57 +0000 (14:32 +0200)
committerJuha Tukkinen <jtukkinen@nvidia.com>
Thu, 28 Nov 2013 11:03:24 +0000 (03:03 -0800)
Bug 1326842

Change-Id: I4a58ed84641371535c4a72210ae173e1f27f89ec
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: http://git-master/r/336186
Reviewed-by: Seema Khowala <seemaj@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
arch/arm/mach-tegra/board-ardbeg-sysedp.c

index a431f1d3e41c1b165bef970c4ffade12203b919b..faafe1fb66908c36017f19f95bccb525b19b51b0 100644 (file)
@@ -82,15 +82,16 @@ static struct sysedp_batmon_ibat_lut shield_ibat_lut[] = {
        { -30,    0 }
 };
 
-/*                           23C              */
-static int rbat_data[] = {  118000,   /* 100% */
-                           119000,   /* 80%  */
-                           121000,   /* 60%  */
-                           123000,   /* 40%  */
-                           124000,   /* 10%  */
-                           124000};  /* 0%   */
-static int rbat_temp_axis[] = { 23 };
-static int rbat_capacity_axis[] = { 100, 80, 60, 40, 10, 0 };
+/* Values for Leyden HY-LDN-N-TD battery */
+/*                           45C      23C     10C      5C      0C    -20 */
+static int rbat_data[] = {  100000, 120000, 140000, 170000, 190000,  210000, /* 100% */
+                           100000, 120000, 150000, 170000, 190000,  210000, /*  55% */
+                           100000, 130000, 150000, 170000, 200000,  210000, /*  50% */
+                           110000, 130000, 160000, 170000, 200000,  210000, /*  10% */
+                           120000, 140000, 170000, 180000, 210000,  220000, /*   0% */
+};
+static int rbat_temp_axis[] = { 45, 23, 10, 5, 0, -20 };
+static int rbat_capacity_axis[] = { 100, 55, 50, 10, 0 };
 
 struct sysedp_batmon_rbat_lut shield_rbat_lut = {
        .temp_axis = rbat_temp_axis,