public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: Maulik Mankad <x0082077@ti.com>
Cc: linux-omap@vger.kernel.org, linux-usb@vger.kernel.org,
	Felipe Balbi <felipe.balbi@nokia.com>,
	Tony Lindgren <tony@atomide.com>,
	Greg Kroah-Hartman <gregkh@suse.de>
Subject: Re: [PATCH 2/2] ARM : OMAP4 : MUSB : Add USB support to 4430 SDP board file
Date: Wed, 30 Dec 2009 14:32:57 +0300	[thread overview]
Message-ID: <4B3B3A69.2030301@ru.mvista.com> (raw)
In-Reply-To: <1262169902-31258-1-git-send-email-x0082077@ti.com>

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 <x0082077@ti.com>
> Cc: Felipe Balbi <felipe.balbi@nokia.com>
> Cc: Tony Lindgren <tony@atomide.com>
> Cc: Greg Kroah-Hartman <gregkh@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



      reply	other threads:[~2009-12-30 11:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-30 10:45 [PATCH 2/2] ARM : OMAP4 : MUSB : Add USB support to 4430 SDP board file Maulik Mankad
2009-12-30 11:32 ` Sergei Shtylyov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B3B3A69.2030301@ru.mvista.com \
    --to=sshtylyov@ru.mvista.com \
    --cc=felipe.balbi@nokia.com \
    --cc=gregkh@suse.de \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=tony@atomide.com \
    --cc=x0082077@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox