arm: tegra: macallan: add ini file for yoku 4100mAh battery
Syed Rafiuddin [Thu, 30 May 2013 06:55:17 +0000 (11:55 +0530)]
addition of battery chracterization data to max71048
fuel-gauge driver

Bug 1283683

Change-Id: I6cf37a3d3720f98de0e58f1027bb88e712641e92
Signed-off-by: Syed Rafiuddin <srafiuddin@nvidia.com>
Reviewed-on: http://git-master/r/232077
Reviewed-by: Riham Haidar <rhaidar@nvidia.com>
Tested-by: Riham Haidar <rhaidar@nvidia.com>

arch/arm/mach-tegra/board-macallan-power.c

index e712a9f..f120fdd 100644 (file)
@@ -88,27 +88,27 @@ struct bq2419x_charger_platform_data macallan_bq2419x_charger_pdata = {
 };
 
 struct max17048_battery_model macallan_max17048_mdata = {
-       .rcomp          = 152,
-       .soccheck_A     = 206,
-       .soccheck_B     = 208,
-       .bits           = 19,
+       .rcomp          = 57,
+       .soccheck_A     = 119,
+       .soccheck_B     = 121,
+       .bits           = 18,
        .alert_threshold = 0x00,
        .one_percent_alerts = 0x40,
        .alert_on_reset = 0x40,
-       .rcomp_seg      = 0x0080,
+       .rcomp_seg      = 0x0200,
        .hibernate      = 0x3080,
        .vreset         = 0x3c96,
-       .valert         = 0xD4AA,
-       .ocvtest        = 55744,
+       .valert         = 0x00ff,
+       .ocvtest        = 55952,
        .data_tbl = {
-               0xA2, 0x80, 0xA8, 0xF0, 0xAE, 0xD0, 0xB0, 0x90,
-               0xB2, 0x60, 0xB3, 0xF0, 0xB5, 0x80, 0xB7, 0x20,
-               0xB8, 0xD0, 0xBC, 0x00, 0xBE, 0x20, 0xC0, 0x20,
-               0xC3, 0xD0, 0xC9, 0x80, 0xCE, 0xA0, 0xCF, 0xC0,
-               0x0A, 0x60, 0x0D, 0xE0, 0x1D, 0x00, 0x1D, 0xE0,
-               0x1F, 0xE0, 0x1F, 0xE0, 0x11, 0xC0, 0x11, 0x20,
-               0x14, 0x60, 0x0B, 0xE0, 0x14, 0x80, 0x14, 0xC0,
-               0x0E, 0x20, 0x12, 0xA0, 0x03, 0x60, 0x03, 0x60,
+               0x98, 0x80, 0xB3, 0x50, 0xB7, 0x90, 0xB9, 0x00,
+               0xBA, 0x70, 0xBC, 0x10, 0xBC, 0x50, 0xBC, 0xA0,
+               0xBD, 0x20, 0xBE, 0x30, 0xBF, 0x40, 0xC2, 0xF0,
+               0xC4, 0x20, 0xC7, 0xE0, 0xCB, 0xF0, 0xD0, 0x90,
+               0x00, 0x40, 0x06, 0x70, 0x0E, 0x50, 0x12, 0x00,
+               0x18, 0xD0, 0x33, 0x10, 0x31, 0x40, 0x35, 0xD0,
+               0x18, 0xD0, 0x19, 0x00, 0x0B, 0xF0, 0x0C, 0x10,
+               0x0D, 0x10, 0x07, 0x90, 0x08, 0x00, 0x08, 0x00,
        },
 };