diff options
author | Fabio Baltieri <fabiobaltieri@google.com> | 2021-02-04 21:42:10 +0000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-02-04 23:41:57 +0000 |
commit | 17c54868edb54a962ec5a12c4548a81f5b077311 (patch) | |
tree | 2dc37581e3fe67c1fccd7f1f39e2805300ddaa24 | |
parent | b5e912d45f7309aca7b342b5a32e219a5e932839 (diff) | |
download | chrome-ec-17c54868edb54a962ec5a12c4548a81f5b077311.tar.gz |
zephyr: volteer: add missing interrupt for ec_wp_l
Spotted this in the log messages:
[00:00:00.043,000] <err> gpio_shim: No interrupt defined for GPIO EC_WP_L
Adding the missing definition.
BUG=none
BRANCH=none
TEST=no error anymore
Change-Id: If4e48ff8e1f05c9fde8db29547b98c0600fc9015
Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2675905
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
-rw-r--r-- | zephyr/projects/volteer/include/gpio_map.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/zephyr/projects/volteer/include/gpio_map.h b/zephyr/projects/volteer/include/gpio_map.h index 49eab447e0..90bc4d7b2a 100644 --- a/zephyr/projects/volteer/include/gpio_map.h +++ b/zephyr/projects/volteer/include/gpio_map.h @@ -29,6 +29,7 @@ #define GPIO_EC_IMU_INT_L NAMED_GPIO(ec_imu_int_l) #define GPIO_EC_PCH_SYS_PWROK NAMED_GPIO(ec_pch_sys_pwrok) #define GPIO_EC_PCH_WAKE_ODL NAMED_GPIO(ec_pch_wake_odl) +#define GPIO_EC_WP_L NAMED_GPIO(ec_wp_l) #define GPIO_EN_PP3300_A NAMED_GPIO(en_pp3300_a) #define GPIO_EN_PP5000 NAMED_GPIO(en_pp5000_a) #define GPIO_EN_PP5000_A NAMED_GPIO(en_pp5000_a) @@ -148,6 +149,7 @@ GMR_TABLET_MODE_INT(GPIO_TABLET_MODE_L, GPIO_INT_EDGE_BOTH) \ 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_EC_WP_L, GPIO_INT_EDGE_BOTH, switch_interrupt) \ POWER_SIGNAL_INT(GPIO_PCH_SLP_S0_L, GPIO_INT_EDGE_BOTH) \ POWER_SIGNAL_INT(GPIO_PCH_SLP_S3_L, GPIO_INT_EDGE_BOTH) \ POWER_SIGNAL_INT(GPIO_PCH_SLP_SUS_L, GPIO_INT_EDGE_BOTH) \ |