summaryrefslogtreecommitdiff
path: root/board/corori2
diff options
context:
space:
mode:
authorPeter Marheine <pmarheine@chromium.org>2022-07-21 11:25:34 +1000
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-21 23:57:53 +0000
commit4354b58e599a8d3e3ce640f9eb28b52e1fe9a07f (patch)
tree293b4df36cd1137705cbbabb5e1c85b5e876be60 /board/corori2
parent2ea820312d0c4f47fa13eed3be5c384944cf0a00 (diff)
downloadchrome-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/corori2')
-rw-r--r--board/corori2/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/corori2/board.h b/board/corori2/board.h
index 062ff4237e..350ec20cf7 100644
--- a/board/corori2/board.h
+++ b/board/corori2/board.h
@@ -35,6 +35,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 \