public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Sergei Shtylyov <sshtylyov@mvista.com>
To: "Gupta, Ajay Kumar" <ajay.gupta@ti.com>
Cc: Sergei Shtylyov <sshtylyov@mvista.com>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>
Subject: Re: [PATCH] AM35x: Add musb support
Date: Mon, 22 Mar 2010 13:14:05 +0300	[thread overview]
Message-ID: <4BA742ED.6080004@ru.mvista.com> (raw)
In-Reply-To: <19F8576C6E063C45BE387C64729E7394044DE0E5E6@dbde02.ent.ti.com>

Hello.

Gupta, Ajay Kumar wrote:

>>>> +/* USB 2.0 OTG module registers */
>>>> +#define USB_REVISION_REG     0x00
>>>> +#define USB_CTRL_REG         0x04
>>>> +#define USB_STAT_REG         0x08
>>>> +#define USB_EMULATION_REG    0x0c
>>>> +/* 0x10 Reserved */
>>>>  Wait... so the mode register isn't supported? Does AM35x support any
>>>> accelerated modes?
>>>>
>>>>         
>>> Mode register is available though with some difference due to 15Rx/Tx
>>>       
>> eps.
>>     
>>> I have not added CPPI4.1 DMA  specific register here..
>>>
>>>       
>>    Ah. Then they're not compatible with DA8xx anyway...
>>     
>
> We could make it compatible with some change as done at,
> http://arago-project.org/git/people/?p=sriram/ti-psp-omap.git;a=commitdiff;h=2ecce9529bd56c32997e0b2cbe84f7727ba5b217
>   

   I'm not sure where cppi41_dma.c gets the definitions for 
USB_[RT]X_MODE_REG... anyway, I'm thinking of a different solution now, 
i.e. moving the functions that access the implementation specific 
acceleration

>>>> +#define USB_END_OF_INTR_REG  0x60
>>>>   Hm, I don't see the generic RNDIS EP size registers also. So, generic
>>>> RNDIS mode isn't supported? Then cppi41_dma.c won't work with this
>>>> chip... :-/
>>>>
>>>>         
>>> Generic RNDIS mode is suported and CPPi4,1 is already verified to be
>>>       
>> working on
>>     
>>> AM3517.
>>>       
>>    I wonder how it can work as the registers cppi41_dma.c relies upon
>> are not the same as in DA8xx. Did you make some changes to cppi41_dma.c?
>>     
>
> There were only few changes to make it work. You can see the changes
> in our internal release tree at,
> http://arago-project.org/git/people/?p=sriram/ti-psp-omap.git;a=summary
>
> They have all the CPPI patches based out of your latest patch. All these
>   

   My latest was take 5, this tree has take 3 as a base.

> have to be reviewed/cleaned which is not happening as the base CPPI4.1 patch
> itself is pending to be merged.
>
> Any update on CPPI4.1 driver location?

   I'm pretty sure it should be in arch/arm/common/...

>  Are you still waiting for Russell's reply?
>   

   Well, yes and no. I'm not hoping on Russell's reply though but 
haven't found time to move the code and post the new patch...

WBR, Sergei



  reply	other threads:[~2010-03-22 10:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-24 13:18 [PATCH] AM35x: Add musb support Ajay Kumar Gupta
     [not found] ` <1267017495-17548-1-git-send-email-ajay.gupta-l0cyMroinI0@public.gmane.org>
2010-03-20 13:26   ` Sergei Shtylyov
2010-03-21  2:48     ` Gupta, Ajay Kumar
2010-03-21 10:59       ` Sergei Shtylyov
     [not found]         ` <4BA5FBF6.8010102-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
2010-03-22  6:42           ` Gupta, Ajay Kumar
2010-03-22 10:14             ` Sergei Shtylyov [this message]
     [not found]               ` <4BA742ED.6080004-hkdhdckH98+B+jHODAdFcQ@public.gmane.org>
2010-03-22 10:57                 ` Gupta, Ajay Kumar
     [not found]                   ` <19F8576C6E063C45BE387C64729E7394044DE0E71B-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-03-22 11:02                     ` Sergei Shtylyov
2010-03-22 11:21                       ` Gupta, Ajay Kumar
     [not found]                         ` <19F8576C6E063C45BE387C64729E7394044DE0E730-/tLxBxkBPtCIQmiDNMet8wC/G2K4zDHf@public.gmane.org>
2010-03-22 13:31                           ` Sergei Shtylyov
     [not found]                             ` <4BA77142.3050109-Igf4POYTYCDQT0dZR+AlfA@public.gmane.org>
2010-03-23  3:57                               ` Gupta, Ajay Kumar

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=4BA742ED.6080004@ru.mvista.com \
    --to=sshtylyov@mvista.com \
    --cc=ajay.gupta@ti.com \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.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