mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-15 00:56:22 +00:00
scarlet: Limit the maximal acceptable VBUS to 5.5V
BUG=b:74399717 BRANCH=scarlet TEST=Plug in a charger with 5V/9V/15V PD profiles, confirm scarlet picks 5V Change-Id: I58ee110d110d873b7221695bf4a182d6d04b65e1 Signed-off-by: Philip Chen <philipchen@google.com> Reviewed-on: https://chromium-review.googlesource.com/982555 Commit-Ready: Philip Chen <philipchen@chromium.org> Tested-by: Philip Chen <philipchen@chromium.org> Reviewed-by: Alexandru M Stan <amstan@chromium.org>
This commit is contained in:
@@ -134,7 +134,7 @@
|
||||
#define PD_OPERATING_POWER_MW 15000
|
||||
#define PD_MAX_POWER_MW ((PD_MAX_VOLTAGE_MV * PD_MAX_CURRENT_MA) / 1000)
|
||||
#define PD_MAX_CURRENT_MA 3000
|
||||
#define PD_MAX_VOLTAGE_MV 9500
|
||||
#define PD_MAX_VOLTAGE_MV 5500
|
||||
|
||||
#define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */
|
||||
#define PD_POWER_SUPPLY_TURN_OFF_DELAY 50000 /* us */
|
||||
|
||||
Reference in New Issue
Block a user