summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiana Z <dzigterman@chromium.org>2021-09-22 20:49:33 +0000
committerCommit Bot <commit-bot@chromium.org>2021-09-23 00:25:22 +0000
commit584a379e741fa03875422045fab4bf730acccd9e (patch)
treebb6539e790ab512ed767fd3c6b160bae5d4ae5db
parent2c0d93a1ae43c4ed9745005f46787fcaf7285b39 (diff)
downloadchrome-ec-584a379e741fa03875422045fab4bf730acccd9e.tar.gz
Guybrush: Correct zephyr power interrupts
Correct the S5 PGOOD interrupt to go to the baseboard function to process it. BRANCH=None BUG=b:195137794 TEST=builds, continues to "boot" to S0 Signed-off-by: Diana Z <dzigterman@chromium.org> Change-Id: I0fb631eb67b662698b889171c399d968da788cb8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3176393 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r--zephyr/projects/guybrush/include/gpio_map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/projects/guybrush/include/gpio_map.h b/zephyr/projects/guybrush/include/gpio_map.h
index 3f1a7dd94a..78fbaf357e 100644
--- a/zephyr/projects/guybrush/include/gpio_map.h
+++ b/zephyr/projects/guybrush/include/gpio_map.h
@@ -49,7 +49,7 @@ enum power_signal {
power_signal_interrupt) \
GPIO_INT(GPIO_PCH_SLP_S0_L, GPIO_INT_EDGE_BOTH, \
power_signal_interrupt) \
- GPIO_INT(GPIO_S5_PGOOD, GPIO_INT_EDGE_BOTH, extpower_interrupt) \
+ GPIO_INT(GPIO_S5_PGOOD, GPIO_INT_EDGE_BOTH, baseboard_en_pwr_s0) \
GPIO_INT(GPIO_S0_PGOOD, GPIO_INT_EDGE_BOTH, power_signal_interrupt) \
GPIO_INT(GPIO_EC_PCORE_INT_ODL, GPIO_INT_EDGE_BOTH, \
power_signal_interrupt) \