diff options
author | Marco Chen <marcochen@chromium.org> | 2019-05-21 20:41:44 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-05-24 21:13:58 -0700 |
commit | 3462b178484efa2e643b89291b3961e6aafca655 (patch) | |
tree | 39ae14a4b5af09562597df294421d07777a05b6d /common/usb_port_power_smart.c | |
parent | 6466d2fa96fd822ea09ab3c4fd43a1f2f58ec54a (diff) | |
download | chrome-ec-3462b178484efa2e643b89291b3961e6aafca655.tar.gz |
bobba: add blorb and droid into the support of controlling USB Type-A power.
Blorb and droid are first projects we are tyring to enable the control
of USB Type-A power in the run time. This CL set
inhibit_charging_in_suspend to USB_DISALLOW_SUSPEND_CHARGE in default
and relies on OS to change this flag based on the status of USB device
on the USB Type-A port.
BUG=b:130767435
BRANCH=octopus
TEST=1. `make BOARD=bobba -j4`
2. check power of USB Type-A port is disabled when OS gets into
S0iX and no any USB device is ever connected to DUT.
Change-Id: I19ff69df89a857cd3feb594641b6562f20356879
Signed-off-by: Marco Chen <marcochen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1621451
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'common/usb_port_power_smart.c')
0 files changed, 0 insertions, 0 deletions