summaryrefslogtreecommitdiff
path: root/common/keyboard_8042.c
diff options
context:
space:
mode:
authorDenis Brockus <dbrockus@google.com>2020-03-23 11:47:54 -0600
committerCommit Bot <commit-bot@chromium.org>2020-03-30 23:29:11 +0000
commit967a74dc60d6f1eb76c62e4c8736dd1b1372f522 (patch)
tree0c1fd3119f7f91640dbb0b70a3bda2adcc6d3f88 /common/keyboard_8042.c
parent0e423969f1ebfb627aad04810802e414c92a4c6e (diff)
downloadchrome-ec-967a74dc60d6f1eb76c62e4c8736dd1b1372f522.tar.gz
tcpci: zork: battery-less AP boot needs to set DRP on unattached ports
The timing on the AP boot takes the PD stack into TOGGLE_OFF and then immediately to TOGGLE_ON. The TOGGLE_ON is getting lost due to being in execution past where we set the DRP and before we go back to LOW_POWER, so it gets lost. Then when we get back to LOW_POWER it requires a SOURCE attach to wake up and allow the port to detect a SINK. This CL tracks TOGGLE_x to see if we should have set DRP and didn't and reroute back if needed so we don't lose the port. BUG=b:152028728 BRANCH=none TEST=verify trembyle will see unattached port after boot to AP Signed-off-by: Denis Brockus <dbrockus@google.com> Change-Id: Ifaf0e01e4816fdf2c569d21aba7968d8538768c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2118430 Tested-by: Denis Brockus <dbrockus@chromium.org> Auto-Submit: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Edward Hill <ecgh@chromium.org> Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'common/keyboard_8042.c')
0 files changed, 0 insertions, 0 deletions