linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lars-Peter Clausen <lars@metafoo.de>
To: John Syne <john3909@gmail.com>
Cc: "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Subject: Re: iio_simple_dummy_buffer_dma
Date: Wed, 30 Mar 2016 17:26:10 +0200	[thread overview]
Message-ID: <56FBF012.4000702@metafoo.de> (raw)
In-Reply-To: <9310CAE0-D5C3-4571-A979-779C7483BBE5@gmail.com>

On 03/30/2016 08:08 AM, John Syne wrote:
> Hi Lars,
>
> I did manage to get the dummy example with iio_simple_dummy_buffer_dma working. It turns out I had an issue in my dummy Kconfig when I added back the iio_simple_dummy_buffer_dma support. Now I can run iiod and connect iioScope and see sine, square, etc waveforms. I can also use generic_buffer and that works also. 
Great!
>
> Now I’m trying to figure out how to add my own hardware using part 2 of iio_simple_dummy_buffer_dma as a template. I was wondering when you expect to release the “overhauled version”.
Soon... Sorry I don't have a estimated date, at the moment this is not
top priority. I'll get to it as soon as I'm not completely 
>
> Has anyone used the IIO-DMA framework in a real driver? In your IIO-DMA patch notes, you said "Andrey Yurovsky has also successfully added DMA buffer support to the existing AT91 ADC”, but I have looked at this driver and I don’t see any IIO-DMA framework added. 
The iio-buffer-dmaengine driver is in a sense a real driver, but uses
the DMAengine framework to execute the DMA transfers. But you can easily
replace the calls to the DMAengine framework with direct access to the
DMA hardware. The AT91 support never made it upstream and Andrey's
e-mail bounces these days, no idea what happened to the code.
>
> Also, have you made any progress on adding the high speed interface via mmap or vmsplice. 
Nope, not yet. Again, I can't say when I'll get to this.
>
> Thank you and Jonathan for all the work you guys do on IIO. The IIO framework is a really helpful for what I need, especially with the DMA support. 
>
>
> Regards,
> John
>
>
>> On Feb 22, 2016, at 3:44 AM, Lars-Peter Clausen <lars@metafoo.de> wrote:
>>
>> On 02/22/2016 05:51 AM, John Syne wrote:
>>> BTW, I seem to remember that Lars removed iio_simple_dummy_buffer_dma.c in his V3 patch so this won’t be in the IIO repo, but I don’t know how to test the IIO DMA framework without this file.
>>>
>> Hi,
>>
>> The patch was dropped for now to avoid conflicts with other ongoing work on
>> the dummy driver. The patch will come back in a slightly overhauled version
>> soonish.


  reply	other threads:[~2016-03-30 15:45 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-22  4:41 iio_simple_dummy_buffer_dma John Syne
2016-02-22  4:51 ` iio_simple_dummy_buffer_dma John Syne
2016-02-22  4:57   ` iio_simple_dummy_buffer_dma John Syne
2016-02-22  7:34     ` iio_simple_dummy_buffer_dma John Syne
2016-02-22  7:43       ` iio_simple_dummy_buffer_dma John Syne
2016-02-22  7:52         ` iio_simple_dummy_buffer_dma John Syne
2016-02-22 11:44   ` iio_simple_dummy_buffer_dma Lars-Peter Clausen
     [not found]     ` <5343A235-F2C0-46B0-A0E1-853F3BC5F27D@gmail.com>
2016-02-22 17:31       ` iio_simple_dummy_buffer_dma Lars-Peter Clausen
2016-02-23 12:58         ` iio_simple_dummy_buffer_dma John Syne
2016-02-23 16:19         ` iio_simple_dummy_buffer_dma John Syne
2016-02-23 16:33           ` iio_simple_dummy_buffer_dma Lars-Peter Clausen
2016-03-30  6:08             ` iio_simple_dummy_buffer_dma John Syne
2016-03-30 15:26               ` Lars-Peter Clausen [this message]
2016-02-23  7:24     ` iio_simple_dummy_buffer_dma John Syne
2016-02-22  8:07 ` iio_simple_dummy_buffer_dma Daniel Baluta
2016-02-22  8:14   ` iio_simple_dummy_buffer_dma John Syne

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=56FBF012.4000702@metafoo.de \
    --to=lars@metafoo.de \
    --cc=john3909@gmail.com \
    --cc=linux-iio@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;
as well as URLs for NNTP newsgroup(s).