linux-stable/include/linux/usb
Kyle Tso 3c5960c055 usb: typec: Manage SVDM version
PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10
  6.4.4.2.3 Structured VDM Version
  "The Structured VDM Version field of the Discover Identity Command
  sent and received during VDM discovery Shall be used to determine the
  lowest common Structured VDM Version supported by the Port Partners or
  Cable Plug and Shall continue to operate using this Specification
  Revision until they are Detached."

Add a variable in typec_capability to specify the highest SVDM version
supported by the port and another variable in typec_partner to cache the
negotiated SVDM version between the port and the partner.

Also add setter/getter functions for the negotiated SVDM version.

Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Kyle Tso <kyletso@google.com>
Link: https://lore.kernel.org/r/20210205033415.3320439-2-kyletso@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-02-09 11:48:54 +01:00
..
audio-v2.h
audio-v3.h
audio.h
c67x00.h
ccid.h
cdc-wdm.h
cdc.h
cdc_ncm.h
ch9.h usb: common: Parse for USB SSP genXxY 2021-02-06 14:21:21 +01:00
chipidea.h usb: chipidea: tegra: Support host mode 2021-01-13 11:26:34 +01:00
composite.h usb: gadget: composite: Split composite reset and disconnect 2021-01-04 16:45:50 +01:00
ehci-dbgp.h
ehci_def.h
ehci_pdriver.h
ezusb.h
functionfs.h
g_hid.h
gadget.h usb: gadget: Introduce udc_set_ssp_rate() for SSP 2021-01-18 18:40:08 +01:00
gadget_configfs.h
hcd.h
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: Create legacy PDOs for PD2 connection 2021-01-25 11:33:59 +01:00
pd_ado.h
pd_bdo.h
pd_ext_sdb.h
pd_vdo.h usb: pd: Reland VDO definitions of PD2.0 2021-02-04 07:27:22 +01:00
phy.h
phy_companion.h
quirks.h
r8a66597.h
r8152.h
renesas_usbhs.h
rndis_host.h
role.h
serial.h
sl811.h
storage.h
tcpm.h usb: typec: tcpm: Add Callback to Usb Communication capable partner 2021-02-02 17:38:05 +01:00
tegra_usb_phy.h usb: phy: tegra: Support waking up from a low power mode 2021-01-13 11:26:34 +01:00
typec.h usb: typec: Manage SVDM version 2021-02-09 11:48:54 +01:00
typec_altmode.h usb: typec: Manage SVDM version 2021-02-09 11:48:54 +01: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 net: usb: cdc_ncm: don't spew notifications 2021-01-20 09:01:55 -08:00
xhci-dbgp.h