summaryrefslogtreecommitdiff
path: root/chip/it83xx/intc.c
diff options
context:
space:
mode:
authorDino Li <Dino.Li@ite.com.tw>2017-11-14 10:55:55 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-11-14 21:52:39 -0800
commit2bb1811f074db4d33fa22209d4be1b303d93ef04 (patch)
treec960bd3feabe48829937dd19fb057570905a69f3 /chip/it83xx/intc.c
parent385c276e4bf50c9a9816b8cf9a8abc9b86dab329 (diff)
downloadchrome-ec-2bb1811f074db4d33fa22209d4be1b303d93ef04.tar.gz
it83xx: add espi module
Add espi control module for it83xx. Signed-off-by: Dino Li <dino.li@ite.com.tw> BRANCH=none BUG=none TEST=1. it8390+Intel SKL-Y RVP3 and boot to shell. 2. console command "kbpress 1 4" to test keyboard data. (board code for espi module test on CL:392587) Change-Id: I1b32bd16f7e01abf07b9c9a68ebef2399cc9828d Reviewed-on: https://chromium-review.googlesource.com/394471 Commit-Ready: Dino Li <Dino.Li@ite.com.tw> Tested-by: Dino Li <Dino.Li@ite.com.tw> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'chip/it83xx/intc.c')
-rw-r--r--chip/it83xx/intc.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/chip/it83xx/intc.c b/chip/it83xx/intc.c
index cd4e147d01..a2fd06dea4 100644
--- a/chip/it83xx/intc.c
+++ b/chip/it83xx/intc.c
@@ -106,6 +106,15 @@ void intc_cpu_int_group_12(void)
peci_interrupt();
break;
#endif
+#ifdef CONFIG_ESPI
+ case IT83XX_IRQ_ESPI:
+ espi_interrupt();
+ break;
+
+ case IT83XX_IRQ_ESPI_VW:
+ espi_vw_interrupt();
+ break;
+#endif
#ifdef CONFIG_USB_PD_TCPM_ITE83XX
case IT83XX_IRQ_USBPD0:
chip_pd_irq(USBPD_PORT_A);