mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
samus: change power supply transition delay to 80ms
Change samus power supply transition delay for Raiden ports to 80ms since it may take that long to turn off the power supply when doing a power swap. BUG=chrome-os-partner:34525 BRANCH=samus TEST=load onto samus, connect samus to samus and do a power swap. Change-Id: I20c2cb78f17168a5b69780de4af5ff478f6d5f87 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/238961 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
98daf2a9d1
commit
e95f24ce52
@@ -258,8 +258,12 @@ static inline int pd_snk_is_vbus_provided(int port)
|
||||
/* start as a sink in case we have no other power supply/battery */
|
||||
#define PD_DEFAULT_STATE PD_STATE_SNK_DISCONNECTED
|
||||
|
||||
/* delay for the voltage transition on the power supply, chip max is 16us */
|
||||
#define PD_POWER_SUPPLY_TRANSITION_DELAY 20000 /* us */
|
||||
/*
|
||||
* delay for the voltage transition on the power supply, chip max is 16ms.
|
||||
* delay to turn off the power supply depends on vbus capacitance, but
|
||||
* is well above that. 80ms seems to work for most devices.
|
||||
*/
|
||||
#define PD_POWER_SUPPLY_TRANSITION_DELAY 80000 /* us */
|
||||
|
||||
/* Define typical operating power and max power */
|
||||
#define PD_OPERATING_POWER_MW 15000
|
||||
|
||||
Reference in New Issue
Block a user