Commit 10a1f26e authored by Badhri Jagan Sridharan's avatar Badhri Jagan Sridharan Committed by Will McVicker
Browse files

ANDROID: usb: typec: tcpm: Stay in SNK_TRY_WAIT_DEBOUNCE_CHECK_VBUS if Rp is seen



TD.4.7.3. Try SNK DRP Connect Try.SRC DRP fails. The compliance
tester mimics being a Try.SRC USB-C port.
The failure is due to TCPM exiting SNK_TRY_WAIT_DEBOUNCE_CHECK_VBUS
when VBUS is not present and when Rp is seen on the remote port and
getting into SRC_TRYWAIT.

From the spec:
The port shall then transition to Attached.SNK when the SNK.Rp state
is detected on exactly one of the CC1 or CC2 pins for at least
tTryCCDebounce and VBUS is detected. Alternatively, the port shall
transition to TryWait.SRC if SNK.Rp state is not detected for
tTryCCDebounce.

Bug: 158724104
Signed-off-by: default avatarBadhri Jagan Sridharan <badhri@google.com>
Change-Id: Iac8221408797903b451d499db4dca16467bca794
(cherry picked from commit ee1142f3cbf23af75db98d235b5cbf950421ad9c)
(cherry picked from commit a723b4dd4fb4e44d4925ac52b1cca512f47bb1ab)
Signed-off-by: default avatarWill McVicker <willmcvicker@google.com>
parent d7bfa096
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment