diff options
author | Diana Z <dzigterman@chromium.org> | 2020-09-23 21:55:54 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-09-25 18:42:06 +0000 |
commit | b4d2fbb10cbc508ed1193d1339f11b9fafb94692 (patch) | |
tree | 957650b78ddc972399dd66a7320507bd3a669fa9 /power | |
parent | 87ec8e1ea0189a5d1bd1c9e1397b9753d92bd8a3 (diff) | |
download | chrome-ec-b4d2fbb10cbc508ed1193d1339f11b9fafb94692.tar.gz |
SM5803: Prevent brown out on source disable
The PD tasks will disable sourcing on initial boot up. This can cause
the SM driver to clear sinking mode, while attempting to clear the
sourcing related bits. This change skips disabling source mode if sink
mode is currently present. Additionally, it skips the Vbus ramp up wait
which enable requires.
BRANCH=None
BUG=b:168931726
TEST=on waddledee, confirm booting with a battery doesn't brown out with
either port. Confirm that FLOW1 is set to zero when sinking dongle is
unplugged.
Signed-off-by: Diana Z <dzigterman@chromium.org>
Change-Id: I3c57d543f012bd0648cf20e0421a58d460ccd475
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2429926
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'power')
0 files changed, 0 insertions, 0 deletions