[GIT PULL] USB / Thunderbolt driver fixes for 6.3-rc4

From: Greg KH
Date: Sun Mar 26 2023 - 09:37:05 EST


The following changes since commit fe15c26ee26efa11741a7b632e9f23b01aca4cc6:

Linux 6.3-rc1 (2023-03-05 14:52:03 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git tags/usb-6.3-rc4

for you to fetch changes up to 5021383242ada277a38bd052a4c12ed4707faccb:

usb: dwc2: fix a race, don't power off/on phy for dual-role mode (2023-03-23 19:13:16 +0100)

----------------------------------------------------------------
USB/Thunderbolt driver fixes for 6.3-rc4

Here are a small set of USB and Thunderbolt driver fixes for reported
problems and a documentation update, for 6.3-rc4.

Included in here are:
- documentation update for uvc gadget driver
- small thunderbolt driver fixes
- cdns3 driver fixes
- dwc3 driver fixes
- dwc2 driver fixes
- chipidea driver fixes
- typec driver fixes
- onboard_usb_hub device id updates
- quirk updates

All of these have been in linux-next with no reported problems.

Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------
Alexander Stein (1):
usb: misc: onboard-hub: add support for Microchip USB2517 USB 2.0 hub

Alvin Šipraga (1):
usb: gadget: u_audio: don't let userspace block driver unbind

Andy Shevchenko (1):
usb: gadget: Use correct endianness of the wLength field for WebUSB

Daniel Scally (1):
docs: usb: Add documentation for the UVC Gadget

Fabrice Gasnier (2):
usb: dwc2: fix a devres leak in hw_enable upon suspend resume
usb: dwc2: fix a race, don't power off/on phy for dual-role mode

Gil Fine (2):
thunderbolt: Add missing UNSET_INBOUND_SBTX for retimer access
thunderbolt: Limit USB3 bandwidth of certain Intel USB4 host routers

Greg Kroah-Hartman (1):
Merge tag 'thunderbolt-for-v6.3-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-linus

Hans de Goede (3):
usb: ucsi: Fix NULL pointer deref in ucsi_connector_change()
usb: ucsi: Fix ucsi->connector race
usb: ucsi_acpi: Increase the command completion timeout

Hongren Zheng (1):
MAINTAINERS: make me a reviewer of USB/IP

Mario Limonciello (2):
thunderbolt: Use const qualifier for `ring_interrupt_index`
thunderbolt: Disable interrupt auto clear for rings

Mika Westerberg (3):
thunderbolt: Fix memory leak in margining
thunderbolt: Call tb_check_quirks() after initializing adapters
thunderbolt: Use scale field when allocating USB3 bandwidth

Pawel Laszczak (3):
usb: cdnsp: Fixes issue with redundant Status Stage
usb: cdns3: Fix issue with using incorrect PCI device function
usb: cdnsp: changes PCI Device ID to fix conflict with CNDS3 driver

Sanjay R Mehta (1):
thunderbolt: Add quirk to disable CLx

Tom Rix (1):
thunderbolt: Rename shadowed variables bit to interrupt_bit and auto_clear_bit

Vincenzo Palazzo (1):
usb: dwc3: Fix a typo in field name

Wesley Cheng (1):
usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC

Xu Yang (4):
usb: typec: tcpm: fix create duplicate source-capabilities file
usb: typec: tcpm: fix warning when handle discover_identity message
usb: chipdea: core: fix return -EINVAL if request role is the same with current role
usb: chipidea: core: fix possible concurrent when switch role

Yaroslav Furman (1):
uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS583Gen 2

Ziyang Huang (1):
usb: dwc2: drd: fix inconsistent mode if role-switch-default-mode="host"

Documentation/usb/gadget_uvc.rst | 352 ++++++++++++++++++++++++++++++++++
Documentation/usb/index.rst | 1 +
MAINTAINERS | 1 +
drivers/thunderbolt/debugfs.c | 12 +-
drivers/thunderbolt/nhi.c | 49 +++--
drivers/thunderbolt/nhi_regs.h | 6 +-
drivers/thunderbolt/quirks.c | 44 +++++
drivers/thunderbolt/retimer.c | 23 ++-
drivers/thunderbolt/sb_regs.h | 1 +
drivers/thunderbolt/switch.c | 4 +-
drivers/thunderbolt/tb.h | 15 +-
drivers/thunderbolt/usb4.c | 53 ++++-
drivers/usb/cdns3/cdns3-pci-wrap.c | 5 +
drivers/usb/cdns3/cdnsp-ep0.c | 19 +-
drivers/usb/cdns3/cdnsp-pci.c | 27 ++-
drivers/usb/chipidea/ci.h | 2 +
drivers/usb/chipidea/core.c | 11 +-
drivers/usb/chipidea/otg.c | 5 +-
drivers/usb/dwc2/drd.c | 3 +-
drivers/usb/dwc2/gadget.c | 6 +-
drivers/usb/dwc2/platform.c | 19 +-
drivers/usb/dwc3/core.h | 2 +-
drivers/usb/dwc3/gadget.c | 14 +-
drivers/usb/gadget/composite.c | 7 +-
drivers/usb/gadget/function/u_audio.c | 2 +-
drivers/usb/misc/onboard_usb_hub.c | 1 +
drivers/usb/misc/onboard_usb_hub.h | 1 +
drivers/usb/storage/unusual_uas.h | 7 +
drivers/usb/typec/tcpm/tcpm.c | 28 ++-
drivers/usb/typec/ucsi/ucsi.c | 33 ++--
drivers/usb/typec/ucsi/ucsi_acpi.c | 2 +-
31 files changed, 625 insertions(+), 130 deletions(-)
create mode 100644 Documentation/usb/gadget_uvc.rst