aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/board-omap4panda.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-01-07 16:16:28 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-07 16:16:28 -0500
commit3e5b08cbbf78bedd316904ab0cf3b27119433ee5 (patch)
tree0365745c1b7441c1868551c024410c829c3accc6 /arch/arm/mach-omap2/board-omap4panda.c
parentda40d036fd716f0efb2917076220814b1e927ae1 (diff)
parent2af10844eb6ed104f9505bf3a7ba3ceb02264f31 (diff)
Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
* 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6: (144 commits) USB: add support for Dream Cheeky DL100B Webmail Notifier (1d34:0004) USB: serial: ftdi_sio: add support for TIOCSERGETLSR USB: ehci-mxc: Setup portsc register prior to accessing OTG viewport USB: atmel_usba_udc: fix freeing irq in usba_udc_remove() usb: ehci-omap: fix tll channel enable mask usb: ohci-omap3: fix trivial typo USB: gadget: ci13xxx: don't assume that PAGE_SIZE is 4096 USB: gadget: ci13xxx: fix complete() callback for no_interrupt rq's USB: gadget: update ci13xxx to work with g_ether USB: gadgets: ci13xxx: fix probing of compiled-in gadget drivers Revert "USB: musb: pm: don't rely fully on clock support" Revert "USB: musb: blackfin: pm: make it work" USB: uas: Use GFP_NOIO instead of GFP_KERNEL in I/O submission path USB: uas: Ensure we only bind to a UAS interface USB: uas: Rename sense pipe and sense urb to status pipe and status urb USB: uas: Use kzalloc instead of kmalloc USB: uas: Fix up the Sense IU usb: musb: core: kill unneeded #include's DA8xx: assign name to MUSB IRQ resource usb: gadget: g_ncm added ... Manually fix up trivial conflicts in USB Kconfig changes in: arch/arm/mach-omap2/Kconfig arch/sh/Kconfig drivers/usb/Kconfig drivers/usb/host/ehci-hcd.c and annoying chip clock data conflicts in: arch/arm/mach-omap2/clock3xxx_data.c arch/arm/mach-omap2/clock44xx_data.c
Diffstat (limited to 'arch/arm/mach-omap2/board-omap4panda.c')
-rw-r--r--arch/arm/mach-omap2/board-omap4panda.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board-omap4panda.c
index b43e3ff9adec..3094e2007844 100644
--- a/arch/arm/mach-omap2/board-omap4panda.c
+++ b/arch/arm/mach-omap2/board-omap4panda.c
@@ -134,10 +134,17 @@ error1:
134 134
135static struct omap_musb_board_data musb_board_data = { 135static struct omap_musb_board_data musb_board_data = {
136 .interface_type = MUSB_INTERFACE_UTMI, 136 .interface_type = MUSB_INTERFACE_UTMI,
137 .mode = MUSB_PERIPHERAL, 137 .mode = MUSB_OTG,
138 .power = 100, 138 .power = 100,
139}; 139};
140 140
141static struct twl4030_usb_data omap4_usbphy_data = {
142 .phy_init = omap4430_phy_init,
143 .phy_exit = omap4430_phy_exit,
144 .phy_power = omap4430_phy_power,
145 .phy_set_clock = omap4430_phy_set_clk,
146};
147
141static struct omap2_hsmmc_info mmc[] = { 148static struct omap2_hsmmc_info mmc[] = {
142 { 149 {
143 .mmc = 1, 150 .mmc = 1,
@@ -347,6 +354,7 @@ static struct twl4030_platform_data omap4_panda_twldata = {
347 .vaux1 = &omap4_panda_vaux1, 354 .vaux1 = &omap4_panda_vaux1,
348 .vaux2 = &omap4_panda_vaux2, 355 .vaux2 = &omap4_panda_vaux2,
349 .vaux3 = &omap4_panda_vaux3, 356 .vaux3 = &omap4_panda_vaux3,
357 .usb = &omap4_usbphy_data,
350}; 358};
351 359
352static struct i2c_board_info __initdata omap4_panda_i2c_boardinfo[] = { 360static struct i2c_board_info __initdata omap4_panda_i2c_boardinfo[] = {
@@ -394,9 +402,7 @@ static void __init omap4_panda_init(void)
394 /* OMAP4 Panda uses internal transceiver so register nop transceiver */ 402 /* OMAP4 Panda uses internal transceiver so register nop transceiver */
395 usb_nop_xceiv_register(); 403 usb_nop_xceiv_register();
396 omap4_ehci_init(); 404 omap4_ehci_init();
397 /* FIXME: allow multi-omap to boot until musb is updated for omap4 */ 405 usb_musb_init(&musb_board_data);
398 if (!cpu_is_omap44xx())
399 usb_musb_init(&musb_board_data);
400} 406}
401 407
402static void __init omap4_panda_map_io(void) 408static void __init omap4_panda_map_io(void)