summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Yilun Lin <yllin@chromium.org>2022-12-02 10:06:18 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-12-04 15:22:52 +0000
commitf29bf6061eb84579864323c64d4cdd954dc5a4a8 (patch)
tree3d462065b4a57429cbfa4302b047d21e19c0f55d
parent154327acd265e3c2242676301773f32e55c0c744 (diff)
downloadchrome-ec-f29bf6061eb84579864323c64d4cdd954dc5a4a8.tar.gz
corsola: fix spi_cs0 interrupt flag
The interrupt should be triggered with GPIO_INT_EDGE_FALLING only. BUG=none TEST=boot tentacruel BRANCH=none Change-Id: I039b6bac228a017434b918169562ee349c972c16 Signed-off-by: Eric Yilun Lin <yllin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4074804 Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com> Reviewed-by: Ting Shen <phoenixshen@chromium.org> Tested-by: Eric Yilun Lin <yllin@google.com> Commit-Queue: Eric Yilun Lin <yllin@google.com>
-rw-r--r--zephyr/program/corsola/ite_interrupts.dtsi2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/program/corsola/ite_interrupts.dtsi b/zephyr/program/corsola/ite_interrupts.dtsi
index 3caf4660ae..b99effb9eb 100644
--- a/zephyr/program/corsola/ite_interrupts.dtsi
+++ b/zephyr/program/corsola/ite_interrupts.dtsi
@@ -83,7 +83,7 @@
};
int_spi0_cs: spi0_cs {
irq-pin = <&spi0_cs>;
- flags = <GPIO_INT_EDGE_BOTH>;
+ flags = <GPIO_INT_EDGE_FALLING>;
handler = "spi_event";
};
int_x_ec_gpio2: x_ec_gpio2 {