All of lore.kernel.org
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: at91: dt: dma usage
Date: Wed, 17 Dec 2014 22:49:55 +0100	[thread overview]
Message-ID: <2831487.RTCyiHWGfY@wuerfel> (raw)
In-Reply-To: <20141217201622.GE4885@piout.net>

On Wednesday 17 December 2014 21:16:22 Alexandre Belloni wrote:
> On 22/10/2014 at 10:53:43 +0200, Ji?? Prchal wrote :
> > in fact that in at91sam chips has a lot of peripherals but only 2*8 dma channels
> > and as my patch in last week "at91: sam9x5 dt: add usart dma definitions to dt"
> > adds only dma definitions, not make to use them, leave it on board definition,
> > shouldn't do the same all other peripherals definitions?
> > I think that I2C, SPI are not as necessary as USART, but thous are always "on".
> 
> Not much discussion happened on that and I have the feeling this is
> something we have to sort out. Until the dma driver are able to allocate
> channels dynamically, it is true that this may be something we shouldn't
> enable in the dtsi and let people activate dma in the board dts.

Could you use the drivers/dma/virt-dma.c infrastructure in the driver
to do this? Are you already planning to use it?

	Arnd

  reply	other threads:[~2014-12-17 21:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-13  9:02 [PATCH] at91: sam9x5 dt: add usart dma definitions to dt Jiri Prchal
2014-10-14 12:24 ` Ludovic Desroches
2014-10-21 16:38   ` Nicolas Ferre
     [not found]     ` <54477097.1050909@aksignal.cz>
2014-12-17 20:16       ` at91: dt: dma usage Alexandre Belloni
2014-12-17 21:49         ` Arnd Bergmann [this message]
2015-01-09 15:42           ` Ludovic Desroches

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=2831487.RTCyiHWGfY@wuerfel \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.