summaryrefslogtreecommitdiff
path: root/zephyr/projects
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2022-08-31 19:09:15 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-09-09 00:10:39 +0000
commit5f01e4b0c7be9124b2aa150ef92368a49df1b9e6 (patch)
tree69cc2472c986066aec9a89f2ef90859430f61211 /zephyr/projects
parent862f688c797dcd05239237fbf30eb7ef3e730803 (diff)
downloadchrome-ec-5f01e4b0c7be9124b2aa150ef92368a49df1b9e6.tar.gz
rex: Fix the pin type for usb_c0_rt_3p3_sx_en
This GPIO was being set as an open drain output, but it should be a push-pull. This CL modifies its entry in generated.dts. There is a TODO to review the EC GPIO input spreadsheet so that generated.dts will not require edits. This change is being added now to support power on activies. BRANCH=none BUG=b:244441996 TEST=zmake build rex. Verified that HB is powered up when usb_c0_rt_3p3_sx_en is driven high. Signed-off-by: Scott Collyer <scollyer@google.com> Change-Id: Ia378a5772a41214c0f49de053d53d5af82c104e8 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3873651 Reviewed-by: Madhu P <mparuchuri@google.com> Reviewed-by: Fabio Baltieri <fabiobaltieri@google.com> Tested-by: Scott Collyer <scollyer@chromium.org> Commit-Queue: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'zephyr/projects')
-rw-r--r--zephyr/projects/rex/generated.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/projects/rex/generated.dts b/zephyr/projects/rex/generated.dts
index 4765516fca..a8b1f7f709 100644
--- a/zephyr/projects/rex/generated.dts
+++ b/zephyr/projects/rex/generated.dts
@@ -217,7 +217,7 @@
enum-name = "GPIO_USB_C0_PPC_INT_ODL";
};
gpio_usb_c0_rt_3p3_sx_en: usb_c0_rt_3p3_sx_en {
- gpios = <&gpio0 3 GPIO_ODR_HIGH>;
+ gpios = <&gpio0 3 GPIO_OUTPUT_LOW>;
};
gpio_usb_c0_rt_int_odl: usb_c0_rt_int_odl {
gpios = <&gpioa 0 GPIO_INPUT>;