diff options
author | Ting Shen <phoenixshen@google.com> | 2021-09-30 15:49:09 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-10-15 08:53:25 +0000 |
commit | aebcdcde3839c41ba0a68d34e32bf7dd49fe08e9 (patch) | |
tree | 4a28628f914f012ca5094009126d66229986802a /board | |
parent | bdeea873c4f4fb93d0ec0d78421e428ecbcc4635 (diff) | |
download | chrome-ec-aebcdcde3839c41ba0a68d34e32bf7dd49fe08e9.tar.gz |
cherry: powercycle VBUS after AP XHCI done
Implement VBUS cycle according to USB Type-C Spec R2.0:
10.3.1 Hub Downstream Facing Port State Descriptions
10.3.1.1 DSPORT.Powered-off
A hub may provide power to its downstream ports all of the time to
support power applications from a USB port. Such hubs must ensure that
Enhanced SuperSpeed devices on its downstream-facing ports attempt
Enhanced SuperSpeed connection once upstream VBUS is seen by the hub.
The recommended method to achieve this is to cycle VBUS off for a
duration or by actively discharging so that it is seen to be off by the
downstream device.
BUG=b:200772411
TEST=manually
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I674391622698b6e241b0a97063b3abbc8550e365
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3195205
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/cherry/gpio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/cherry/gpio.inc b/board/cherry/gpio.inc index 3a64f56d47..8213d74cea 100644 --- a/board/cherry/gpio.inc +++ b/board/cherry/gpio.inc @@ -59,7 +59,7 @@ GPIO_INT(SPI0_CS, PIN(M, 5), GPIO_INT_FALLING, spi_event) /* SPI slave Chip Select -- AP_SPI_EC_CS_L */ #ifndef BOARD_CHERRY GPIO_INT(AP_XHCI_INIT_DONE, PIN(J, 5), GPIO_INT_BOTH | GPIO_PULL_DOWN | GPIO_SEL_1P8V, - usb_a0_interrupt) + xhci_init_done_interrupt) #endif /* Power Sequencing Signals */ |