summaryrefslogtreecommitdiff
path: root/board/willow/battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/willow/battery.c')
-rw-r--r--board/willow/battery.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/board/willow/battery.c b/board/willow/battery.c
index cd26ebfd2c..94faafd638 100644
--- a/board/willow/battery.c
+++ b/board/willow/battery.c
@@ -173,6 +173,33 @@ const struct board_batt_params board_battery_info[] = {
.discharging_max_c = 75,
},
},
+ [BATTERY_PANASONIC_AP19B5K_KT00305011] = {
+ .fuel_gauge = {
+ .manuf_name = "PANASONIC KT00305011",
+ .device_name = "AP19B5K",
+ .ship_mode = {
+ .reg_addr = 0x3A,
+ .reg_data = { 0xC574, 0xC574 },
+ },
+ .fet = {
+ .reg_addr = 0x0,
+ .reg_mask = 0x4000,
+ .disconnect_val = 0x0,
+ }
+ },
+ .batt_info = {
+ .voltage_max = 13200,
+ .voltage_normal = 11550,
+ .voltage_min = 9000,
+ .precharge_current = 256,
+ .start_charging_min_c = 0,
+ .start_charging_max_c = 50,
+ .charging_min_c = 0,
+ .charging_max_c = 60,
+ .discharging_min_c = -20,
+ .discharging_max_c = 75,
+ },
+ },
};
BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT);