diff options
author | Keith Short <keithshort@chromium.org> | 2020-05-20 16:31:46 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-15 23:46:06 +0000 |
commit | 838ffc66db00a6576b30102662b1ae37cff9cab6 (patch) | |
tree | 0e89de413ab7d5b06c1e0641e2ded871789415f8 /test/usb_prl.c | |
parent | f6a4262385b7eb5e97cd0a768fdfbb016325db19 (diff) | |
download | chrome-ec-838ffc66db00a6576b30102662b1ae37cff9cab6.tar.gz |
volteer: add USB-A power enable and disable
Enable CONFIG_USB_PORT_POWER_DUMB for enabling/disabling charging from
USB-A ports. This change also enables disables the USB1 low power limit
by default.
BUG=b:157147239, b:158708115
BRANCH=none
TEST=make buildall -j
TEST=Run "ectool usbchargemode 0 0" and verify USB VBUS turns off.
TEST=Run "test_that -b volteer firmware_ECUsbPorts"
Signed-off-by: Keith Short <keithshort@chromium.org>
Change-Id: I89343fb4ed2d6c15bd1862f5a64e7a5cd68bdf69
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2223823
Tested-by: Eric Herrmann <eherrmann@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'test/usb_prl.c')
0 files changed, 0 insertions, 0 deletions