diff options
author | Yilun Lin <yllin@google.com> | 2019-05-02 16:36:06 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-05-02 16:12:23 -0700 |
commit | 7678bfa7af4d7c2d4f8b83e086491517e0f7d2af (patch) | |
tree | 325b498d78bcf6a519d7553998d182b7b33a6ace /board/kukui/gpio.inc | |
parent | c6d364fad069ac4ba321724f0f40ae3b0bd392ed (diff) | |
download | chrome-ec-7678bfa7af4d7c2d4f8b83e086491517e0f7d2af.tar.gz |
kukui: Remove adc GPIO_USBC_THERM.
The pin is renamed to BC12_DET_EN and is used for BC12 detection.
Also, to be compatible to rev1 boards, configure BC12_DET_EN as
High-Z state for bootblock transferring.
TEST=See a rev1 board boot to AP FW.
BUG=b:131126720
BRANCH=NOne
Change-Id: I1a60c2b8199b5530b65de4c65ce04c41f7cbb0d1
Signed-off-by: Yilun Lin <yllin@google.com>
Reviewed-on: https://chromium-review.googlesource.com/1593192
Commit-Ready: Yilun Lin <yllin@chromium.org>
Tested-by: Yilun Lin <yllin@chromium.org>
Reviewed-by: Ting Shen <phoenixshen@chromium.org>
Diffstat (limited to 'board/kukui/gpio.inc')
-rw-r--r-- | board/kukui/gpio.inc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/board/kukui/gpio.inc b/board/kukui/gpio.inc index 04010dc714..2581810d68 100644 --- a/board/kukui/gpio.inc +++ b/board/kukui/gpio.inc @@ -87,14 +87,7 @@ GPIO(EN_PP3300_POGO, PIN(A, 13), GPIO_OUT_LOW) GPIO(EN_POGO_CHARGE_L, PIN(B, 6), GPIO_OUT_HIGH) GPIO(EN_USBC_CHARGE_L, PIN(C, 7), GPIO_OUT_LOW) GPIO(EN_PP5000_USBC, PIN(D, 2), GPIO_OUT_LOW) - -/* - * It's a P1 pin BOOTBLOCK_MUX_OE, also a P2 pin USBC_THERM (test poin). - * Keep this pin defaults to P1 setting since that eMMC enabled with - * High-Z stat. - * TODO(b:122866184): Rename this pin as BC12_DET_EN. - */ -GPIO(USBC_THERM, PIN(C, 4), GPIO_ODR_HIGH) +GPIO(BC12_DET_EN, PIN(C, 4), GPIO_OUT_HIGH) /* USART1: PA9/PA10 */ ALTERNATE(PIN_MASK(A, 0x0600), 1, MODULE_UART, 0) |