diff options
author | Keith Short <keithshort@chromium.org> | 2020-01-30 16:58:40 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-02-10 18:30:07 +0000 |
commit | ef859d1c129174161c4d187c3d8b8c65b17fd9db (patch) | |
tree | 38b15b150c274aaec6765d0ea2dab3a9b419575d /baseboard | |
parent | 16e8184204311556dfcc3149270f437ae4cf1198 (diff) | |
download | chrome-ec-ef859d1c129174161c4d187c3d8b8c65b17fd9db.tar.gz |
volteer: enable minimum power requirement
The TigerLake AP requires in excess of 15 W to power on. Set the minimum
required threshold to boot with no battery to 15.001 W so that PD
negotiation is required before the AP can boot without a battery.
BUG=b:144198315
BRANCH=none
TEST=make buildall
TEST=verify EC powers up when connecting a SuzyQ to a board without
battery and confirm the board stays in G3. Verify the board boots
normally when connecting a 45W PD supply.
Change-Id: I51e01d31d014432a15743e6f407ba157be9bbff6
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2042795
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'baseboard')
-rw-r--r-- | baseboard/volteer/baseboard.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/baseboard/volteer/baseboard.h b/baseboard/volteer/baseboard.h index 750ce4ed9b..01aeb1871f 100644 --- a/baseboard/volteer/baseboard.h +++ b/baseboard/volteer/baseboard.h @@ -123,6 +123,15 @@ #define CONFIG_USB_CHARGER #define CONFIG_BC12_DETECT_PI3USB9201 +/* + * Don't allow the system to boot to S0 when the battery is low and unable to + * communicate on locked systems (which haven't PD negotiated) + */ +#define CONFIG_CHARGER_MIN_POWER_MW_FOR_POWER_ON_WITH_BATT 15000 +#define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON 3 +#define CONFIG_CHARGER_MIN_BAT_PCT_FOR_POWER_ON_WITH_AC 1 +#define CONFIG_CHARGER_MIN_POWER_MW_FOR_POWER_ON 15001 + /* Common battery defines */ #define CONFIG_BATTERY_SMART #define CONFIG_BATTERY_FUEL_GAUGE |