diff options
author | Jett Rink <jettrink@chromium.org> | 2019-01-09 08:00:32 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-01-10 13:58:43 -0800 |
commit | 62adbc1bd61124f04405b9ee94b7172171546239 (patch) | |
tree | 29216a9f46e55802d7214942ae0882460b6ba0ac /board/meep | |
parent | 1f1e33a579ba26e4edd258bd93c5366bd8bc52eb (diff) | |
download | chrome-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/meep')
-rw-r--r-- | board/meep/board.h | 3 | ||||
-rw-r--r-- | board/meep/gpio.inc | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/board/meep/board.h b/board/meep/board.h index 69e6279403..e15016ce86 100644 --- a/board/meep/board.h +++ b/board/meep/board.h @@ -43,9 +43,6 @@ #define CONFIG_STEINHART_HART_3V3_13K7_47K_4050B #define CONFIG_STEINHART_HART_3V3_51K1_47K_4050B -#define CONFIG_MKBP_EVENT -#define CONFIG_MKBP_USE_HOST_EVENT - #define CONFIG_KEYBOARD_FACTORY_TEST #define OCTOPUS_BATT_FUEL_LOW_LED 10 diff --git a/board/meep/gpio.inc b/board/meep/gpio.inc index a24f26a5cd..d1d29a6031 100644 --- a/board/meep/gpio.inc +++ b/board/meep/gpio.inc @@ -139,7 +139,7 @@ GPIO(PWR_LED_WHITE_L, PIN(D, 7), GPIO_OUT_HIGH) /* LED_3_L */ GPIO(KB_BL_PWR_EN, PIN(6, 2), GPIO_OUT_LOW) /* MKBP event synchronization */ -GPIO(EC_INT_L, PIN(9, 4), GPIO_INPUT) /* EC_AP_INT_ODL - currently unused */ +GPIO(EC_INT_L, PIN(9, 4), GPIO_ODR_HIGH) /* EC_AP_INT_ODL */ /* Overcurrent event to host */ GPIO(USB_C_OC, PIN(3, 6), GPIO_ODR_HIGH | GPIO_SEL_1P8V) |