summaryrefslogtreecommitdiff
path: root/board/shuboz/board.h
diff options
context:
space:
mode:
authorJacky Wang <jacky5_wang@pegatron.corp-partner.google.com>2021-03-09 14:03:51 +0800
committerCommit Bot <commit-bot@chromium.org>2021-03-12 19:05:16 +0000
commitddf23ec1c9810399cd97be585248a4faadaec02c (patch)
tree8a40036a6e739dd9e951249dcde80d06bf64d408 /board/shuboz/board.h
parent42051e03688e24b0a3550306f15c66edc2313f32 (diff)
downloadchrome-ec-ddf23ec1c9810399cd97be585248a4faadaec02c.tar.gz
Jelboz: Dynamic charging current control.
1. Limit Charging Current by thrmal sensor 0 temperature(Charger). 2. If temperature over or under 54C and keep 5s, Charging Current will change to next level. 3. Limit Charging Current table : 2200/1800/1700/1600 BUG=b:181085004 BRANCH=firmware-zork-13434.B TEST=make BOARD=shuboz 1. Verified pass by thermal team. Signed-off-by: Jacky Wang <jacky5_wang@pegatron.corp-partner.google.com> Change-Id: Ic2526db54815759e52b56c662a364237ff6d878f Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2716585 Reviewed-by: Edward Hill <ecgh@chromium.org> Commit-Queue: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/shuboz/board.h')
-rw-r--r--board/shuboz/board.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/shuboz/board.h b/board/shuboz/board.h
index 7832458f85..a15d03e454 100644
--- a/board/shuboz/board.h
+++ b/board/shuboz/board.h
@@ -21,6 +21,8 @@
#define CONFIG_USB_PD_PORT_MAX_COUNT 2
#define CONFIG_USB_PORT_ENABLE_DYNAMIC
+#define CONFIG_CHARGER_PROFILE_OVERRIDE
+
/* USB-A config */
#define GPIO_USB1_ILIM_SEL IOEX_USB_A0_CHARGE_EN_L
#define GPIO_USB2_ILIM_SEL IOEX_USB_A1_CHARGE_EN_DB_L