summaryrefslogtreecommitdiff
path: root/board/woomax/gpio.inc
diff options
context:
space:
mode:
authorMichael5 Chen <michael5_chen1@pegatron.corp-partner.google.com>2020-10-23 14:36:14 +0800
committerCommit Bot <commit-bot@chromium.org>2020-10-27 23:51:03 +0000
commit199d959772c7822cc30dec6c7fc1511e244b067a (patch)
tree68b7f08adb155196c903807c6f28f39985d36679 /board/woomax/gpio.inc
parentca6368b8425548e6c3bdd67a1a0095d6a84cdc27 (diff)
downloadchrome-ec-199d959772c7822cc30dec6c7fc1511e244b067a.tar.gz
woomax: Change OPT3 USB HPD from TCPC1 GPIO02 to EC GPIOB1.
For board version 2, the OPT3 USB HPD change to EC GPIOB1. BUG=b:160579667 BRANCH=firmware-zork-13434.B TEST=make BOARD=woomax Signed-off-by: Michael5 Chen <michael5_chen1@pegatron.corp-partner.google.com> Change-Id: Ic7ea0d02bd8942779138402155e9941f36c6d9f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2494601 Reviewed-by: Edward Hill <ecgh@chromium.org> Commit-Queue: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'board/woomax/gpio.inc')
-rw-r--r--board/woomax/gpio.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/woomax/gpio.inc b/board/woomax/gpio.inc
index 6654b88570..b377291f74 100644
--- a/board/woomax/gpio.inc
+++ b/board/woomax/gpio.inc
@@ -53,6 +53,7 @@ GPIO(EC_DP1_HPD, PIN(F, 4), GPIO_OUT_LOW) /* C1 DP Hotplug Detect */
GPIO(DP2_HPD, PIN(C, 1), GPIO_OUT_LOW) /* C1 DP Hotplug Detect */
GPIO(EC_H1_PACKET_MODE, PIN(8, 6), GPIO_OUT_LOW) /* H1 Packet Mode */
GPIO(EN_PWR_TOUCHPAD_PS2, PIN(C, 2), GPIO_INPUT) /* Touchpad Power */
+GPIO(USB_C1_HPD_IN_DB, PIN(B, 1), GPIO_OUT_LOW) /* C1 HPD for board version 2 */
UNIMPLEMENTED(NO_HPD)
UNIMPLEMENTED(PCH_SMI_L)
@@ -75,7 +76,7 @@ IOEX(USB_C0_DATA_EN, EXPIN(USBC_PORT_C0, 1, 4), GPIO_OUT_LOW) /* C0 Data Enable
IOEX(EN_USB_A0_5V, EXPIN(USBC_PORT_C0, 1, 5), GPIO_OUT_LOW) /* A0 5V Source Enable */
IOEX(USB_A0_CHARGE_EN_L, EXPIN(USBC_PORT_C0, 1, 6), GPIO_OUT_HIGH) /* A0 5V High Current Enable */
-IOEX(USB_C1_HPD_IN_DB, EXPIN(USBC_PORT_C1, 0, 2), GPIO_OUT_LOW) /* C1 HPD */
+IOEX(USB_C1_HPD_IN_DB, EXPIN(USBC_PORT_C1, 0, 2), GPIO_OUT_LOW) /* C1 HPD for board version 1*/
IOEX(HDMI_POWER_EN_DB, EXPIN(USBC_PORT_C1, 0, 3), GPIO_OUT_LOW) /* HDMI retimer power enable */
IOEX(USB_C1_TCPC_FASTSW_CTL_EN, EXPIN(USBC_PORT_C1, 0, 4), GPIO_OUT_LOW) /* C1 FastSwitch Control */
IOEX(USB_C1_MUX_RST_DB, EXPIN(USBC_PORT_C1, 1, 1), GPIO_OUT_LOW) /* C1 Mux Reset */