From 4354b58e599a8d3e3ce640f9eb28b52e1fe9a07f Mon Sep 17 00:00:00 2001 From: Peter Marheine Date: Thu, 21 Jul 2022 11:25:34 +1000 Subject: 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 Change-Id: I5b2359fc2720ef0b5a7f2480ff67e0e821c378ad Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3778900 Reviewed-by: Aseda Aboagye Reviewed-by: Diana Z --- board/bugzzy/board.h | 1 + 1 file changed, 1 insertion(+) (limited to 'board/bugzzy') diff --git a/board/bugzzy/board.h b/board/bugzzy/board.h index 29c0ee0240..bf4f9c8b8e 100644 --- a/board/bugzzy/board.h +++ b/board/bugzzy/board.h @@ -32,6 +32,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 \ -- cgit v1.2.1