public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Barry Song <21cnbao@gmail.com>,
	vinod.koul@intel.com, linux-kernel@vger.kernel.org,
	workgroup.linux@csr.com, Rongjun Ying <rongjun.ying@csr.com>,
	Barry Song <Baohua.Song@csr.com>,
	dan.j.williams@intel.com, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] dmaengine: add CSR SiRFprimaII DMAC driver
Date: Thu, 08 Sep 2011 22:11:31 +0200	[thread overview]
Message-ID: <2264116.VTHb2BIH5a@wuerfel> (raw)
In-Reply-To: <CAKnu2Mpnjec-hvfbT0zH1P2mGZKNwTQYgDLGHWUXLmGGQB0_ow@mail.gmail.com>

On Thursday 08 September 2011 20:48:26 Linus Walleij wrote:
> 2011/9/8 Arnd Bergmann <arnd@arndb.de>:
> > On Thursday 08 September 2011, Barry Song wrote:
> >>
> >> this filter is used by all drivers with DMA since every dma channel is
> >> fixed to be assigned to one device.
> >
> > Ok, I see now. I think it would be best to introduce a generic
> > 'filter by device tree property' function or alternatively an
> > dma_of_request_channel function like this:
> 
> You'd have to discuss that with Vinod, the thing is that x86 Atom
> systems are using dmaengine for device slave transfers too, and
> IIRC these things don't use devicetrees. I may be wrong...

Some of them use device tree, some don't.

I'm not saying that we have to convert all drivers to use this, but
for platforms that always have device tree available, it seems by far
the cleanest solution.

	Arnd

  parent reply	other threads:[~2011-09-09  0:24 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-07  5:41 [PATCH] dmaengine: add CSR SiRFprimaII DMAC driver Barry Song
2011-09-07 16:14 ` Koul, Vinod
2011-09-07 16:46   ` Barry Song
2011-09-07 18:09     ` Koul, Vinod
2011-09-08  2:12       ` Barry Song
2011-09-08  3:17         ` Jassi Brar
2011-09-08  5:25           ` Jassi Brar
2011-09-08  6:36             ` Barry Song
2011-09-08  7:49               ` Jassi Brar
2011-09-08 21:51               ` Vinod Koul
2011-09-09  2:35                 ` Barry Song
2011-09-09  2:52                   ` Barry Song
2011-09-09 16:25                     ` Vinod Koul
2011-09-09 23:37                       ` Barry Song
2011-09-11 15:59               ` Vinod Koul
2011-09-12  0:13                 ` Barry Song
2011-09-08 21:46             ` Vinod Koul
2011-09-09  8:18               ` Barry Song
2011-09-09 16:21                 ` Vinod Koul
2011-09-09 23:40                   ` Barry Song
2011-09-10  7:33                 ` Jassi Brar
2011-09-11 16:02                 ` Vinod Koul
2011-09-12  6:33                   ` Jassi Brar
2011-09-14  5:07                     ` Vinod Koul
2011-09-14  6:46             ` Barry Song
2011-09-14  7:11               ` Jassi Brar
2011-09-14  9:49                 ` Barry Song
2011-09-08  6:14           ` Barry Song
2011-09-08  6:37             ` Jassi Brar
2011-09-08  2:18       ` Barry Song
2011-09-16  9:06     ` Barry Song
2011-09-07 19:27   ` Linus Walleij
2011-09-08  1:47     ` Barry Song
2011-09-08 14:52 ` Arnd Bergmann
2011-09-08 15:27   ` Barry Song
2011-09-08 16:19     ` Arnd Bergmann
     [not found]       ` <CAKnu2Mpnjec-hvfbT0zH1P2mGZKNwTQYgDLGHWUXLmGGQB0_ow@mail.gmail.com>
2011-09-08 20:11         ` Arnd Bergmann [this message]
2011-09-08 21:38           ` Vinod Koul
2011-09-11 21:27             ` Linus Walleij
2011-09-12  0:01               ` Barry Song
2011-09-14  4:54               ` Vinod Koul
2011-09-09 16:10           ` Vinod Koul

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=2264116.VTHb2BIH5a@wuerfel \
    --to=arnd@arndb.de \
    --cc=21cnbao@gmail.com \
    --cc=Baohua.Song@csr.com \
    --cc=dan.j.williams@intel.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rongjun.ying@csr.com \
    --cc=vinod.koul@intel.com \
    --cc=workgroup.linux@csr.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