diff options
author | Ting Shen <phoenixshen@google.com> | 2021-07-13 20:00:26 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-20 07:25:10 +0000 |
commit | 6441bcd511bae6acf97ed8b628479b27da904243 (patch) | |
tree | 03b01f8e25deadc503cbe938c5d5e8acb8146762 /board/cherry | |
parent | 40bebeea31a6a22607e963e1e075b1b096294c8d (diff) | |
download | chrome-ec-6441bcd511bae6acf97ed8b628479b27da904243.tar.gz |
cherry: implement USB-A port power control
BUG=b:193499785
TEST=manually
BRANCH=main
Signed-off-by: Ting Shen <phoenixshen@google.com>
Change-Id: I1bda9b40bb8795837d25022f6f71661f7699d1cf
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3023017
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'board/cherry')
-rw-r--r-- | board/cherry/gpio.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/cherry/gpio.inc b/board/cherry/gpio.inc index d3d1bd9ddc..643a7ec209 100644 --- a/board/cherry/gpio.inc +++ b/board/cherry/gpio.inc @@ -54,6 +54,10 @@ GPIO_INT(WP, PIN(I, 4), GPIO_INT_BOTH | GPIO_SEL_1P8V, switch_interrupt) /* EC_FLASH_WP_OD */ GPIO_INT(SPI0_CS, PIN(M, 5), GPIO_INT_FALLING, spi_event) /* SPI slave Chip Select -- AP_SPI_EC_CS_L */ +#ifdef BOARD_TOMATO +GPIO_INT(AP_XHCI_INIT_DONE, PIN(J, 5), GPIO_INT_BOTH | GPIO_PULL_DOWN | GPIO_SEL_1P8V, + usb_a0_interrupt) +#endif /* Power Sequencing Signals */ GPIO(EC_PMIC_EN_ODL, PIN(D, 0), GPIO_ODR_HIGH | GPIO_SEL_1P8V) @@ -82,7 +86,6 @@ GPIO(EC_NVME_PLN_ODL, PIN(D, 7), GPIO_ODR_HIGH | GPIO_SEL_1P8V) GPIO(NVME_EC_PLA_S3_ODL, PIN(I, 7), GPIO_INPUT) GPIO(EN_PP2500_NVME_X, PIN(J, 2), GPIO_OUTPUT | GPIO_PULL_DOWN) GPIO(EN_PP1200_NVME_X, PIN(J, 3), GPIO_OUTPUT | GPIO_PULL_DOWN) -GPIO(EN_PP900_NVME_X, PIN(J, 5), GPIO_OUTPUT | GPIO_PULL_DOWN) GPIO(PG_NVME_OD, PIN(H, 3), GPIO_INPUT) /* Misc Signals */ |