public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>
To: Ajay Kumar Gupta <ajay.gupta-l0cyMroinI0@public.gmane.org>
Cc: linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	balbi-l0cyMroinI0@public.gmane.org,
	tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org,
	Ravi B <ravibabu-l0cyMroinI0@public.gmane.org>
Subject: Re: [PATCH 6/6] usb: musb: Add support for ti81xx platform
Date: Sat, 27 Aug 2011 02:52:27 +0300	[thread overview]
Message-ID: <20110826235226.GD4829@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <1314357108-2279-7-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1299 bytes --]

Hi,

On Fri, Aug 26, 2011 at 04:41:48PM +0530, Ajay Kumar Gupta wrote:
> @@ -57,6 +58,10 @@ config USB_MUSB_AM35X
>  	tristate "AM35x"
>  	depends on ARCH_OMAP
>  
> +config USB_MUSB_TI81XX
> +	bool "TI81XX"
> +	depends on SOC_OMAPTI81XX

this *must* be tristate. I can't emphasize enough how important this is.

> diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
> index 20a2873..07f3faf 100644
> --- a/drivers/usb/musb/musb_core.c
> +++ b/drivers/usb/musb/musb_core.c
> @@ -1014,7 +1014,9 @@ static void musb_shutdown(struct platform_device *pdev)
>  	|| defined(CONFIG_USB_MUSB_OMAP2PLUS)		\
>  	|| defined(CONFIG_USB_MUSB_OMAP2PLUS_MODULE)	\
>  	|| defined(CONFIG_USB_MUSB_AM35X)		\
> -	|| defined(CONFIG_USB_MUSB_AM35X_MODULE)
> +	|| defined(CONFIG_USB_MUSB_AM35X_MODULE)	\
> +	|| defined(CONFIG_USB_MUSB_TI81XX)		\
> +	|| defined(CONFIG_USB_MUSB_TI81XX_MODULE)

we really need to find a better way to handle this :-(

> diff --git a/drivers/usb/musb/ti81xx.c b/drivers/usb/musb/ti81xx.c
> new file mode 100644
> index 0000000..f95774e
> --- /dev/null
> +++ b/drivers/usb/musb/ti81xx.c

I still think this should be part of am35x.c It really look like they
are very similar.

on monday I'll read the rest of the file.

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

  parent reply	other threads:[~2011-08-26 23:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-26 11:11 [PATCH 0/6] TI81XX: musb support Ajay Kumar Gupta
2011-08-26 11:11 ` [PATCH 1/6] omap: musb: Adding hwmod data for ti81xx Ajay Kumar Gupta
2011-08-26 11:11 ` [PATCH 2/6] omap: musb: Adding support for ti816x Ajay Kumar Gupta
2011-08-26 11:11 ` [PATCH 3/6] omap: musb: ti81xx: Add phy power function Ajay Kumar Gupta
2011-08-26 11:11 ` [PATCH 4/6] ti816evm: Add support for musb interface Ajay Kumar Gupta
2011-08-26 11:32   ` Sergei Shtylyov
     [not found]     ` <4E578466.1040405-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2011-08-26 11:57       ` Gupta, Ajay Kumar
2011-08-26 11:11 ` [PATCH 5/6] ti814evm: " Ajay Kumar Gupta
     [not found]   ` <1314357108-2279-6-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2011-08-26 11:34     ` Sergei Shtylyov
     [not found] ` <1314357108-2279-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2011-08-26 11:11   ` [PATCH 6/6] usb: musb: Add support for ti81xx platform Ajay Kumar Gupta
     [not found]     ` <1314357108-2279-7-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2011-08-26 23:52       ` Felipe Balbi [this message]
2011-08-29  5:31         ` Gupta, Ajay Kumar
     [not found]           ` <19F8576C6E063C45BE387C64729E739404EC4CBA8E-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2011-08-29  8:37             ` Felipe Balbi
     [not found]               ` <20110829083757.GD13925-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2011-08-29  9:46                 ` Gupta, Ajay Kumar
2011-09-02 11:35                   ` Felipe Balbi
     [not found]                     ` <20110902113519.GQ5148-UiBtZHVXSwEVvW8u9ZQWYwjfymiNCTlR@public.gmane.org>
2011-09-02 15:33                       ` Gupta, Ajay Kumar
2011-09-06  7:00         ` Gupta, Ajay Kumar
2011-09-06  7:34           ` Felipe Balbi

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=20110826235226.GD4829@legolas.emea.dhcp.ti.com \
    --to=balbi-l0cymroini0@public.gmane.org \
    --cc=ajay.gupta-l0cyMroinI0@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=ravibabu-l0cyMroinI0@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
    /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