Skip to content

USB: Enable eUSB2 double isochronous bandwidth

Mathias Nyman linux-media linux-usb 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xhci: Add host support for eUSB2 double isochronous bandwidth devicesdrivers/usb/host/xhci-caps.h drivers/usb/host/xhci-mem.c drivers/usb/host/xhci-ring.c +2 more+89 -170 replies
2/3USB: core: support eUSB2 double bandwidth large isoc URB framesdrivers/usb/core/urb.c+14 -42 replies
3/3media: uvcvideo: eUSB2 double isochronous bandwidth supportdrivers/media/usb/uvc/uvc_video.c+5 -03 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSakari Ailus
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] USB: Enable eUSB2 double isochronous bandwidth

This series enables support for eUSB2 Double Isochronous IN Bandwidth uvc devices specified in 'USB 2.0 Double Isochronous IN Bandwidth' ECN.

In short it adds support for new integrated USB2 webcams that can send twice the data compared to conventional USB2 webcams.

These devices are identified by the device descriptor bcdUSB 0x0220 value. They have an additional eUSB2 Isochronous Endpoint Companion Descriptor, and a zero max packet size in regular isoc endpoint descriptor. Support for parsing that new descriptor was added in commit

c749f058b437 ("USB: core: Add eUSB2 descriptor and parsing in USB core")

This series adds support to uvc, usb core, and xhci to identify eUSB2 double isoc devices, and allow and set proper max packet, iso frame desc sizes, bytes per interval, and other values in URBs and xHCI endpoint contexts needed to support the double data rates for eUSB2 double isoc devices.

Patch 1/3 containing the xhci changes was previously sent as part of other xhci features, but was dropped.
It now contains the USB_SPEED_HIGH check disussed with Thinh Nguyen.

Thanks
Mathias

Amardeep Rai (2):
xhci: Add host support for eUSB2 double isochronous bandwidth devices
USB: core: support eUSB2 double bandwidth large isoc URB frames

Tao Q Tao (1):
media: uvcvideo: eUSB2 double isochronous bandwidth support

 drivers/media/usb/uvc/uvc_video.c |  5 +++
 drivers/usb/core/urb.c            | 18 +++++++--
 drivers/usb/host/xhci-caps.h      |  2 +
 drivers/usb/host/xhci-mem.c       | 62 ++++++++++++++++++++++++-------
 drivers/usb/host/xhci-ring.c      |  6 +--
 drivers/usb/host/xhci.c           | 16 +++++++-
 drivers/usb/host/xhci.h           | 20 ++++++++++
 7 files changed, 108 insertions(+), 21 deletions(-)
Signature · 1 line
2.43.0