summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McRae <amcrae@google.com>2020-10-01 14:28:26 +1000
committerCommit Bot <commit-bot@chromium.org>2020-10-01 09:03:21 +0000
commit55d6a725e3ce949efbb824732040079757678632 (patch)
treee50bf55d55106e895410de6cf13c5f8173d84976
parent1091354c0eadc65ab86b814e85d26960058d8e3f (diff)
downloadchrome-ec-55d6a725e3ce949efbb824732040079757678632.tar.gz
Dooly: Relocate interrupts to new GPIO pins
TCPC and PPC interrupts were routed to GPO (output only) pins. Relocate them to alternative GPIO pins. BUG=b:169638870 TEST=buildall BRANCH=none Signed-off-by: Andrew McRae <amcrae@google.com> Change-Id: I8d1453c71a262e1ef52a1e425e9b8ef35d08654e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2440017 Tested-by: Andrew McRae <amcrae@chromium.org> Reviewed-by: Nikolai Artemiev <nartemiev@google.com> Commit-Queue: Andrew McRae <amcrae@chromium.org>
-rw-r--r--board/dooly/gpio.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/dooly/gpio.inc b/board/dooly/gpio.inc
index 70a839ab50..b2039322d3 100644
--- a/board/dooly/gpio.inc
+++ b/board/dooly/gpio.inc
@@ -40,8 +40,8 @@ GPIO_INT(IMVP8_VRRDY_OD, PIN(1, 6), GPIO_INT_BOTH, power_signal_interrupt)
/* Other interrupts */
GPIO_INT(USB_C0_TCPPC_INT_ODL, PIN(E, 0), GPIO_INT_FALLING, ppc_interrupt)
GPIO_INT(USB_C0_TCPC_INT_ODL, PIN(6, 2), GPIO_INT_FALLING, tcpc_alert_event)
-GPIO_INT(USB_C1_TCPPC_INT_ODL, PIN(D, 6), GPIO_INT_FALLING, ppc_interrupt)
-GPIO_INT(USB_C1_TCPC_INT_ODL, PIN(3, 2), GPIO_INT_FALLING, tcpc_alert_event)
+GPIO_INT(USB_C1_TCPPC_INT_ODL, PIN(A, 2), GPIO_INT_FALLING, ppc_interrupt)
+GPIO_INT(USB_C1_TCPC_INT_ODL, PIN(E, 4), GPIO_INT_FALLING, tcpc_alert_event)
/*
* Directly connected recovery button.
*/
@@ -150,8 +150,8 @@ UNUSED(PIN(5, 0)) /* G4 NC */
UNUSED(PIN(9, 6)) /* M12 TP998 */
UNUSED(PIN(0, 7)) /* E8 TP991 */
UNUSED(PIN(0, 6)) /* B10 TP992 */
-UNUSED(PIN(E, 4)) /* H8 TP993 */
-UNUSED(PIN(A, 2)) /* J11 TP994 */
+UNUSED(PIN(D, 6)) /* F6 */
+UNUSED(PIN(3, 2)) /* E5 */
UNUSED(PIN(B, 0)) /* G8 TP49 */
UNUSED(PIN(1, 3)) /* EC_GP_SEL1_ODL */
UNUSED(PIN(C, 0)) /* FAN_PWM_2 */