linux/include/linux/usb
Heikki Krogerus 2140a952c4 usb: typec: Add attribute file showing the USB Modes of the partner
This attribute file shows the supported USB modes (USB 2.0,
USB 3.0 and USB4) of the partner, and the currently active
mode.

The active mode is determined primarily by checking the
speed of the enumerated USB device. When USB Power Delivery
is supported, the active USB mode should be always the mode
that was used with the Enter_USB Message, regardless of the
result of the USB enumeration. The port drivers can
separately assign the mode with a dedicated API.

If USB Power Delivery Identity is supplied for the partner
device, the supported modes are extracted from it.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20241016131834.898599-3-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-17 08:41:45 +02:00
..
audio-v2.h usb: audio-v2: Correct comments for struct uac_clock_selector_descriptor 2024-01-27 16:53:38 -08:00
audio-v3.h
audio.h
c67x00.h
ccid.h
cdc_ncm.h
cdc-wdm.h
cdc.h
ch9.h USB: Remove remnants of Wireless USB and UWB 2023-08-09 14:17:06 +02:00
chipidea.h usb: chipidea: add CI_HDRC_HAS_SHORT_PKT_LIMIT flag 2024-10-04 15:13:58 +02:00
composite.h usb: gadget: Increase max configuration interface to 32 2024-08-07 12:50:36 +02:00
ehci_def.h
ehci_pdriver.h
ehci-dbgp.h
ezusb.h
func_utils.h usb: gadget: function: move u_f.h to include/linux/usb/func_utils.h 2024-09-03 09:57:08 +02:00
functionfs.h
g_hid.h
gadget_configfs.h usb: gadget: configfs: Constify struct config_item_type 2024-08-13 10:38:34 +02:00
gadget.h usb: gadget: Use u16 types for 16-bit fields 2024-07-10 13:56:22 +02:00
hcd.h workqueue: BH workqueue conversions for v6.9 2024-03-11 13:05:19 -07:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
ljca.h usb: Add support for Intel LJCA device 2023-10-11 11:33:37 +02:00
m66592.h
midi-v2.h ALSA: usb-audio: Use __le16 for 16bit USB descriptor fields 2023-06-05 16:48:54 +02:00
musb-ux500.h
musb.h
net2280.h
of.h usb: core: Set connect_type of ports based on DT node 2024-03-05 13:28:46 +00:00
ohci_pdriver.h
onboard_dev.h usb: misc: onboard_hub: rename to onboard_dev 2024-03-27 07:57:16 +01:00
otg-fsm.h
otg.h
pd_ado.h
pd_bdo.h
pd_ext_sdb.h
pd_vdo.h usb: typec: pd: no opencoding of FIELD_GET 2024-03-05 13:09:59 +00:00
pd.h usb: typec: tcpm: add control message support to sop' 2024-01-27 17:38:25 -08:00
phy_companion.h
phy.h Revert "usb: phy: add usb phy notify port status API" 2023-11-06 14:47:36 +01:00
quirks.h usb: new quirk to reduce the SET_ADDRESS request timeout 2023-11-23 12:32:44 +00:00
r8a66597.h
r8152.h r8152: add vendor/device ID pair for ASUS USB-C2500 2023-12-06 10:38:38 +01:00
renesas_usbhs.h usb: renesas_usbhs: Remove renesas_usbhs_get_info() wrapper 2024-04-18 16:47:49 +02:00
rndis_host.h
role.h Revert "usb: common: usb-conn-gpio: Set last role to unknown before initial detection" 2023-06-15 11:30:35 +02:00
rzv2m_usb3drd.h
serial.h USB: serial: set driver owner when registering drivers 2024-08-26 15:28:24 +02:00
sl811.h
storage.h
tcpci.h usb: typec: tcpci: use GENMASK() for TCPC_TRANSMIT register fields 2024-08-07 12:49:30 +02:00
tcpm.h usb: typec: tcpm: add support to set tcpc connector orientatition 2024-03-05 13:29:30 +00:00
tegra_usb_phy.h usb: phy: tegra: Replace of_gpio.h by proper one 2024-05-10 10:36:31 +01:00
typec_altmode.h usb: typec: altmodes: add svdm version info for typec cables 2024-01-27 17:38:25 -08:00
typec_dp.h usb: typec: pd: no opencoding of FIELD_GET 2024-03-05 13:09:59 +00:00
typec_mux.h usb: typec: mux: fix static inline syntax error 2023-06-01 07:09:45 +01:00
typec_retimer.h
typec_tbt.h USB: typec: no opencoding FIELD_GET 2024-03-02 20:20:41 +01:00
typec.h usb: typec: Add attribute file showing the USB Modes of the partner 2024-10-17 08:41:45 +02:00
uas.h
ulpi.h
usb_phy_generic.h
usb338x.h
usbnet.h usbnet: fix cyclical race on disconnect with work queue 2024-09-26 10:54:42 +02:00
uvc.h
webusb.h
xhci-dbgp.h