summaryrefslogtreecommitdiff
path: root/board/sasuke
diff options
context:
space:
mode:
authorYongBeum.Ha <ybha@samsung.corp-partner.google.com>2021-03-02 18:43:25 +0900
committerCommit Bot <commit-bot@chromium.org>2021-03-03 11:15:36 +0000
commitc03cef270de3bdf37781cfe8943115fd59da09fa (patch)
treef2397d851cf4eb60b968aca464f5f0285f062a01 /board/sasuke
parentf3c89e954d6170262f80ee68c0e8c3be3dd85140 (diff)
downloadchrome-ec-c03cef270de3bdf37781cfe8943115fd59da09fa.tar.gz
sasuke : change charging max temperature
Stop charging when battery temperature is over 50'C BUG=b:181624369 BRANCH=None TEST=make -j BOARD=sasuke Signed-off-by: YongBeum.Ha <ybha@samsung.corp-partner.google.com> Change-Id: Ib5ba5c8e68720324556bbe531ae0f1218af5f3c6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2728005 Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'board/sasuke')
-rw-r--r--board/sasuke/battery.c2
-rw-r--r--board/sasuke/board.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/board/sasuke/battery.c b/board/sasuke/battery.c
index f6862ca555..8c643d3c5b 100644
--- a/board/sasuke/battery.c
+++ b/board/sasuke/battery.c
@@ -67,7 +67,7 @@ const struct board_batt_params board_battery_info[] = {
.start_charging_min_c = 0,
.start_charging_max_c = 45,
.charging_min_c = 0,
- .charging_max_c = 55,
+ .charging_max_c = 50,
.discharging_min_c = -20,
.discharging_max_c = 70,
},
diff --git a/board/sasuke/board.h b/board/sasuke/board.h
index 742d76fbf4..fc007b415c 100644
--- a/board/sasuke/board.h
+++ b/board/sasuke/board.h
@@ -37,6 +37,8 @@
#define CONFIG_CHARGE_RAMP_HW
#undef CONFIG_CHARGER_SINGLE_CHIP
+#define CONFIG_BATTERY_CHECK_CHARGE_TEMP_LIMITS
+
/*
* GPIO for C1 interrupts, for baseboard use
*