summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTang Qijun <qijun.tang@ecs.corp-partner.google.com>2023-03-24 10:04:39 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-03-27 13:29:45 +0000
commit63dc315145766dbe976ae813b85918acb2e9c08d (patch)
tree21867b6b673670e6e982428e7b5f1f55c24900c5
parent39b2604d7b8d1280342a075cbad13ab93a783d64 (diff)
downloadchrome-ec-63dc315145766dbe976ae813b85918acb2e9c08d.tar.gz
crystaldrift: Modify the charger configuration
Enable CHARGER_ISL9238 config for setting charger prochot init BRANCH=skyrim BUG=b:274875755 TEST=$ After charger prochot inited , on the DUT run https://webglsamples.org/aquarium/aquarium.html, fps is normal. Change-Id: I612e9db38b0e0fbe30ba8bde45650808d6d026a4 Signed-off-by: Tang Qijun <qijun.tang@ecs.corp-partner.google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4371819 Code-Coverage: Chao Gui <chaogui@google.com> Reviewed-by: Chao Gui <chaogui@google.com> Tested-by: Chao Gui <chaogui@google.com> Commit-Queue: Chao Gui <chaogui@google.com>
-rw-r--r--zephyr/program/skyrim/crystaldrift/project.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/program/skyrim/crystaldrift/project.conf b/zephyr/program/skyrim/crystaldrift/project.conf
index 158006436c..28696c5018 100644
--- a/zephyr/program/skyrim/crystaldrift/project.conf
+++ b/zephyr/program/skyrim/crystaldrift/project.conf
@@ -13,6 +13,9 @@ CONFIG_PLATFORM_EC_PD_MAX_POWER_MW=100000
CONFIG_PLATFORM_EC_PD_MAX_CURRENT_MA=5000
CONFIG_PLATFORM_EC_PD_MAX_VOLTAGE_MV=20000
+# Charger chip
+CONFIG_PLATFORM_EC_CHARGER_ISL9238=y
+
# Enable alternative charger chip
CONFIG_PLATFORM_EC_CHARGER_RUNTIME_CONFIG=y
CONFIG_PLATFORM_EC_CHARGER_ISL9238C=y