diff options
author | Keith Short <keithshort@chromium.org> | 2023-04-13 09:03:03 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-04-14 21:41:32 +0000 |
commit | c66818a5cc3228c298b0b819d612a5080eec872c (patch) | |
tree | 503aef3d595fc4ebce1c33510367ac8135775915 | |
parent | bfebe3b368144aeb86342cfe02252cadd9f36334 (diff) | |
download | chrome-ec-c66818a5cc3228c298b0b819d612a5080eec872c.tar.gz |
zephyr: test drivers: Fix GPIO mismatch
Make the GPIO flags match for the PPC interrupt in the named-gpios node
and the ppc device node. Eventually the named-gpios node will be
eliminated, but it is currently needed to configure the GPIO pin.
BUG=none
BRANCH=none
TEST=twister
Change-Id: Iea28bdf5c29386f19576ad64ed149120a08f0f74
Signed-off-by: Keith Short <keithshort@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4426792
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
-rw-r--r-- | zephyr/test/drivers/boards/native_posix.overlay | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/test/drivers/boards/native_posix.overlay b/zephyr/test/drivers/boards/native_posix.overlay index d4aefdd4cd..eab608fc47 100644 --- a/zephyr/test/drivers/boards/native_posix.overlay +++ b/zephyr/test/drivers/boards/native_posix.overlay @@ -172,7 +172,7 @@ gpios = <&gpio0 13 GPIO_INPUT>; }; gpio_usb_c0_ppc_int: usb_c0_ppc_int { - gpios = <&gpio0 14 GPIO_INPUT>; + gpios = <&gpio0 14 (GPIO_INPUT | GPIO_ACTIVE_LOW)>; }; gpio_switchcap_pg_int_l: switchcap_pg_int_l { gpios = <&gpio0 15 (GPIO_OUTPUT | GPIO_INPUT)>; |