summaryrefslogtreecommitdiff
path: root/board/host/usb_pd_config.c
diff options
context:
space:
mode:
authorVic Yang <victoryang@chromium.org>2014-08-12 13:38:19 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-08-13 13:21:10 +0000
commit589e7f9e102f44863351e0d772403fa7344b66e6 (patch)
treeb57c3eb8d04abd601559fa7c3cd8b0f6d2286a28 /board/host/usb_pd_config.c
parentfe1981a414384e30b9e2a197f893c6b281b9d49a (diff)
downloadchrome-ec-589e7f9e102f44863351e0d772403fa7344b66e6.tar.gz
pd: Implement PD soft reset
Currently, when we receive soft reset request, we only reset message ID. According to the spec, we should also reset the state machine without cutting power. This CL implements this, along with a console command to issue soft reset request. BUG=chrome-os-partner:31296 TEST=Issue soft reset from Ryu to Zinger. Check that we go back to discovery state and re-negociate a contract. BRANCH=None Change-Id: Ib00b0d9dddaf6ac2a1ec5c46dbc2824d6d7814ed Signed-off-by: Vic Yang <victoryang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/212122 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board/host/usb_pd_config.c')
0 files changed, 0 insertions, 0 deletions