summaryrefslogtreecommitdiff
path: root/board/fleex/gpio.inc
diff options
context:
space:
mode:
authorJett Rink <jettrink@chromium.org>2019-01-09 08:00:32 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-01-10 13:58:43 -0800
commit62adbc1bd61124f04405b9ee94b7172171546239 (patch)
tree29216a9f46e55802d7214942ae0882460b6ba0ac /board/fleex/gpio.inc
parent1f1e33a579ba26e4edd258bd93c5366bd8bc52eb (diff)
downloadchrome-ec-62adbc1bd61124f04405b9ee94b7172171546239.tar.gz
octopus: convert boards to use hardware int
Recent kernel changes expect the EC to use a dedicated interrupt pin from the EC to the AP to notify the AP of pending sensor data (instead of using an eSPI "interrupt"). The octopus boards have this hardware support, we just need to enable the EC use it. BRANCH=octopus BUG=b:122552125,b:120679547 TEST=perform sensor tests on various octopus boards Change-Id: I2bd3ffe14947d5f1ec71acbb53fcac962b007cf9 Signed-off-by: Jett Rink <jettrink@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1403103 Reviewed-by: Enrico Granata <egranata@chromium.org>
Diffstat (limited to 'board/fleex/gpio.inc')
-rw-r--r--board/fleex/gpio.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/fleex/gpio.inc b/board/fleex/gpio.inc
index 92e730248b..41488ad974 100644
--- a/board/fleex/gpio.inc
+++ b/board/fleex/gpio.inc
@@ -147,7 +147,9 @@ GPIO(TRACKPAD_INT_1V8_ODL, PIN(9, 3), GPIO_INPUT | GPIO_SEL_1P8V)
/* Camera */
GPIO(EC_GPIO03, PIN(0, 3), GPIO_INPUT) /* TP only */
-GPIO(EC_INT_L, PIN(9, 4), GPIO_INPUT) /* EC_AP_INT_ODL - Unused GPIO_ODR_HIGH */
+
+/* MKBP event synchronization */
+GPIO(EC_INT_L, PIN(9, 4), GPIO_ODR_HIGH) /* EC_AP_INT_ODL */
/* Unused Pins */
GPIO(CHARGER_PMON, PIN(4, 2), GPIO_INPUT)