summaryrefslogtreecommitdiff
path: root/board/morphius/gpio.inc
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2020-02-06 14:05:12 -0700
committerCommit Bot <commit-bot@chromium.org>2020-02-14 20:23:07 +0000
commitca2625eafcd3d22ffb65fb6bf7d7f8021c92fa21 (patch)
treecd88107fce6e6a250dea091033bbdbca6a3f160b /board/morphius/gpio.inc
parentfd5e9c3980c81098bd6dd84c7d927c779187f8a2 (diff)
downloadchrome-ec-ca2625eafcd3d22ffb65fb6bf7d7f8021c92fa21.tar.gz
zork: HPD for DB OPT3 MST hub
Add interrupt handler for MST_HPD_OUT from IO expander on DB OPT3 and connect to AP's DP1_HPD. BUG=b:146468096 BRANCH=none TEST=HDMI works with DB OPT3 Change-Id: I60a7932f3eb03b90b94354ce809e0d5e09e15247 Signed-off-by: Edward Hill <ecgh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2042680 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'board/morphius/gpio.inc')
-rw-r--r--board/morphius/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/morphius/gpio.inc b/board/morphius/gpio.inc
index 34999f69bc..d42b5ed84a 100644
--- a/board/morphius/gpio.inc
+++ b/board/morphius/gpio.inc
@@ -57,6 +57,7 @@ GPIO(LED_FULL_L, PIN(6, 0), GPIO_OUT_HIGH)
GPIO(LED_CHRG_L, PIN(C, 0), GPIO_OUT_HIGH)
IOEX_INT(HDMI_CONN_HPD_3V3_DB, EXPIN(USBC_PORT_C1, 1, 0), GPIO_INT_BOTH, hdmi_hpd_interrupt)
+IOEX_INT(MST_HPD_OUT, EXPIN(USBC_PORT_C1, 0, 3), GPIO_INT_BOTH, mst_hpd_interrupt)
IOEX(USB_A0_RETIMER_EN, EXPIN(USBC_PORT_C0, 0, 0), GPIO_OUT_LOW) /* A0 Retimer Enable */
IOEX(USB_A0_RETIMER_RST, EXPIN(USBC_PORT_C0, 0, 1), GPIO_OUT_LOW) /* A0 Retimer Reset */
@@ -73,7 +74,6 @@ IOEX(USB_A0_CHARGE_EN_L, EXPIN(USBC_PORT_C0, 1, 6), GPIO_OUT_HIGH) /* A0 5V High
IOEX(USB_A1_RETIMER_EN, EXPIN(USBC_PORT_C1, 0, 0), GPIO_OUT_LOW) /* A1 Retimer Enable */
IOEX(USB_A1_RETIMER_RST_DB, EXPIN(USBC_PORT_C1, 0, 1), GPIO_OUT_LOW) /* A1 Retimer Reset */
IOEX(USB_C1_HPD_IN_DB, EXPIN(USBC_PORT_C1, 0, 2), GPIO_OUT_LOW) /* C1 HPD */
-IOEX(MST_HPD_OUT, EXPIN(USBC_PORT_C1, 0, 3), GPIO_INPUT) /* HPD from MST Hub */
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 */
IOEX(USB_C1_SBU_FAULT_DB_ODL, EXPIN(USBC_PORT_C1, 1, 2), GPIO_INPUT) /* C1 SBU Fault */