linux/drivers/usb
Stefan Agner d95b363800 usb: misc: usb3503: make sure reset is low for at least 100us
commit b8626f1dc2 upstream.

When using a GPIO which is high by default, and initialize the
driver in USB Hub mode, initialization fails with:
  [  111.757794] usb3503 0-0008: SP_ILOCK failed (-5)

The reason seems to be that the chip is not properly reset.
Probe does initialize reset low, however some lines later the
code already set it back high, which is not long enouth.

Make sure reset is asserted for at least 100us by inserting a
delay after initializing the reset pin during probe.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2018-03-03 15:52:22 +00:00
..
atm usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08:00
c67x00 USB: c67x00: correct spelling mistakes in comments 2014-01-08 15:05:14 -08:00
chipidea usb: chipidea: debug: check before accessing ci_role 2017-09-15 18:29:48 +01:00
class usb: cdc_acm: Add quirk for Elatec TWN3 2018-01-01 20:51:55 +00:00
common usb: common: otg-fsm: only signal connect after switching to peripheral 2015-03-30 11:11:39 +01:00
core usb: Add device quirk for Logitech HD Pro Webcam C925e 2018-03-03 15:52:03 +00:00
dwc2 usb: dwc2: hcd: use new USB_RESUME_TIMEOUT 2015-05-05 11:09:49 +01:00
dwc3 usb: dwc3: gadget: Prevent losing events in event cache 2017-09-15 18:29:39 +01:00
early USB: ehci-dbgp: drop dead code. 2013-09-26 16:25:21 -07:00
gadget USB: UDC core: fix double-free in usb_add_gadget_udc_release 2018-03-03 15:52:19 +00:00
host usb: xhci: Add XHCI_TRUST_TX_LENGTH for Renesas uPD720201 2018-03-03 15:52:06 +00:00
image USB: image: correct spelling mistake in comment 2014-01-08 15:08:14 -08:00
misc usb: misc: usb3503: make sure reset is low for at least 100us 2018-03-03 15:52:22 +00:00
mon USB: fix usbmon BUG trigger 2018-03-03 15:52:18 +00:00
musb usb: musb: da8xx: fix babble condition handling 2018-03-03 15:51:50 +00:00
phy USB: phy: am335x-control: fix device and of_node leaks 2017-03-16 02:26:24 +00:00
renesas_usbhs usb: renesas_usbhs: Fix DMAC sequence for receiving zero-length packet 2018-01-01 20:51:51 +00:00
serial USB: serial: cp210x: add new device ID ELV ALC 8xxx 2018-03-03 15:52:11 +00:00
storage uas: ignore UAS for Norelsys NS1068(X) chips 2018-03-03 15:52:19 +00:00
wusbcore USB: wusbcore: fix NULL-deref at probe 2017-07-18 18:40:13 +01:00
Kconfig usb: host: remove USB_ARCH_HAS_?HCI 2014-02-18 12:36:38 -08:00
Makefile usb: move usb/usb-common.c to usb/common/usb-common.c 2014-05-27 15:29:44 -07:00
README USB: fix directory references in usb/README 2007-11-28 13:58:34 -08:00
usb-skeleton.c usb: delete non-required instances of include <linux/init.h> 2014-01-08 15:01:39 -08: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 ("khubd").

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.