diff options
author | Scott Collyer <scollyer@google.com> | 2022-11-15 15:11:37 -0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-11-29 00:45:31 +0000 |
commit | 6df1ce73533c970762dfef6c878523d01648f846 (patch) | |
tree | 43cb509eb3148b625c219a1a358455847e0e358d /zephyr/test/drivers/Kconfig | |
parent | 1fc2ef1334bb550a558fedf6d9ed824be3272c41 (diff) | |
download | chrome-ec-6df1ce73533c970762dfef6c878523d01648f846.tar.gz |
zephyr: test: Add tests for USB_Enter/DATA_RESET messages
This CL adds support for USB_Enter and DATA_RESET messages to the
tcpc emmulator. In addition it adds a test suite for USB4 mode.
The usbc_tbt_mode test suite was used as a starting reference.
BUG=b:260095516
BRANCH=none
TEST=manual
twister -c -v -i -s <path>/drivers/drivers.usbc_usb4_mode and
verify that the tests pass.
Signed-off-by: Scott Collyer <scollyer@google.com>
Change-Id: I34e104a1e53b1540b20451fbd0631bbd9d42559b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4029517
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Commit-Queue: Scott Collyer <scollyer@chromium.org>
Tested-by: Scott Collyer <scollyer@chromium.org>
Reviewed-by: Abe Levkoy <alevkoy@chromium.org>
Diffstat (limited to 'zephyr/test/drivers/Kconfig')
-rw-r--r-- | zephyr/test/drivers/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/test/drivers/Kconfig b/zephyr/test/drivers/Kconfig index 0994444f23..8cc1131193 100644 --- a/zephyr/test/drivers/Kconfig +++ b/zephyr/test/drivers/Kconfig @@ -118,6 +118,11 @@ config LINK_TEST_SUITE_USBC_SVDM_DFP_ONLY config LINK_TEST_SUITE_USBC_TBT_MODE bool "Link and test the usbc_tbt_mode tests" +config LINK_TEST_SUITE_USBC_USB4_MODE + bool "Link and test the usbc_usb4_mode tests" + help + Include the usbc_usb4 test suite in the binary. + config LINK_TEST_SUITE_USBC_VCONN_SWAP bool "Link and test the usbc_vconn_swap tests" help |