diff options
author | Nick Sanders <nsanders@chromium.org> | 2017-05-18 17:12:26 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2017-11-27 19:22:30 +0000 |
commit | 8c9f2e505d0f6b0a15052052b779dee93ad2936b (patch) | |
tree | 645ee763270e3948ab73394817e2500b45813c33 | |
parent | 220a51948649c316ba34cdbd33aa7913966b80f4 (diff) | |
download | chrome-ec-8c9f2e505d0f6b0a15052052b779dee93ad2936b.tar.gz |
servo_v4: disable USB3 interface
This change switches the SS lines off in the main USB mux.
There has been some general flakyness regarding USB3 peripherals
and this change might address it.
BUG=chromium:718075
BRANCH=None
TEST=lsusb -t indicates 5000M before, 480M after.
Change-Id: Id201fb20dc6489c4a071cb1c9c0624d7aa54652d
Reviewed-on: https://chromium-review.googlesource.com/509130
Commit-Ready: Nick Sanders <nsanders@chromium.org>
Tested-by: Nick Sanders <nsanders@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
(cherry picked from commit 80ef3f073e87cfba80666c922111b4c922769279)
Reviewed-on: https://chromium-review.googlesource.com/791451
Reviewed-by: Nick Sanders <nsanders@chromium.org>
Commit-Queue: Nick Sanders <nsanders@chromium.org>
-rw-r--r-- | board/servo_v4/board.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/board/servo_v4/board.c b/board/servo_v4/board.c index f4842d2a6c..4b77a4ba15 100644 --- a/board/servo_v4/board.c +++ b/board/servo_v4/board.c @@ -435,8 +435,11 @@ static void board_init(void) usleep(1000); gpio_set_flags(GPIO_DUT_HUB_USB_RESET_L, GPIO_OUT_HIGH); - /* Write USB3 Mode Enable to PS8742 USB/DP Mux. */ - i2c_write8(1, 0x20, 0x0, 0x20); + /* + * Write USB3 Mode to PS8742 USB/DP Mux. + * 0x0:disable 0x20:enable. + */ + i2c_write8(1, 0x20, 0x0, 0x0); /* Enable uservo USB by default. */ init_ioexpander(); |