diff options
author | Badhri Jagan Sridharan <[email protected]> | 2020-10-28 23:31:35 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-11-18 12:57:49 +0100 |
commit | f321a02caebdd0c56e167610cda2fa148cd96e8b (patch) | |
tree | 767b926ec993ea0ae3f449e43a2ef4593d594697 /scripts/gdb/linux/config.py | |
parent | 2fc58b36e919902ae2f17531783d8debadcc2a27 (diff) |
usb: typec: tcpm: Implement enabling Auto Discharge disconnect support
TCPCI spec allows TCPC hardware to autonomously discharge the vbus
capacitance upon disconnect. The expectation is that the TCPM enables
AutoDischargeDisconnect while entering SNK/SRC_ATTACHED states. Hardware
then automously discharges vbus when the vbus falls below a certain
threshold i.e. VBUS_SINK_DISCONNECT_THRESHOLD.
Apart from enabling the vbus discharge circuit, AutoDischargeDisconnect
is also used a flag to move TCPCI based TCPC implementations into
Attached.Snk/Attached.Src state as mentioned in
Figure 4-15. TCPC State Diagram before a Connection of the
USB Type-C Port Controller Interface Specification.
In such TCPC implementations, setting AutoDischargeDisconnect would
prevent TCPC into entering "Connection_Invalid" state as well.
Signed-off-by: Badhri Jagan Sridharan <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/config.py')
0 files changed, 0 insertions, 0 deletions