diff options
author | Jason Yuan <jasonyuan@google.com> | 2023-02-15 15:56:56 -0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-24 21:50:09 +0000 |
commit | 38f07aec87e712f99393ebcfc362e56501027be0 (patch) | |
tree | 5d4aebfd2f54686b1bbd456fbac3e3c509aa7d23 /include/usb_pd_tcpm.h | |
parent | 4ac59af42a864d29e5172426c1b533973e0d14ee (diff) | |
download | chrome-ec-38f07aec87e712f99393ebcfc362e56501027be0.tar.gz |
zephyr: move tcpc_get_alert_status to shim
tcpc_get_alert_status is similar between multiple different projects.
They have been now merged into common code.
BUG=b:254148652
TEST=twister, usbc charging on villager, lazor
BRANCH=none
LOW_COVERAGE_REASON=the change from hardcoding to rst-gpios in board
specific code is uncovered. The common code is 100%
covered. This CL increases the absolute coverage.
Change-Id: I3136bd5b600dbb385547e06490dcbf8815b85b85
Signed-off-by: Jason Yuan <jasonyuan@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4257651
Commit-Queue: zhi cheng yuan <jasonyuan@chromium.org>
Auto-Submit: zhi cheng yuan <jasonyuan@chromium.org>
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: zhi cheng yuan <jasonyuan@chromium.org>
Diffstat (limited to 'include/usb_pd_tcpm.h')
-rw-r--r-- | include/usb_pd_tcpm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb_pd_tcpm.h b/include/usb_pd_tcpm.h index 1888002a85..ed0b95478c 100644 --- a/include/usb_pd_tcpm.h +++ b/include/usb_pd_tcpm.h @@ -587,6 +587,7 @@ struct tcpc_config_t { uint32_t flags; #ifdef CONFIG_PLATFORM_EC_TCPC_INTERRUPT struct gpio_dt_spec irq_gpio; + struct gpio_dt_spec rst_gpio; #else enum gpio_signal alert_signal; #endif |