diff options
author | Peter Marheine <pmarheine@chromium.org> | 2022-07-21 11:25:34 +1000 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-21 23:57:53 +0000 |
commit | 4354b58e599a8d3e3ce640f9eb28b52e1fe9a07f (patch) | |
tree | 293b4df36cd1137705cbbabb5e1c85b5e876be60 /board/madoo/board.h | |
parent | 2ea820312d0c4f47fa13eed3be5c384944cf0a00 (diff) | |
download | chrome-ec-4354b58e599a8d3e3ce640f9eb28b52e1fe9a07f.tar.gz |
dedede: limit PD voltage to 15V for boards with SM5803
Silicon Mitus have stated that the SM5803 may be damaged by voltage spikes
on VBUS in excess of 20V, and recommended that VBUS above 15V not be used
to prevent damage. Although dedede configures the max PD power to 45W which
will usually result in 15V@3A maximum, 20V@2.25A is also a valid choice
that would be dangerous.
Boards that do not use the SM5803 are unchanged, but the setting must
now be specified for each board because it is not uniform across all
dedede boards.
BUG=b:230712704
TEST=make buildall
BRANCH=none
Signed-off-by: Peter Marheine <pmarheine@chromium.org>
Change-Id: I5b2359fc2720ef0b5a7f2480ff67e0e821c378ad
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3778900
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/madoo/board.h')
-rw-r--r-- | board/madoo/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/madoo/board.h b/board/madoo/board.h index db6b27950d..895be0cda2 100644 --- a/board/madoo/board.h +++ b/board/madoo/board.h @@ -13,6 +13,7 @@ /* Charger */ #define CONFIG_CHARGER_RAA489000 +#define PD_MAX_VOLTAGE_MV 20000 #define CONFIG_CHARGER_SENSE_RESISTOR_AC 10 #define CONFIG_CHARGER_SENSE_RESISTOR 10 #define CONFIG_OCPC_DEF_RBATT_MOHMS \ |