summaryrefslogtreecommitdiff
path: root/common
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 /common
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 'common')
-rw-r--r--common/keyboard_mkbp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/keyboard_mkbp.c b/common/keyboard_mkbp.c
index 443f2b47fc..0e5f766a08 100644
--- a/common/keyboard_mkbp.c
+++ b/common/keyboard_mkbp.c
@@ -102,7 +102,7 @@ static int kb_fifo_remove(uint8_t *buffp)
static void set_host_interrupt(int active)
{
/* interrupt host by using active low EC_INT signal */
- gpio_set_level(GPIO_EC_INT, !active);
+ gpio_set_level(GPIO_EC_INT_L, !active);
}
/*****************************************************************************/