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>
This commit is contained in:
Nick Sanders
2017-05-18 17:12:26 -07:00
committed by chrome-bot
parent 20f85990c4
commit 80ef3f073e

View File

@@ -424,8 +424,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();