android_kernel_msm-6.1_noth.../include/linux/usb
Badhri Jagan Sridharan f321a02cae 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 <badhri@google.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20201029063138.1429760-8-badhri@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-11-18 12:57:49 +01:00
..
audio-v2.h
audio-v3.h
audio.h
c67x00.h
ccid.h
cdc-wdm.h
cdc.h
cdc_ncm.h
ch9.h
chipidea.h
composite.h usb: fix kernel-doc markups 2020-10-28 13:18:56 +01:00
ehci-dbgp.h
ehci_def.h
ehci_pdriver.h
ezusb.h
functionfs.h
g_hid.h
gadget.h USB: UDC: Expand device model API interface 2020-10-02 09:57:41 +03:00
gadget_configfs.h
hcd.h usb: hcd.h: Remove RUN_CONTEXT 2020-11-14 11:24:49 +01:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
musb-ux500.h
musb.h
net2280.h
of.h
ohci_pdriver.h
otg-fsm.h
otg.h
pd.h usb: typec: tcpm: Add support for Sink Fast Role SWAP(FRS) 2020-10-08 09:28:22 +02:00
pd_ado.h
pd_bdo.h
pd_ext_sdb.h
pd_vdo.h usb: pd: Add captive Type C cable type 2020-11-18 12:55:46 +01:00
phy.h
phy_companion.h
quirks.h
r8a66597.h
renesas_usbhs.h
rndis_host.h
role.h
serial.h
sl811.h
storage.h
tcpm.h usb: typec: tcpm: Implement enabling Auto Discharge disconnect support 2020-11-18 12:57:49 +01:00
tegra_usb_phy.h
typec.h usb: typec: Add number of altmodes partner attr 2020-11-18 12:55:46 +01:00
typec_altmode.h usb: docs: document altmode register/unregister functions 2020-10-15 07:49:48 +02:00
typec_dp.h
typec_mux.h
typec_tbt.h usb: typec: Remove one bit support for the Thunderbolt rounded/non-rounded cable 2020-11-18 12:53:45 +01:00
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h
xhci-dbgp.h