From: Felipe Balbi <balbi@ti.com>
To: Greg KH <greg@kroah.com>
Cc: "Gupta, Ajay Kumar" <ajay.gupta@ti.com>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: RFC: usb: musb: Adding CPPI4.1 DMA driver under drivers/dma
Date: Fri, 13 Jan 2012 22:12:07 +0200 [thread overview]
Message-ID: <20120113201205.GK3133@legolas.emea.dhcp.ti.com> (raw)
In-Reply-To: <20120113180932.GB29700@kroah.com>
[-- Attachment #1: Type: text/plain, Size: 1823 bytes --]
On Fri, Jan 13, 2012 at 10:09:32AM -0800, Greg KH wrote:
> On Fri, Jan 13, 2012 at 10:40:50AM +0000, Gupta, Ajay Kumar wrote:
> > Hi,
> >
> > CPPI4.1 (Communication Port Programming Interface) is a TI specific DMA
> > controller used in multiple TI platform such as AM33x, DA8x, AM35x, TI81x.
> > The DMA engine is mainly used by musb controller on above platform.
> >
> > Earlier version of the driver was submitted by Sergei Shtylyov at [1] but
> > was not merged due to disagreement on the location of driver in kernel.
> > Refer the discussions at [1] for more details.
> >
> > [1] http://marc.info/?l=linux-usb&m=125087318308323
> >
> > The new implementation of the CPPI4.1 DMA slave driver will be in the
> > drivers/dma folder, complying to dmaengine framework.
> > It would involve changes in existing musb driver also for which current
> > plan is to maintain the compatibility of non-CPPI4.1 DMA in musb driver.
> >
> > The task is planned to be spitted into below subtasks.
> >
> > (1) Post RFC on the API details, changes envisaged in musb driver and other
> > challenges
> >
> > (2) Implement and post RFC for the CPPI4.1 DMA driver and changes needed in
> > musb driver.
> >
> > Let me know if you have any thoughts/comments on this.
>
> First off, don't highjack threads (you responded to a linux-usb thread
> here, get a better email client please.)
>
> Second, that sounds fine, please post patches.
I'm with Greg here, please post patches.
What I suggest is:
- first create a dma-engine.c file on drivers/usb/musb which will simply
translate dmaengine into the MUSB-specific API.
this will allow us to slowly convert other platforms without
breaking the legacy stuff.
- Then move CPPI to drivers/dma
- Test it all out ;-)
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2012-01-13 20:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201201120753.00667.oneukum@suse.de>
[not found] ` <Pine.LNX.4.44L0.1201121037340.1384-100000@iolanthe.rowland.org>
[not found] ` <20120112215014.GC5735@xanatos>
[not found] ` <20120112215459.GA1161@kroah.com>
[not found] ` <20120112222947.GD5735@xanatos>
[not found] ` <20120112223513.GA2925@kroah.com>
[not found] ` <20120113061144.GA30569@suse.cz>
2012-01-13 10:40 ` Gupta, Ajay Kumar
2012-01-13 18:09 ` Greg KH
2012-01-13 20:12 ` Felipe Balbi [this message]
2012-01-16 4:25 ` Gupta, Ajay Kumar
2012-01-13 20:41 ` Sergei Shtylyov
2012-01-13 20:10 ` Felipe Balbi
2012-01-14 21:24 ` Sergei Shtylyov
2012-01-16 10:59 ` Gupta, Ajay Kumar
2012-01-16 10:56 ` 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=20120113201205.GK3133@legolas.emea.dhcp.ti.com \
--to=balbi@ti.com \
--cc=ajay.gupta@ti.com \
--cc=greg@kroah.com \
--cc=linux-kernel@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
Powered by JetHome