linux/arch/arm/mach-davinci
David Brownell 34f32c9701 usb: musb: make Davinci *work* in mainline
Now that the musb build fixes for DaVinci got merged (RC3?), kick in
the other bits needed to get it finally *working* in mainline:

 - Use clk_enable()/clk_disable() ... the "always enable USB clocks"
   code this originally relied on has since been removed.

 - Initialize the USB device only after the relevant I2C GPIOs are
   available, so the host side can properly enable VBUS.

 - Tweak init sequencing to cope with mainline's relatively late init
   of the I2C system bus for power switches, transceivers, and so on.

Sanity tested on DM6664 EVM for host and peripheral modes; that system
won't boot with CONFIG_PM enabled, so OTG can't yet be tested.  Also
verified on OMAP3.

(Unrelated:  correct the MODULE_PARM_DESC spelling of musb_debug.)

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Felipe Balbi <me@felipebalbi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-02-27 14:40:51 -08:00
..
include/mach [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
board-evm.c usb: musb: make Davinci *work* in mainline 2009-02-27 14:40:51 -08:00
clock.c usb: musb: make Davinci *work* in mainline 2009-02-27 14:40:51 -08:00
clock.h [ARM] 4430/1: davinci: clock control support 2007-07-12 09:57:09 +01:00
devices.c [ARM] fix AT91, davinci, h720x, ks8695, msm, mx2, mx3, netx, omap1, omap2, pxa, s3c 2009-01-08 16:29:42 +00:00
gpio.c Merge branch 'for-rmk' of git://source.mvista.com/git/linux-davinci-2.6.git 2008-10-09 21:33:05 +01:00
id.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
io.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
irq.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
Kconfig [ARM] 4303/3: base kernel support for TI DaVinci 2007-05-11 17:26:55 +01:00
Makefile ARM: DaVinci: usb setup 2008-09-17 00:31:42 -07:00
Makefile.boot [ARM] 4303/3: base kernel support for TI DaVinci 2007-05-11 17:26:55 +01:00
mux.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
psc.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2008-10-11 10:09:45 -07:00
serial.c [ARM] Convert asm/io.h to linux/io.h 2008-09-06 12:10:45 +01:00
time.c cpumask: convert struct clock_event_device to cpumask pointers. 2008-12-13 21:20:26 +10:30
usb.c usb: musb: make Davinci *work* in mainline 2009-02-27 14:40:51 -08:00