summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/battery-ini-model-data.h
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2013-06-03 19:22:51 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:17:05 -0700
commitdeb892dbce341703ae00ada35f6a2dbb94c6caa8 (patch)
tree01488e38cc195907fa24d1311edb6c92bedb7b0e /arch/arm/mach-tegra/battery-ini-model-data.h
parent07d1ea2dba42ec753909de0306eaa61430ea535a (diff)
ARM: tegra: macallan: add Yoku 3900 battery data for Max17048
Just add the Yoku 3900mA battery data for Macallan. Details of model data: Battery: Yoku current: 3900mA system shutdown voltage 3.0V. Model: Max17048 Macallan will still use the Yoku4100 as default. Change-Id: I98df0a3fdb2ded9a501812ecc8ffb924fb252545 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/235017 Reviewed-by: Automatic_Commit_Validation_User Reviewed-on: http://git-master/r/235834
Diffstat (limited to 'arch/arm/mach-tegra/battery-ini-model-data.h')
-rw-r--r--arch/arm/mach-tegra/battery-ini-model-data.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/battery-ini-model-data.h b/arch/arm/mach-tegra/battery-ini-model-data.h
index c36dcaef0644..090119fb2b40 100644
--- a/arch/arm/mach-tegra/battery-ini-model-data.h
+++ b/arch/arm/mach-tegra/battery-ini-model-data.h
@@ -25,6 +25,7 @@
/*
* Battery model data for YOKU 4100mA for MAX17048 for Macallan.
+ * System shutdown voltage: 3.0V
* INI Files: 1283683
*/
static struct max17048_battery_model __maybe_unused
@@ -54,7 +55,39 @@ static struct max17048_battery_model __maybe_unused
};
/*
+ * Battery model data for YOKU 3900mA for MAX17048 for Macallan.
+ * System shutdown voltage: 3.0V
+ * INI Files: 1283683
+ */
+static struct max17048_battery_model __maybe_unused
+ macallan_yoku_3900mA_max17048_battery = {
+ .rcomp = 102,
+ .soccheck_A = 237,
+ .soccheck_B = 239,
+ .bits = 19,
+ .alert_threshold = 0x00,
+ .one_percent_alerts = 0x40,
+ .alert_on_reset = 0x40,
+ .rcomp_seg = 0x0080,
+ .hibernate = 0x3080,
+ .vreset = 0x3c96,
+ .valert = 0xD4AA,
+ .ocvtest = 55952,
+ .data_tbl = {
+ 0x98, 0x60, 0xB0, 0xC0, 0xB7, 0xB0, 0xBA, 0x10,
+ 0xBB, 0xE0, 0xBC, 0x10, 0xBC, 0xC0, 0xBD, 0xF0,
+ 0xBF, 0x00, 0xC0, 0x10, 0xC1, 0xF0, 0xC4, 0x00,
+ 0xC6, 0x70, 0xC8, 0xE0, 0xCA, 0x80, 0xD0, 0x90,
+ 0x00, 0x80, 0x06, 0xA0, 0x21, 0x40, 0x22, 0x80,
+ 0x49, 0x90, 0x6C, 0x80, 0x45, 0xA0, 0x2D, 0xE0,
+ 0x2D, 0xC0, 0x17, 0x80, 0x1A, 0x00, 0x18, 0xA0,
+ 0x18, 0x20, 0x15, 0x40, 0x0E, 0xA0, 0x0E, 0xA0,
+ },
+};
+
+/*
* Battery model data for YOKU 2000mA for MAX17042 for Pluto.
+ * System shutdown voltage: 2.9V
* INI Files: 1264825
*/
static struct max17042_config_data __maybe_unused