summaryrefslogtreecommitdiff
path: root/board/fleex/battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/fleex/battery.c')
-rw-r--r--board/fleex/battery.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/board/fleex/battery.c b/board/fleex/battery.c
index e42c0a1a17..57a5246052 100644
--- a/board/fleex/battery.c
+++ b/board/fleex/battery.c
@@ -229,6 +229,34 @@ const struct board_batt_params board_battery_info[] = {
},
},
+ /* SIMPLO-COSMX 7T0D3YMD Battery Information */
+ [BATTERY_SIMPLO_COS] = {
+ .fuel_gauge = {
+ .manuf_name = "SMP-COS3.63",
+ .ship_mode = {
+ .reg_addr = 0x0,
+ .reg_data = { 0x0010, 0x0010 },
+ },
+ .fet = {
+ .reg_addr = 0x043,
+ .reg_mask = 0x0001,
+ .disconnect_val = 0x000,
+ }
+ },
+ .batt_info = {
+ .voltage_max = 13200, /* mV */
+ .voltage_normal = 11400, /* mV */
+ .voltage_min = 9000, /* mV */
+ .precharge_current = 256, /* mA */
+ .start_charging_min_c = 0,
+ .start_charging_max_c = 50,
+ .charging_min_c = 0,
+ .charging_max_c = 60,
+ .discharging_min_c = 0,
+ .discharging_max_c = 70,
+ },
+ },
+
/* SWD-ATL 65N6HYMD Battery Information */
[BATTERY_SWD_ATL] = {
.fuel_gauge = {