Hello.

Maulik Mankad wrote:

ARM : OMAP4 : Add USB support to 4430 SDP board file

This patch adds support for Mentor USB to 4430 SDP board file.

It also defines the base address for HS USB OTG controller in OMAP4.

Also updates platform specfic structure with base address and IRQ details.

Signed-off-by: Maulik Mankad <x0082...@ti.com>
Cc: Felipe Balbi <felipe.ba...@nokia.com>
Cc: Tony Lindgren <t...@atomide.com>
Cc: Greg Kroah-Hartman <gre...@suse.de>

Index: felipe_musb/arch/arm/mach-omap2/board-4430sdp.c
===================================================================
--- felipe_musb.orig/arch/arm/mach-omap2/board-4430sdp.c
+++ felipe_musb/arch/arm/mach-omap2/board-4430sdp.c
[...]
@@ -73,11 +75,22 @@ static void __init omap_4430sdp_init_irq
        omap_gpio_init();
 }
+static struct musb_omap_data omap4430sdp_data = {
+.interface_type        = MUSB_INTERFACE_UTMI,
+.mode          = MUSB_PERIPHERAL,
+.power         = 100,

   You have lost the indentation here.

Index: felipe_musb/arch/arm/mach-omap2/usb-musb.c
===================================================================
--- felipe_musb.orig/arch/arm/mach-omap2/usb-musb.c
+++ felipe_musb/arch/arm/mach-omap2/usb-musb.c
@@ -81,8 +81,13 @@ void __init usb_musb_init(void *arch_dat
if (cpu_is_omap243x())
                musb_resources[0].start = OMAP243X_HS_BASE;
-       else
+       else if (cpu_is_omap34xx())
                musb_resources[0].start = OMAP34XX_HSUSB_OTG_BASE;
+       else if (cpu_is_omap44xx()) {
+               musb_resources[0].start = OMAP44XX_HSUSB_OTG_BASE;
+               musb_resources[1].start =  INT_44XX_HS_USB_MC;
+               musb_resources[2].start =  INT_44XX_HS_USB_DMA;

  Why extra speces here?

WBR, Sergei


--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to