u-boot/drivers/usb/musb-new
Hans de Goede c9f8947e66 sunxi: usb-phy: Never power off the usb ports
USB devices are not really designed to get the power bounced off and on
at them. Esp. USB powered harddisks do not like this.

Currently we power off the USB ports both on a "usb reset" and when
booting the kernel, causing the usb-power to bounce off and then back
on again.

This patch removes the powering off calls, fixing the undesirable power
bouncing.

Note this requires some special handling for the OTG port:
1) We must skip the external vbus check if we've already enabled our own
vbus to avoid false positives
2) If on an usb reset we no longer detect that the id-pin is grounded, turn
off vbus as that means an external vbus may be present now

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
2015-08-08 16:26:19 +02:00
..
am35x.c musb: Allow musb_platform_enable to return an error code 2015-07-21 17:39:37 -06:00
Kconfig sunxi: usb: USB_MUSB_SUNXI move to musb-new Kconfig 2015-08-05 17:20:34 +02:00
linux-compat.h lib, linux: move linux specific defines to linux/compat.h 2014-08-25 19:25:03 -04:00
Makefile usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB 2015-08-05 17:20:34 +02:00
musb_core.c usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB 2015-08-05 17:20:34 +02:00
musb_core.h usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB 2015-08-05 17:20:34 +02:00
musb_debug.h musb-new: port of Linux musb driver 2012-11-20 00:16:06 +01:00
musb_dma.h usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB 2015-08-05 17:20:34 +02:00
musb_dsps.c musb: Allow musb_platform_enable to return an error code 2015-07-21 17:39:37 -06:00
musb_gadget.c usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB 2015-08-05 17:20:34 +02:00
musb_gadget.h musb-new: port of Linux musb driver 2012-11-20 00:16:06 +01:00
musb_gadget_ep0.c linux_compat: remove cpu_relax() define 2015-07-22 07:30:37 -06:00
musb_host.c musb: Update usb-compat to work with struct usb_device without a parent ptr 2015-07-21 17:39:37 -06:00
musb_host.h musb-new: Properly remove a transfer from the schedule on timeout 2015-01-18 12:31:36 +01:00
musb_io.h musb-new: port of Linux musb driver 2012-11-20 00:16:06 +01:00
musb_regs.h sunxi: Add basic A33 basic support 2015-05-04 16:51:51 +02:00
musb_uboot.c usb: musb-new: CONFIG_MUSB prefix replacement with CONFIG_USB_MUSB 2015-08-05 17:20:34 +02:00
musb_uboot.h musb: Add device-model support to the musb-host u-boot glue 2015-07-21 17:39:38 -06:00
omap2430.c musb: Allow musb_platform_enable to return an error code 2015-07-21 17:39:37 -06:00
omap2430.h musb-new: omap2plus backend driver 2012-11-20 00:16:08 +01:00
sunxi.c sunxi: usb-phy: Never power off the usb ports 2015-08-08 16:26:19 +02:00
usb-compat.h musb: Update usb-compat to work with struct usb_device without a parent ptr 2015-07-21 17:39:37 -06:00