diff options
author | Enrico Granata <egranata@chromium.org> | 2018-10-03 10:44:48 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-10-12 23:07:16 -0700 |
commit | c5661a8a8b3172a185dae2d649e9575ea9b72ce8 (patch) | |
tree | 4e8901e1326699a7be9a48becb292cd3d2c600a7 /board/nocturne/gpio.inc | |
parent | b6be8311960db02ca0c86c9471bc6e45b9cbcb90 (diff) | |
download | chrome-ec-c5661a8a8b3172a185dae2d649e9575ea9b72ce8.tar.gz |
nocturne: enable GPIO-based MKBP event notification
This commit configures nocturne to send MKBP events over GPIO for
boards with ID >= 2, as well as over the existing host event path.
This latter notification is sent for legacy compatibility purposes,
largely with existing depthcharge behavior.
BUG=b:112366846, b:112112483, b:112111610
TEST=physical buttons work in depthcharge +
MKBP events come in on Nocturne via GPIO interrupt with
no significant jitter change
BRANCH=none
Change-Id: I95668ab1140f1c1e6397fae42f5dc6103b404956
Signed-off-by: Enrico Granata <egranata@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1247343
Reviewed-by: Gwendal Grignou <gwendal@chromium.org>
Diffstat (limited to 'board/nocturne/gpio.inc')
-rw-r--r-- | board/nocturne/gpio.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/nocturne/gpio.inc b/board/nocturne/gpio.inc index 985ad56e92..d9e10de5a6 100644 --- a/board/nocturne/gpio.inc +++ b/board/nocturne/gpio.inc @@ -61,7 +61,7 @@ GPIO(EC_BRD_ID0, PIN(4, 0), GPIO_INPUT) GPIO(EC_BRD_ID1, PIN(9, 6), GPIO_INPUT) GPIO(EC_BRD_ID2, PIN(9, 3), GPIO_INPUT) GPIO(EC_BRD_ID3, PIN(F, 0), GPIO_INPUT) -GPIO(EC_GPIO95, PIN(9, 5), GPIO_OUT_LOW) +GPIO(EC_INT_L, PIN(9, 5), GPIO_OUT_HIGH) GPIO(UHALL_PWR_EN, PIN(E, 0), GPIO_OUT_HIGH) GPIO(USB2_VBUSSENSE, PIN(A, 2), GPIO_OUT_LOW) GPIO(USB2_ID, PIN(A, 0), GPIO_OUT_LOW) |