linux-stable/drivers/usb
Mathias Nyman 0fe68f20e0 xhci: Show what USB release number the xHC supports from protocol capablity
[ Upstream commit 0ee78c1014 ]

xhci driver displays the supported xHC USB revision in a message during
driver load:

"Host supports USB 3.1 Enhanced SuperSpeed"

Get the USB minor revision number from the xhci protocol capability.
This will show the correct supported revisions for new USB 3.2 and later
hosts

Don't rely on the SBRN (serial bus revision number) register, it's often
showing 0x30 (USB3.0) for hosts that support USB 3.1

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-05-25 16:17:42 +02:00
..
atm License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
c67x00 c67x00-hcd: constify hc_driver structures 2017-07-30 07:26:52 -07:00
chipidea USB: chipidea: msm: fix ulpi-node lookup 2018-01-02 20:31:14 +01:00
class usb: cdc_acm: prevent race at write to acm while system resumes 2018-05-25 16:17:37 +02:00
common USB: ulpi: fix bus-node lookup 2017-12-10 13:40:44 +01:00
core USB: Accept bulk endpoints with 1024-byte maxpacket 2018-05-09 09:51:55 +02:00
dwc2 usb: dwc2: host: Fix transaction errors in host mode 2018-05-25 16:17:40 +02:00
dwc3 usb: dwc3: Makefile: fix link error on randconfig 2018-05-25 16:17:39 +02:00
early USB: early: Use new USB product ID and strings for DbC device 2017-11-21 09:49:21 +01:00
gadget usb: gadget: composite: fix incorrect handling of OS desc requests 2018-05-25 16:17:41 +02:00
host xhci: Show what USB release number the xHC supports from protocol capablity 2018-05-25 16:17:42 +02:00
image License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
isp1760 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
misc usb: ldusb: add PIDs for new CASSY devices supported by this driver 2018-02-28 10:19:43 +01:00
mon usb: usbmon: Read text within supplied buffer size 2018-03-19 08:42:46 +01:00
mtu3 usb: mtu3: fix error return code in ssusb_gadget_init() 2017-12-10 13:40:41 +01:00
musb usb: musb: trace: fix NULL pointer dereference in musb_g_tx() 2018-05-09 09:51:55 +02:00
phy usb: phy: tahvo: fix error handling in tahvo_usb_probe() 2017-12-10 13:40:40 +01:00
renesas_usbhs usb: renesas_usbhs: missed the "running" flag in usb_dmac with rx path 2018-02-28 10:19:43 +01:00
serial USB: serial: option: adding support for ublox R410M 2018-05-09 09:51:55 +02:00
storage USB: storage: Add JMicron bridge 152d:2567 to unusual_devs.h 2018-03-19 08:42:46 +01:00
typec usb: typec: ucsi: Increase command completion timeout value 2018-05-01 12:58:10 -07:00
usbip usbip: Correct maximum value of CONFIG_USBIP_VHCI_HC_PORTS 2018-05-25 16:17:41 +02:00
wusbcore License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig usb: Move USB_UHCI_BIG_ENDIAN_* out of USB_SUPPORT 2018-02-22 15:42:31 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
README
usb-skeleton.c USB: usb-skeleton: refactor endpoint retrieval 2017-03-23 13:54:08 +01:00

To understand all the Linux-USB framework, you'll use these resources:

    * This source code.  This is necessarily an evolving work, and
      includes kerneldoc that should help you get a current overview.
      ("make pdfdocs", and then look at "usb.pdf" for host side and
      "gadget.pdf" for peripheral side.)  Also, Documentation/usb has
      more information.

    * The USB 2.0 specification (from www.usb.org), with supplements
      such as those for USB OTG and the various device classes.
      The USB specification has a good overview chapter, and USB
      peripherals conform to the widely known "Chapter 9".

    * Chip specifications for USB controllers.  Examples include
      host controllers (on PCs, servers, and more); peripheral
      controllers (in devices with Linux firmware, like printers or
      cell phones); and hard-wired peripherals like Ethernet adapters.

    * Specifications for other protocols implemented by USB peripheral
      functions.  Some are vendor-specific; others are vendor-neutral
      but just standardized outside of the www.usb.org team.

Here is a list of what each subdirectory here is, and what is contained in
them.

core/		- This is for the core USB host code, including the
		  usbfs files and the hub class driver ("hub_wq").

host/		- This is for USB host controller drivers.  This
		  includes UHCI, OHCI, EHCI, and others that might
		  be used with more specialized "embedded" systems.

gadget/		- This is for USB peripheral controller drivers and
		  the various gadget drivers which talk to them.


Individual USB driver directories.  A new driver should be added to the
first subdirectory in the list below that it fits into.

image/		- This is for still image drivers, like scanners or
		  digital cameras.
../input/	- This is for any driver that uses the input subsystem,
		  like keyboard, mice, touchscreens, tablets, etc.
../media/	- This is for multimedia drivers, like video cameras,
		  radios, and any other drivers that talk to the v4l
		  subsystem.
../net/		- This is for network drivers.
serial/		- This is for USB to serial drivers.
storage/	- This is for USB mass-storage drivers.
class/		- This is for all USB device drivers that do not fit
		  into any of the above categories, and work for a range
		  of USB Class specified devices. 
misc/		- This is for all USB device drivers that do not fit
		  into any of the above categories.