diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2021-02-16 14:31:41 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-18 23:54:05 +0000 |
commit | 4fc4a79b60e342079b13926e19513e4839885fd6 (patch) | |
tree | d1fc53cd1c76bb1a483921d33e53434bc4b29e43 /zephyr/projects/delbin/include/gpio_map.h | |
parent | d67effbf520b8d909a52775d1d4b2eec657aa7f1 (diff) | |
download | chrome-ec-4fc4a79b60e342079b13926e19513e4839885fd6.tar.gz |
zephyr: delbin: enable the switch module
Enable memory-mapped switch state module.
BUG=b:180410072
BRANCH=none
TEST=compile for delbin
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: Ib6125563cfee4d44f68523bc1da1e780a9b08b3a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2699532
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/projects/delbin/include/gpio_map.h')
-rw-r--r-- | zephyr/projects/delbin/include/gpio_map.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/zephyr/projects/delbin/include/gpio_map.h b/zephyr/projects/delbin/include/gpio_map.h index 528a9e5713..cc38970187 100644 --- a/zephyr/projects/delbin/include/gpio_map.h +++ b/zephyr/projects/delbin/include/gpio_map.h @@ -35,6 +35,7 @@ GPIO_INT(GPIO_AC_PRESENT, GPIO_INT_EDGE_BOTH, extpower_interrupt) \ GPIO_INT(GPIO_LID_OPEN, GPIO_INT_EDGE_BOTH, lid_interrupt) \ GPIO_INT(GPIO_POWER_BUTTON_L, GPIO_INT_EDGE_BOTH, \ - power_button_interrupt) + power_button_interrupt) \ + GPIO_INT(GPIO_WP_L, GPIO_INT_EDGE_BOTH, switch_interrupt) #endif /* __ZEPHYR_GPIO_MAP_H */ |