diff options
author | Diana Z <dzigterman@chromium.org> | 2019-03-29 16:02:28 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-04-04 05:39:57 -0700 |
commit | 6701a4b225a928fb14ffd30ae54701c3d7a24bc8 (patch) | |
tree | 0a44f7d039dd9e5684fc55e52770c706531ed46d | |
parent | 29c3cf2d8cd0c4da93aa7f01ca96539423cd48ef (diff) | |
download | chrome-ec-6701a4b225a928fb14ffd30ae54701c3d7a24bc8.tar.gz |
Casta: Add MKBP events on EC_AP_INT_ODL
Though casta isn't using sensors, the GPIO for the MKBP events is still
populated so configure and enable it.
BUG=None
BRANCH=octopus
TEST=builds
Change-Id: Id5efe1dd79efaeb43a94b6fcd005d5ae7078a03c
Signed-off-by: Diana Z <dzigterman@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1545084
Reviewed-by: Enrico Granata <egranata@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r-- | board/casta/board.h | 3 | ||||
-rw-r--r-- | board/casta/gpio.inc | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/casta/board.h b/board/casta/board.h index c99ae1e696..e7afd7a51b 100644 --- a/board/casta/board.h +++ b/board/casta/board.h @@ -36,9 +36,6 @@ /* TODO(b/119872005): Casta: confirm thermistor parts */ #define CONFIG_STEINHART_HART_3V3_13K7_47K_4050B #define CONFIG_STEINHART_HART_3V3_51K1_47K_4050B -#define CONFIG_MKBP_EVENT -#undef CONFIG_MKBP_USE_GPIO -#define CONFIG_MKBP_USE_HOST_EVENT /* Battery W/A */ #define CONFIG_CHARGER_PROFILE_OVERRIDE diff --git a/board/casta/gpio.inc b/board/casta/gpio.inc index 7f4a164605..c827d18a97 100644 --- a/board/casta/gpio.inc +++ b/board/casta/gpio.inc @@ -126,6 +126,9 @@ GPIO(BAT_LED_RED_L, PIN(C, 3), GPIO_OUT_HIGH) GPIO(BAT_LED_GREEN_L, PIN(C, 4), GPIO_OUT_HIGH) GPIO(PWR_LED_BLUE_L, PIN(D, 7), GPIO_OUT_HIGH) +/* MKBP event synchronization */ +GPIO(EC_INT_L, PIN(9, 4), GPIO_ODR_HIGH) /* EC_AP_INT_ODL */ + /* Not implemented in hardware */ UNIMPLEMENTED(KB_BL_PWR_EN) |