From a6479508e2b14c502fada6e1300600dd49e237eb Mon Sep 17 00:00:00 2001 From: Vic Yang Date: Thu, 22 Jan 2015 12:37:50 -0800 Subject: ryu: Reduce max input power to 24W To prevent overloading inductor L2, we can't really draw too much power from the type-C power. The voltage at L2 is around 4V, and we want to keep the current below 6A, so let's limit the input power to 24W. BRANCH=Ryu BUG=None TEST=Charge the battery on Ryu while the system is up. Change-Id: I80f46d7992c64765f4de985e3a9f9492c719907b Signed-off-by: Vic Yang Reviewed-on: https://chromium-review.googlesource.com/242602 Reviewed-by: Vincent Palatin Reviewed-by: Alec Berg Commit-Queue: Vic Yang Tested-by: Vic Yang --- board/ryu/usb_pd_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/ryu/usb_pd_config.h b/board/ryu/usb_pd_config.h index cbe707e8ed..94f34752dc 100644 --- a/board/ryu/usb_pd_config.h +++ b/board/ryu/usb_pd_config.h @@ -179,7 +179,7 @@ static inline int pd_snk_is_vbus_provided(int port) /* Define typical operating power and max power */ #define PD_OPERATING_POWER_MW 10000 -#define PD_MAX_POWER_MW 60000 +#define PD_MAX_POWER_MW 24000 #define PD_MAX_CURRENT_MA 3000 #define PD_MAX_VOLTAGE_MV 20000 -- cgit v1.2.1