linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* DMA support for at91-sama5d2 ADC driver
@ 2017-05-04 13:07 Eugen.Hristev
  2017-05-04 16:21 ` Jonathan Cameron
  0 siblings, 1 reply; 5+ messages in thread
From: Eugen.Hristev @ 2017-05-04 13:07 UTC (permalink / raw)
  To: jic23, lars, linux-iio; +Cc: Nicolas.Ferre

Hello,

I am making a proof of concept for DMA functionality for the
at91-sama5d2 ADC driver.
I would like to ask if it's better to implement in an old fashion way
(request dma channel, allocate memory, start transfer), or try to
integrate with the DMA-buffer in the iio subsystem ?
Is there any driver using that system in the current kernel ?

Also, is there a way to enable/disable DMA coming from the subsystem to
the driver ? (I mean from sysfs, to have or create an option for the
buffer to use DMA or not).
Using DMA has the advantage of less interrupts coming, but much less
granularity on the incoming triggered conversions. So I thought a way
for the user to enable or disable it might be convenient.


Thanks for all the inputs,

Eugen Hristev


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-23 12:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-04 13:07 DMA support for at91-sama5d2 ADC driver Eugen.Hristev
2017-05-04 16:21 ` Jonathan Cameron
2017-05-04 16:34   ` Lars-Peter Clausen
2017-07-19  7:25   ` Eugen Hristev
2017-07-23 12:14     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).