summaryrefslogtreecommitdiff
path: root/board/lantis
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/lantis
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/lantis')
-rw-r--r--board/lantis/board.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/board/lantis/board.h b/board/lantis/board.h
index 835de04391..4db3fd3d0f 100644
--- a/board/lantis/board.h
+++ b/board/lantis/board.h
@@ -24,6 +24,7 @@
/* Charger */
#define CONFIG_CHARGE_RAMP_HW
#define CONFIG_CHARGER_SM5803 /* C0 and C1: Charger */
+#define PD_MAX_VOLTAGE_MV 15000
#define CONFIG_USB_PD_VBUS_DETECT_CHARGER
#define CONFIG_USB_PD_5V_CHARGER_CTRL
#define CONFIG_CHARGER_OTG