summaryrefslogtreecommitdiff
path: root/zephyr/projects/asurada
diff options
context:
space:
mode:
authorDino Li <Dino.Li@ite.com.tw>2021-07-16 14:47:32 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-27 02:50:20 +0000
commit9e0226bf02e94efd042b77ea6008ee9bfb08ed6f (patch)
tree7fc311cceda1192236e4ac7a2c22dd0fe494a4af /zephyr/projects/asurada
parent78e3fa0569a53ff146364c5229b1e86c57f1d8e5 (diff)
downloadchrome-ec-9e0226bf02e94efd042b77ea6008ee9bfb08ed6f.tar.gz
zephyr: it8xxx2: shi: enable CS interrupt
This interrupt will be needed in the future to enable low power mode on idle task in S0 state. BRANCH=none BUG=b:185176098 TEST=the interrupt can be triggered correctly on asurada. Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Change-Id: I04b066de0129f01adf2c7ba4c9f60788b3d46cbc Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3034781 Reviewed-by: Tim2 Lin <tim2.lin@ite.corp-partner.google.com> Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr/projects/asurada')
-rw-r--r--zephyr/projects/asurada/hayato/include/gpio_map.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zephyr/projects/asurada/hayato/include/gpio_map.h b/zephyr/projects/asurada/hayato/include/gpio_map.h
index 8e29b7268c..5f01f290d2 100644
--- a/zephyr/projects/asurada/hayato/include/gpio_map.h
+++ b/zephyr/projects/asurada/hayato/include/gpio_map.h
@@ -66,7 +66,9 @@
GPIO_INT(GPIO_PMIC_EC_PWRGD, \
GPIO_INT_EDGE_BOTH, power_signal_interrupt) \
GPIO_INT(GPIO_AP_EC_WARM_RST_REQ, \
- GPIO_INT_EDGE_RISING, chipset_reset_request_interrupt)
+ GPIO_INT_EDGE_RISING, chipset_reset_request_interrupt) \
+ GPIO_INT(GPIO_SPI0_CS, \
+ GPIO_INT_EDGE_FALLING, spi_event)
#define GPIO_EN_PP5000 GPIO_EN_PP5000_A