linux/drivers/usb
Peter Chen 1bb90cf046 usb: core: hub: controller driver name may be NULL
The controller driver may be NULL if the controller device
is the middle device between platform device and roothub.
This middle device may not need a device driver due to all
hardware control can be at platform device driver, this
platform device is usually a dual-role USB controller device.

The benefit of using this middle device is we can keep both
controller device's private data (known as struct usb_hcd)
for USB core use, and platform device's private data for
platform driver use.

Signed-off-by: Peter Chen <peter.chen@nxp.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-22 15:56:53 +02:00
..
atm USB: atm: remove unneeded MODULE_VERSION() usage 2017-07-22 15:56:53 +02:00
c67x00
chipidea USB: chipidea: remove unneeded MODULE_VERSION() usage 2017-07-22 15:56:53 +02:00
class USB: cdc-wdm: remove unneeded DRIVER_VERSION define 2017-07-22 15:56:53 +02:00
common usb: Convert to using %pOF instead of full_name 2017-07-22 15:56:53 +02:00
core usb: core: hub: controller driver name may be NULL 2017-07-22 15:56:53 +02:00
dwc2 usb: dwc2: add support for the DWC2 controller on Meson8 SoCs 2017-06-02 11:27:36 +03:00
dwc3 Power management updates for v4.13-rc1 2017-07-04 13:39:41 -07:00
early usb/early: Remove trace_printk() callers in xhci-dbc 2017-06-13 10:54:40 +02:00
gadget USB: gadget: remove unneeded MODULE_VERSION() usage 2017-07-22 15:56:53 +02:00
host usb: Convert to using %pOF instead of full_name 2017-07-22 15:56:53 +02:00
image USB: microtek: remove unneeded DRIVER_VERSION macro 2017-07-22 15:56:53 +02:00
isp1760 usb: isp1760: compress return logic into one line 2017-07-17 13:13:44 +02:00
misc USB: misc: remove unneeded MODULE_VERSION() usage 2017-07-22 15:56:52 +02:00
mon
mtu3 usb: Convert to using %pOF instead of full_name 2017-07-22 15:56:53 +02:00
musb usb: musb: compress return logic into one line 2017-06-27 17:55:06 +02:00
phy usb: Convert to using %pOF instead of full_name 2017-07-22 15:56:53 +02:00
renesas_usbhs usb: renesas_usbhs: make array type_array static const 2017-07-17 13:13:44 +02:00
serial USB: serial: safe_serial: move __inline__ before return type 2017-07-12 16:26:04 -07:00
storage USB: realtek_cr: remove unneeded MODULE_VERSION() usage 2017-07-22 15:56:53 +02:00
typec Merge (most of) tag 'mfd-next-4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd 2017-07-07 13:30:05 -07:00
usbip USB: usbip: remove unneeded MODULE_VERSION() usage 2017-07-22 15:56:53 +02:00
wusbcore
Kconfig
Makefile USB patches for 4.12-rc1 2017-05-04 18:03:51 -07:00
README
usb-skeleton.c

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.