summaryrefslogtreecommitdiff
path: root/include/console.h
diff options
context:
space:
mode:
authorAlec Berg <alecaberg@chromium.org>2015-04-03 18:16:53 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-04-07 03:41:09 +0000
commit30572cb5063aff322138de9466b11044b6f9a178 (patch)
treef2e36e2f9b831ebfff557ebc635b5d0bc86cdd9a /include/console.h
parent2d2d1e15cfd3a91c6d624d380ce44945855d0c83 (diff)
downloadchrome-ec-30572cb5063aff322138de9466b11044b6f9a178.tar.gz
samus: create USB PD device whitelist for allowing charging
Create a USB PD device whitelist for allowing charging by default from dual-role devices that don't set the externally powered bit. BUG=chrome-os-partner:38785 BRANCH=samus TEST=modify zinger and modify VID and PID to match white-listed entry. also modify zinger to remove externally powered bit and set dual-role power bits so that we treat as a dual-role device by default. when you plug in this modified zinger into samus, it still will not charge because the VID and PID are obtained after deciding to treat it as dual-role, but when you issue soft reset "pd 1 soft", it starts charging. the white-listed device will always ask for a power swap if it is a sink, so we will always get source cap after learning the VID/PID, which should correctly trigger changing the device to be treated as a dedicated charger. Change-Id: Ibe7ec57f842a0b9bfb02447baf5b3327217a9516 Signed-off-by: Alec Berg <alecaberg@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/264015 Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/console.h')
0 files changed, 0 insertions, 0 deletions