summaryrefslogtreecommitdiff
path: root/baseboard/guybrush/base_gpio.inc
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-06-28 15:58:13 -0600
committerCommit Bot <commit-bot@chromium.org>2021-07-07 16:44:02 +0000
commit8fde798c826f4172f45cc86e773114010faf762e (patch)
treefad7547f74dceb1d82ef2001055b907ebdcdc1c6 /baseboard/guybrush/base_gpio.inc
parent08fb59cd346692eea2391f3604c09cc7e9485aba (diff)
downloadchrome-ec-8fde798c826f4172f45cc86e773114010faf762e.tar.gz
Guybrush: Set both FRS signals as GPIO
Both PPCs require the FRS signal be set as soon as we've enabled FRS swapping. Use the board FRS enable function to set these through the TCPC ioexpander. BRANCH=None BUG=b:183586640 TEST=on guybrush, attach WooHubs to C0 and C1, and ensure FRS can complete successfully Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I486b29c128e1d31f9d35e15df1e12a1eb3f2f3db Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2993559 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'baseboard/guybrush/base_gpio.inc')
-rw-r--r--baseboard/guybrush/base_gpio.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/baseboard/guybrush/base_gpio.inc b/baseboard/guybrush/base_gpio.inc
index 0964cbd8b5..24be8de795 100644
--- a/baseboard/guybrush/base_gpio.inc
+++ b/baseboard/guybrush/base_gpio.inc
@@ -135,6 +135,7 @@ GPIO(ESPI_EC_ALERT_SOC_L, PIN(5, 7), GPIO_DEFAULT)
#endif
/* TCPC C0 */
+IOEX(USB_C0_TCPC_FASTSW_CTL_EN, EXPIN(USBC_PORT_C0, 0, 4), GPIO_OUT_LOW)
IOEX(USB_C0_PPC_EN_L, EXPIN(USBC_PORT_C0, 1, 0), GPIO_OUT_LOW)
IOEX(USB_C0_PPC_ILIM_3A_EN, EXPIN(USBC_PORT_C0, 1, 1), GPIO_OUT_LOW)
IOEX_INT(USB_C0_SBU_FAULT_ODL, EXPIN(USBC_PORT_C0, 1, 2), GPIO_INT_FALLING, sbu_fault_interrupt)
@@ -146,6 +147,7 @@ IOEX(USB_C0_SBU_FLIP, EXPIN(USBC_PORT_C0, 1, 7), GPIO_OUT_LOW)
IOEX(USB_A1_RETIMER_EN, EXPIN(USBC_PORT_C1, 0, 0), GPIO_OUT_LOW)
IOEX(USB_A1_RETIMER_RST, EXPIN(USBC_PORT_C1, 0, 1), GPIO_OUT_LOW)
IOEX(USB_C1_IN_HPD, EXPIN(USBC_PORT_C1, 0, 3), GPIO_OUT_LOW)
+IOEX(USB_C1_TCPC_FASTSW_CTL_EN, EXPIN(USBC_PORT_C1, 0, 4), GPIO_OUT_LOW)
IOEX(USB_C1_PPC_EN_L, EXPIN(USBC_PORT_C1, 1, 0), GPIO_OUT_LOW)
IOEX(USB_C1_PPC_ILIM_3A_EN, EXPIN(USBC_PORT_C1, 1, 1), GPIO_OUT_LOW)
IOEX_INT(USB_C1_SBU_FAULT_ODL, EXPIN(USBC_PORT_C1, 1, 2), GPIO_INT_FALLING, sbu_fault_interrupt)