summaryrefslogtreecommitdiff
path: root/baseboard/trogdor/baseboard.h
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2020-11-03 13:42:45 -0800
committerCommit Bot <commit-bot@chromium.org>2020-11-05 01:22:13 +0000
commit213dd9e5a9981a825393eb9b29d69dc0afb426ac (patch)
tree1cea99817ad1ffd360c667563a3a4c96a6c14c15 /baseboard/trogdor/baseboard.h
parent099d65c7f787b4d6b4914892ce59b6656dd03aa9 (diff)
downloadchrome-ec-213dd9e5a9981a825393eb9b29d69dc0afb426ac.tar.gz
Trogdor: Request 5V when AP is off and battery is full
The charger is not efficient on buck mode when the operating current is low. It happens when AP is off and battery is full. Request the external adapter to a lower voltage, 5V. The charger will switch to boost mode that has a better efficiency. BRANCH=None BUG=b:170794007 TEST=Charged the battery to full. Checked it requesting 20V when AP is ON, and requesting 5V when AP is OFF. TEST=Discharged the battery to not full. Checked it requesting 20V no matter AP is ON or OFF. Change-Id: Ifa333fccb40e7ebb2461c396be392c4ccc2d4320 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2518326 Reviewed-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-by: Alexandru M Stan <amstan@chromium.org>
Diffstat (limited to 'baseboard/trogdor/baseboard.h')
-rw-r--r--baseboard/trogdor/baseboard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/baseboard/trogdor/baseboard.h b/baseboard/trogdor/baseboard.h
index da30b950ff..e2f7be6615 100644
--- a/baseboard/trogdor/baseboard.h
+++ b/baseboard/trogdor/baseboard.h
@@ -79,6 +79,7 @@
#define CONFIG_CHARGER
#define CONFIG_CHARGE_MANAGER
#define CONFIG_CHARGER_ISL9238
+#define CONFIG_CHARGER_PROFILE_OVERRIDE
#define CONFIG_CHARGE_RAMP_HW
#define CONFIG_USB_CHARGER
#define CONFIG_CMD_CHARGER_ADC_AMON_BMON