summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2023-02-15 11:59:22 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-02-15 05:45:00 +0000
commit2d45809d07944fe2488f37b644eb277e6ef35101 (patch)
treec90a7c383625c155f1aca314dba033a67051e524
parent05046f71803cb03f6fffbfdbb88ed9c51e8724ff (diff)
downloadchrome-ec-2d45809d07944fe2488f37b644eb277e6ef35101.tar.gz
geralt: fix ap_xhci_init_done interrupt flag
The flag has to be GPIO_INT_EDGE_BOTH. BUG=b:269059211 TEST=depthcharge detects usb devices BRANCH=none Change-Id: Iead411e3175c4dece70c98fa5aaef4d0ceff61c5 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4253128 Commit-Queue: Ting Shen <phoenixshen@chromium.org> Auto-Submit: Eric Yilun Lin <yllin@google.com> Tested-by: Eric Yilun Lin <yllin@google.com> Reviewed-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r--zephyr/program/geralt/interrupts.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/program/geralt/interrupts.dtsi b/zephyr/program/geralt/interrupts.dtsi
index 308a707b52..dd48aa8977 100644
--- a/zephyr/program/geralt/interrupts.dtsi
+++ b/zephyr/program/geralt/interrupts.dtsi
@@ -98,7 +98,7 @@
};
int_ap_xhci_init_done: ap-xhci-init-done {
irq-pin = <&ap_xhci_init_done>;
- flags = <GPIO_INT_EDGE_RISING>;
+ flags = <GPIO_INT_EDGE_BOTH>;
handler = "xhci_interrupt";
};
};