linux/drivers/usb
Wu Liang feng 077b494a0e usb: dwc3: add rockchip specific glue layer
Add rockchip specific glue layer to support USB3 Peripheral mode
and Host mode on rockchip platforms (e.g. rk3399).

The DesignWare USB3 integrated in rockchip SoCs is a configurable
IP Core which can be instantiated as Dual-Role Device (DRD), Host
Only (XHCI) and Peripheral Only configurations.

We use extcon notifier to manage usb cable detection and mode switch.
Enable DWC3 PM runtime auto suspend to allow core enter runtime_suspend
if USB cable is dettached. For host mode, it requires to keep whole
DWC3 controller in reset state to hold pipe power state in P2 before
initializing PHY. And it need to reconfigure USB PHY interface of DWC3
core after deassert DWC3 controller reset.

The current driver supports Host only and Peripheral Only well, for
now, we will add support for OTG after we have it all stabilized.

Change-Id: I821dd19eedec73e6517f0cca184f939a9f313904
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
2016-08-17 18:36:12 +08:00
..
atm USB: atm: cxacru: fix blank line after declaration 2015-07-22 14:55:22 -07:00
c67x00
chipidea usb: chipidea: otg: change workqueue ci_otg as freezable 2016-03-09 15:34:55 -08:00
class USB: cdc-acm: more sanity checking 2016-04-12 09:08:41 -07:00
common usb: common: otg-fsm: add license to usb-otg-fsm 2016-07-27 09:47:28 -07:00
core Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2016-07-17 12:18:15 +08:00
dwc_otg_310 usb: dwc_otg_310: Fixed that otg-host cannot transport LS device data. 2016-06-08 10:37:11 +08:00
dwc2 usb: dwc2: fix regression on big-endian PowerPC/ARM systems 2016-07-27 09:47:28 -07:00
dwc3 usb: dwc3: add rockchip specific glue layer 2016-08-17 18:36:12 +08:00
early
gadget Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2016-07-25 19:37:09 +08:00
host UPSTREAM: xhci: fix platform quirks overwrite regression in 4.7-rc1 2016-08-17 18:35:51 +08:00
image scsi: Do not set cmd_per_lun to 1 in the host template 2015-05-31 18:06:28 -07:00
isp1760 usb: isp1760: udc: add ep capabilities support 2015-08-04 12:26:55 -05:00
misc usb: misc: usbtest: fix pattern tests for scatterlists. 2016-06-01 12:15:51 -07:00
mon
musb usb: musb: host: correct cppi dma channel for isoch transfer 2016-07-11 09:31:13 -07:00
phy Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android 2016-02-29 10:18:54 +08:00
renesas_usbhs usb: renesas_usbhs: fix to avoid using a disabled ep in usbhsg_queue_done() 2016-04-20 15:42:11 +09:00
serial Merge branch 'linux-linaro-lsk-v4.4-android' of git://git.linaro.org/kernel/linux-linaro-stable.git 2016-07-25 19:37:09 +08:00
storage USB: uas: Fix slave queue_depth not being set 2016-07-11 09:31:12 -07:00
usbip USB: usbip: fix potential out-of-bounds write 2016-05-04 14:48:50 -07:00
wusbcore rk: revert to v3.10 2015-11-11 15:57:28 +08:00
Kconfig usb: dwc_otg: Ported "drivers/usb/dwc_otg_310" from kernel-3.10 2016-02-24 09:42:45 +08:00
Makefile usb: dwc_otg: Ported "drivers/usb/dwc_otg_310" from kernel-3.10 2016-02-24 09:42:45 +08: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.