android_kernel_samsung_sm8650/include/linux/usb
Wesley Cheng 8280de6ab0 usb: gadget: composite: Split composite reset and disconnect
Add a specific composite reset API to differentiate between disconnect and
reset events.  This is needed for adjusting the current draw accordingly
based on the USB battery charging specification.  The device is only allowed
to draw the 500/900 mA (HS/SS) while in the CONFIGURED state, and only 100 mA
in the connected and UNCONFIGURED state.

Reviewed-by: Peter Chen <peter.chen@nxp.com>
Signed-off-by: Wesley Cheng <wcheng@codeaurora.org>
Link: https://lore.kernel.org/r/1609283011-21997-3-git-send-email-wcheng@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-01-04 16:45:50 +01:00
..
audio-v2.h
audio-v3.h
audio.h
c67x00.h
ccid.h
cdc_ncm.h
cdc-wdm.h
cdc.h
ch9.h
chipidea.h
composite.h usb: gadget: composite: Split composite reset and disconnect 2021-01-04 16:45:50 +01:00
ehci_def.h
ehci_pdriver.h
ehci-dbgp.h
ezusb.h
functionfs.h
g_hid.h
gadget_configfs.h
gadget.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_ado.h
pd_bdo.h
pd_ext_sdb.h
pd_vdo.h usb: pd: DFP product types 2020-11-26 09:18:56 +01:00
pd.h USB: typec: tcpm: Add a 30ms room for tPSSourceOn in PR_SWAP 2020-12-11 10:51:38 +01:00
phy_companion.h
phy.h
quirks.h
r8a66597.h
r8152.h net/usb/r8153_ecm: support ECM mode for RTL8153 2020-11-05 16:58:48 -08:00
renesas_usbhs.h
rndis_host.h
role.h
serial.h USB: serial: remove write wait queue 2020-11-04 11:11:29 +01:00
sl811.h
storage.h
tcpm.h usb: typec: tcpm: Introduce vsafe0v for vbus 2020-12-09 14:49:54 +01:00
tegra_usb_phy.h
typec_altmode.h
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
typec.h usb: typec: Add plug num_altmodes sysfs attr 2020-11-18 13:15:58 +01:00
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h net: usb: switch to dev_get_tstats64 and remove usbnet_get_stats64 alias 2020-11-12 14:58:27 -08:00
xhci-dbgp.h