summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRong Chang <rongchang@chromium.org>2015-10-28 18:02:23 +0800
committerchrome-bot <chrome-bot@chromium.org>2015-11-05 11:10:25 -0800
commitf9ffa951c1eda17f6aa5cea66b1842b0bbf5d75f (patch)
tree1d0b7ca884ad61294ddadff92d50b0ddd79486e6 /include
parent41235ac25a859880d87ea2747b95ab44d8b0057a (diff)
downloadchrome-ec-f9ffa951c1eda17f6aa5cea66b1842b0bbf5d75f.tar.gz
chg: add narrow VDC power path support
Under NVDC, BGATE natively has a body diode. Hence there's a discharging path if VSYS is lower than VBAT. This change keeps VSYS voltage when turning off charging. BRANCH=none BUG=chrome-os-partner:46698 TEST=manual make buildall -j load on boards with isl9237 charger. charge the battery to full, and check charging voltage and current. Change-Id: I8a6046444dd40a3b57f034be124b9e8fe281de40 Signed-off-by: Rong Chang <rongchang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/309289 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 0dea808e5b..bfbe0c40b5 100644
--- a/include/config.h
+++ b/include/config.h
@@ -399,6 +399,9 @@
/* Minimum battery percentage for power on */
#undef CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON
+/* Narrow VDC power path */
+#undef CONFIG_CHARGER_NARROW_VDC
+
/*
* Low energy thresholds - when battery level is below BAT_PCT and an external
* charger provides less than CHG_MW of power, inform the AP of the situation