mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-07 16:11:43 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user