summaryrefslogtreecommitdiff
path: root/zephyr
diff options
context:
space:
mode:
authorDino Li <Dino.Li@ite.com.tw>2021-07-06 19:12:29 +0800
committerCommit Bot <commit-bot@chromium.org>2021-07-08 02:55:48 +0000
commit1ce3910f7dfbff10386c4b02d7025c3bfd11ef5e (patch)
tree8833a3d84402e8ce1cd6274ad1f1e48ecd126571 /zephyr
parentc6c9026a85c1a24606458c55019e79fd52a3f87a (diff)
downloadchrome-ec-1ce3910f7dfbff10386c4b02d7025c3bfd11ef5e.tar.gz
zephyr: asurada: enable interrupt of AP_EC_WARM_RST_REQ signal
fixed reboot command on AP. BUG=none BRANCH=none TEST=run reboot command on AP. Signed-off-by: Dino Li <Dino.Li@ite.com.tw> Change-Id: I5c7413346498605e2ab4c756e51e6e222d2f7eb6 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3007542 Reviewed-by: Denis Brockus <dbrockus@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'zephyr')
-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 ade503f8c5..8e29b7268c 100644
--- a/zephyr/projects/asurada/hayato/include/gpio_map.h
+++ b/zephyr/projects/asurada/hayato/include/gpio_map.h
@@ -64,7 +64,9 @@
GPIO_INT(GPIO_AP_IN_SLEEP_L, \
GPIO_INT_EDGE_BOTH, power_signal_interrupt) \
GPIO_INT(GPIO_PMIC_EC_PWRGD, \
- GPIO_INT_EDGE_BOTH, power_signal_interrupt)
+ GPIO_INT_EDGE_BOTH, power_signal_interrupt) \
+ GPIO_INT(GPIO_AP_EC_WARM_RST_REQ, \
+ GPIO_INT_EDGE_RISING, chipset_reset_request_interrupt)
#define GPIO_EN_PP5000 GPIO_EN_PP5000_A