]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
MUSB: TUSB OTG enumeration support
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 14 Sep 2006 07:27:27 +0000 (10:27 +0300)
committerTony Lindgren <tony@atomide.com>
Thu, 14 Sep 2006 13:21:35 +0000 (16:21 +0300)
commit89c57744afaaa723f009cf1392c953a55abbf009
tree1f178bbbac59e9549d9e478956c64eff5275882d
parent35ccd236be60cebe10a2e886f1aa0d538beecd76
MUSB: TUSB OTG enumeration support

This gives TUSB host side enumeration support for low speed devices (like
USB mice), through a Mini-A connector that's not removed ... basically, a
non-OTG configuration, with the ID pin always grounded.

Basically it punts the "turn VBUS power on/off" to board-specific logic,
and implements it for TUSB using software switching (rather than having
the controller do it).

There are various issues, notably

    (a) remote wakeup not getting passed to the root hub then down
to the device (mouse) that issued the wakeup;

    (b) strange "vbus error" reports on device connection if nothing
     is hooked up at driver initialization; and

    (c) full or high speed devices see spurious disconnect events
right after they've been reset (hw bug?);

Includes various small cleanups too, notably starting to obey the OTG
state machine and use the OTG timer.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/usb/musb/davinci.c
drivers/usb/musb/debug.h
drivers/usb/musb/musb_procfs.c
drivers/usb/musb/musbdefs.h
drivers/usb/musb/plat_uds.c
drivers/usb/musb/tusb6010.c
drivers/usb/musb/virthub.c