diff options
author | Todd Broch <tbroch@chromium.org> | 2014-12-03 13:16:03 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-12-05 10:06:19 +0000 |
commit | b5557217aa7343a565ab172ce22488af5fc1de03 (patch) | |
tree | 50014b1673f53af4a8397e91205352cb7e7d2690 /board/hoho/board.h | |
parent | fb04700b3a78588f2ec17f659f1e14b143f4d7eb (diff) | |
download | chrome-ec-b5557217aa7343a565ab172ce22488af5fc1de03.tar.gz |
pd: dingdong/hoho: Fix hard reset recovery timeout.
dingdong/hoho have no capability to measure VBUS which is advantageous
in determining what timeouts to honor. Previously we simply assumed
vbus was on and that made things happy until,
e0c80ac pd: on hard reset go to a hard reset recovery state
which introduced proper handling around sink & source reset recovery.
With VBUS assumed 'on' this leads to short timeouts chosen
(PD_T_SAFE_0V) which in turn causes sink to resend hard resets before
source has had time (PD_T_SRC_RECOVER) to handle request.
This change creates config CONFIG_USB_PD_NO_VBUS_DETECT for devices
without the capability to account for lack of VBUS detect.
Signed-off-by: Todd Broch <tbroch@chromium.org>
BRANCH=samus
BUG=chrome-os-partner:34090
TEST=manual
from samus_pd 'pd 1 flash reboot' is successful
Change-Id: I9ef9b0115c7be6c56c64556d2ce8c296f95c614e
Reviewed-on: https://chromium-review.googlesource.com/233024
Tested-by: Todd Broch <tbroch@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Commit-Queue: Todd Broch <tbroch@chromium.org>
Diffstat (limited to 'board/hoho/board.h')
-rw-r--r-- | board/hoho/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/hoho/board.h b/board/hoho/board.h index 30aa1d49b8..98f94a5d0c 100644 --- a/board/hoho/board.h +++ b/board/hoho/board.h @@ -43,6 +43,7 @@ #define CONFIG_USB_PD_INTERNAL_COMP #define CONFIG_USB_PD_IDENTITY_HW_VERS 1 #define CONFIG_USB_PD_IDENTITY_SW_VERS 1 +#define CONFIG_USB_PD_NO_VBUS_DETECT #undef CONFIG_WATCHDOG_HELP #undef CONFIG_LID_SWITCH #undef CONFIG_TASK_PROFILING |