summaryrefslogtreecommitdiff
path: root/board/host/gpio.inc
diff options
context:
space:
mode:
authorBen Lok <ben.lok@mediatek.com>2015-08-31 14:35:01 +0800
committerchrome-bot <chrome-bot@chromium.org>2015-08-31 22:59:52 -0700
commitc2cf0fb198feea043a331e5d2156979d23f1aa46 (patch)
tree606be714410424767317523693737dd7748a7920 /board/host/gpio.inc
parenta030c63bafb3e18619b2ec325c0a6b2de3c4bfe7 (diff)
downloadchrome-ec-c2cf0fb198feea043a331e5d2156979d23f1aa46.tar.gz
oak: enable MBKP events for PD events
(refer to CL:273620) enable the MKBP event feature to send host event and wire up the PD specific events. But, CONFIG_MKBP_EVENT conflicts with CONFIG_KEYBOARD_PROTOCOL_MKBP, due to the GPIO name of EC interrupt pin. Align the GPIO naming of EC interrupt pin to EC_INT_L. BRANCH=none BUG=chrome-os-partner:44643 TEST=On Oak rev3, plug/unplug USB devices and add kernel trace to see the PD events happening. Change-Id: I10de9c6611583bb6165bdc1848e542d4b8bba954 Signed-off-by: Ben Lok <ben.lok@mediatek.com> Reviewed-on: https://chromium-review.googlesource.com/296012 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Rong Chang <rongchang@chromium.org>
Diffstat (limited to 'board/host/gpio.inc')
-rw-r--r--board/host/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/host/gpio.inc b/board/host/gpio.inc
index 8a9c3ae1a5..0b9fa47dba 100644
--- a/board/host/gpio.inc
+++ b/board/host/gpio.inc
@@ -12,7 +12,7 @@ GPIO_INT(BUTTON_VOLUME_DOWN_L, PIN(0, 0), GPIO_INT_BOTH, button_interrupt)
GPIO_INT(BUTTON_VOLUME_UP, PIN(0, 0), GPIO_INT_BOTH, button_interrupt)
GPIO_INT(CHARGE_DONE, PIN(0, 0), GPIO_INT_BOTH, inductive_charging_interrupt)
-GPIO(EC_INT, PIN(0, 0), 0)
+GPIO(EC_INT_L, PIN(0, 0), 0)
GPIO(WP, PIN(0, 0), 0)
GPIO(ENTERING_RW, PIN(0, 0), 0)
GPIO(PCH_BKLTEN, PIN(0, 0), 0)