OMAP3: beagle: add missing twl4030 usb platform_data
authorFelipe Balbi <felipe.balbi@nokia.com>
Fri, 28 Aug 2009 18:24:15 +0000 (11:24 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Aug 2009 18:24:15 +0000 (11:24 -0700)
without it twl4030_usb driver will not probe.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-omap3beagle.c

index 201360781ac1c48029abdf1424a6d48baf69cfe3..d79ea8da6270bece88230ff556e6a10a68f5d629 100644 (file)
@@ -245,11 +245,16 @@ static struct regulator_init_data beagle_vpll2 = {
        .consumer_supplies      = &beagle_vdvi_supply,
 };
 
+static struct twl4030_usb_data beagle_usb_data = {
+       .usb_mode       = T2_USB_MODE_ULPI,
+};
+
 static struct twl4030_platform_data beagle_twldata = {
        .irq_base       = TWL4030_IRQ_BASE,
        .irq_end        = TWL4030_IRQ_END,
 
        /* platform_data for children goes here */
+       .usb            = &beagle_usb_data,
        .gpio           = &beagle_gpio_data,
        .vmmc1          = &beagle_vmmc1,
        .vsim           = &beagle_vsim,