diff options
author | Vic Yang <victoryang@chromium.org> | 2014-11-12 20:53:51 -0800 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2014-11-20 09:53:12 +0000 |
commit | 1291eb4b1dafead1d6910ea0032ebbb3f31a612d (patch) | |
tree | 6190ef1923310dc72ee0f04bf7eb2dff57eb615c /board/plankton/board.h | |
parent | 042dcf8c8a402407d181aa65ae92b9c131381007 (diff) | |
download | chrome-ec-1291eb4b1dafead1d6910ea0032ebbb3f31a612d.tar.gz |
plankton: reset USB hub on cable plug
If USB hub is connected to the type-C port, we need to reset the hub
whenever a cable plugs in. Otherwise, USB3.0 may fail to enumerate.
BRANCH=None
BUG=None
TEST=Plug/unplug cable and measure hub reset signal.
Change-Id: I60f67c83653d532971ee156914fe6ae0ecdb8d3a
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/229490
Reviewed-by: Pin-chih Lin <johnylin@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board/plankton/board.h')
-rw-r--r-- | board/plankton/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/plankton/board.h b/board/plankton/board.h index 46495178e0..50abc6faab 100644 --- a/board/plankton/board.h +++ b/board/plankton/board.h @@ -64,6 +64,9 @@ enum board_src_cap { /* Set USB PD source capability */ void board_set_source_cap(enum board_src_cap cap); +/* Reset USB hub if USB hub is switched to type-C port */ +void board_maybe_reset_usb_hub(void); + #endif /* !__ASSEMBLER__ */ #endif /* __BOARD_H */ |