diff options
author | Dino Li <Dino.Li@ite.com.tw> | 2021-06-27 16:25:56 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-29 16:12:04 +0000 |
commit | 4f731e7f959fed5615e0575cb2f60f34ef102a54 (patch) | |
tree | 696c5b3a8f5b158b9620c8e485f150a785a56667 /zephyr/projects/asurada/hayato/include/gpio_map.h | |
parent | 0e729ec359be445cb478eacab23dc982a5e94000 (diff) | |
download | chrome-ec-4f731e7f959fed5615e0575cb2f60f34ef102a54.tar.gz |
zephyr: asurada: enable interrupts of power sequence pins
BUG=b:192073810
BRANCH=none
TEST=verified that power off sequence works
Signed-off-by: Dino Li <Dino.Li@ite.com.tw>
Change-Id: I5b09b7d5f3a73fb152cb43a5ea9c917a002feccb
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2988746
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Commit-Queue: Denis Brockus <dbrockus@chromium.org>
Tested-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'zephyr/projects/asurada/hayato/include/gpio_map.h')
-rw-r--r-- | zephyr/projects/asurada/hayato/include/gpio_map.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/zephyr/projects/asurada/hayato/include/gpio_map.h b/zephyr/projects/asurada/hayato/include/gpio_map.h index a0e4bacb30..ade503f8c5 100644 --- a/zephyr/projects/asurada/hayato/include/gpio_map.h +++ b/zephyr/projects/asurada/hayato/include/gpio_map.h @@ -58,7 +58,13 @@ GPIO_INT(GPIO_X_EC_GPIO2, \ GPIO_INT_EDGE_FALLING, x_ec_interrupt) \ GPIO_INT(GPIO_AP_XHCI_INIT_DONE, \ - GPIO_INT_EDGE_BOTH, usb_a0_interrupt) + GPIO_INT_EDGE_BOTH, usb_a0_interrupt) \ + GPIO_INT(GPIO_AP_EC_WATCHDOG_L, \ + GPIO_INT_EDGE_BOTH, chipset_watchdog_interrupt) \ + 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) #define GPIO_EN_PP5000 GPIO_EN_PP5000_A |