linux/drivers/usb/chipidea
Li Jun 9b6567e19b usb: chipidea: udc: bypass pullup DP when gadget connect in OTG fsm mode
By pass pullup DP in OTG fsm mode when do gadget connect, to let it handled
by OTG state machine.

This patch can fix the problem you found with my HNP polling patchset after
below 3 patches introduced:
467a78c usb: chipidea: udc: apply new usb_udc_vbus_handler interface
628ef0d usb: udc: add usb_udc_vbus_handler
dfea9c9 usb: udc: store usb_udc pointer in struct usb_gadget

Problem:
- Connect USB cable and MicroAB cable between two boards
- Boot up two boards
- load g_mass_storage at B-device side, the enumeration will success,
and A will see a usb mass-storage device
- load g_mass_storage at A-device side, the problem has occurred, the
connection will be lost at the beginning, then connect again.

This patch is based on
commit eff933c1d3a2e046492b3dfc86db813856553a29
(chipidea: pci: make it depends on NOP_USB_XCEIV)
on branch peter-usb-dev of
git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/usb.git

Signed-off-by: Li Jun <jun.li@freescale.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
2015-04-08 14:13:02 +08:00
..
bits.h usb: chipidea: support runtime power management for otg fsm mode 2015-03-18 16:19:12 +01:00
ci_hdrc_imx.c usb: chipidea: add a flag for turn on vbus early for host 2015-03-18 16:19:12 +01:00
ci_hdrc_imx.h usb: chipidea: usbmisc_imx: add .set_wakeup interface 2015-03-18 16:19:09 +01:00
ci_hdrc_msm.c usb: chipidea: remove flag CI_HDRC_REQUIRE_TRANSCEIVER 2014-11-26 09:28:12 -08:00
ci_hdrc_pci.c chipidea: pci: register nop PHY 2015-03-18 16:19:11 +01:00
ci_hdrc_usb2.c usb: chipidea: fix platform_no_drv_owner.cocci warnings 2014-11-26 11:47:43 -08:00
ci_hdrc_zevio.c Chipidea: TI-NSPIRE USB OTG hardware does not support high speed and must connect at full speed 2015-03-18 16:19:11 +01:00
ci.h usb: chipidea: use hrtimer for otg fsm timers 2015-03-26 10:54:39 +01:00
core.c usb: chipidea: support runtime power management for otg fsm mode 2015-03-18 16:19:12 +01:00
debug.c usb: allow to supply the PHY in the drivers when using HCD 2014-11-03 10:02:50 -06:00
debug.h usb: chipidea: drop "13xxx" infix 2013-06-24 16:16:55 -07:00
host.c usb: chipidea: host: turn on vbus before add hcd if early vbus on is required 2015-03-18 16:19:12 +01:00
host.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
Kconfig chipidea: pci: make it depends on NOP_USB_XCEIV 2015-03-26 10:54:39 +01:00
Makefile chipidea: introduce specific Kconfig options for glue drivers 2015-03-26 10:54:39 +01:00
otg_fsm.c usb: chipidea: use hrtimer for otg fsm timers 2015-03-26 10:54:39 +01:00
otg_fsm.h usb: chipidea: use hrtimer for otg fsm timers 2015-03-26 10:54:39 +01:00
otg.c usb: chipidea: add runtime power management support 2015-03-18 16:19:08 +01:00
otg.h usb: chipidea: using one inline function to cover queue work operations 2014-05-23 11:35:02 +09:00
udc.c usb: chipidea: udc: bypass pullup DP when gadget connect in OTG fsm mode 2015-04-08 14:13:02 +08:00
udc.h usb: chipidea: add role init and destroy APIs 2013-08-14 12:37:19 -07:00
usbmisc_imx.c usb: chipidea: usbmisc_imx: fix returnvar.cocci warnings 2015-03-26 10:44:37 +01:00