diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2019-05-28 11:17:53 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-05-30 16:57:43 -0700 |
commit | 21de92a83ce6866115d1f217a9d53291040ddb51 (patch) | |
tree | 71bb6a86a31b385df3ffc26e3ddd5626ecd822e9 /board/helios | |
parent | 6678708ecd6e5357c94dce88232c1bd5e81cc674 (diff) | |
download | chrome-ec-21de92a83ce6866115d1f217a9d53291040ddb51.tar.gz |
helios: Update battery pack info
Update board_battery_info with latest battery pack information
BUG=b:133381447
BRANCH=none
TEST=make BOARD=helios
Change-Id: I31d751c338c52b44fdae291f94d59282543e4c1c
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1632771
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org>
Reviewed-by: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'board/helios')
-rw-r--r-- | board/helios/battery.c | 48 | ||||
-rw-r--r-- | board/helios/board.h | 3 |
2 files changed, 11 insertions, 40 deletions
diff --git a/board/helios/battery.c b/board/helios/battery.c index eee20991e3..4afb1444d6 100644 --- a/board/helios/battery.c +++ b/board/helios/battery.c @@ -32,10 +32,10 @@ * address, mask, and disconnect value need to be provided. */ const struct board_batt_params board_battery_info[] = { - /* SMP LIS Dell FMXMT Battery Information */ - [BATTERY_SMP_LIS] = { + /* Simplo Battery Information */ + [BATTERY_SIMPLO] = { .fuel_gauge = { - .manuf_name = "SMP-LIS3.78", + .manuf_name = "AS2GVID3jB", .ship_mode = { .reg_addr = 0x0, .reg_data = { 0x10, 0x10 }, @@ -47,47 +47,19 @@ const struct board_batt_params board_battery_info[] = { } }, .batt_info = { - .voltage_max = 8800, - .voltage_normal = 7660, /* mV */ - .voltage_min = 6000, /* mV */ - .precharge_current = 256, /* mA */ + .voltage_max = 13200, /* mV */ + .voltage_normal = 11550, /* mV */ + .voltage_min = 9000, /* mV */ + .precharge_current = 256, /* mA */ .start_charging_min_c = 0, - .start_charging_max_c = 60, + .start_charging_max_c = 45, .charging_min_c = 0, .charging_max_c = 60, - .discharging_min_c = 0, - .discharging_max_c = 60, - }, - }, - - /* SMP SDI Dell FMXMT Battery Information */ - [BATTERY_SMP_SDI] = { - .fuel_gauge = { - .manuf_name = "SMP-SDI-3727", - .ship_mode = { - .reg_addr = 0x0, - .reg_data = { 0x10, 0x10 }, - }, - .fet = { - .reg_addr = 0x0, - .reg_mask = 0x2000, - .disconnect_val = 0x2000, - } - }, - .batt_info = { - .voltage_max = 8800, - .voltage_normal = 7660, /* mV */ - .voltage_min = 6000, /* mV */ - .precharge_current = 256, /* mA */ - .start_charging_min_c = 0, - .start_charging_max_c = 60, - .charging_min_c = 0, - .charging_max_c = 60, - .discharging_min_c = 0, + .discharging_min_c = -20, .discharging_max_c = 60, }, }, }; BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); -const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_SMP_SDI; +const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_SIMPLO; diff --git a/board/helios/board.h b/board/helios/board.h index 08a7c69083..040e8cbc87 100644 --- a/board/helios/board.h +++ b/board/helios/board.h @@ -154,8 +154,7 @@ enum temp_sensor_id { /* List of possible batteries */ enum battery_type { - BATTERY_SMP_LIS, - BATTERY_SMP_SDI, + BATTERY_SIMPLO, BATTERY_TYPE_COUNT, }; |