summaryrefslogtreecommitdiff
path: root/test/usb_tcpmv2_td_pd_ll_e3.c
diff options
context:
space:
mode:
authorEdward Hill <ecgh@chromium.org>2020-12-17 07:12:34 -0700
committerCommit Bot <commit-bot@chromium.org>2020-12-17 17:38:00 +0000
commitf778157aa60818bc4f92e14f7f8b545d3d59a3fa (patch)
tree7ec78b3af287bfe24047548f8f4a7cdda20ae305 /test/usb_tcpmv2_td_pd_ll_e3.c
parent10b5f5f06a7574ac0f60d8ff09c8c774d02ed0e7 (diff)
downloadchrome-ec-f778157aa60818bc4f92e14f7f8b545d3d59a3fa.tar.gz
TCPMv2: Unit Test TD.PD.SRC3.E26
Add PD compliance test TD.PD.SRC3.E26.Soft_Reset sent regardless of Rp value. As Consumer (UFP), the Tester forces the UUT to send Soft_Reset and verifies Soft_Reset is sent regardless of the Rp value is SinkTxOK or SinkTxNG. BUG=b:161835483 BRANCH=none TEST=make run-usb_tcpmv2_compliance Signed-off-by: Edward Hill <ecgh@chromium.org> Change-Id: I2bdd61abad611edc41400f6b96d65bd840e70e6e Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2595539 Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'test/usb_tcpmv2_td_pd_ll_e3.c')
-rw-r--r--test/usb_tcpmv2_td_pd_ll_e3.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/usb_tcpmv2_td_pd_ll_e3.c b/test/usb_tcpmv2_td_pd_ll_e3.c
index d2aedf2b9d..7bc86cd1e7 100644
--- a/test/usb_tcpmv2_td_pd_ll_e3.c
+++ b/test/usb_tcpmv2_td_pd_ll_e3.c
@@ -24,14 +24,6 @@ static int td_pd_ll_e3(enum pd_data_role data_role)
TEST_EQ(tcpci_startup(), EC_SUCCESS, "%d");
/*
- * Set Vbus to Safe0V
- */
- mock_tcpci_set_reg_bits(TCPC_REG_EXT_STATUS,
- TCPC_REG_EXT_STATUS_SAFE0V);
- mock_set_alert(TCPC_REG_ALERT_EXT_STATUS);
- task_wait_event(10 * SECOND);
-
- /*
* a) Run PROC.PD.E1 Bring-up according to the UUT role.
*/
TEST_EQ(proc_pd_e1(data_role), EC_SUCCESS, "%d");