From: "Krzysztof Sywula" <krzysztof.m.sywula@linux.intel.com>
To: "Lars-Peter Clausen" <lars@metafoo.de>
Cc: "Krzysztof Sywula" <krzysztof.m.sywula@linux.intel.com>,
linux-iio@vger.kernel.org
Subject: Re: IIO for PCIe-DMA ADC
Date: Mon, 28 Jul 2014 11:09:07 -0000 (GMT) [thread overview]
Message-ID: <57688.163.33.229.63.1406545747.squirrel@linux.intel.com> (raw)
In-Reply-To: <53D12208.9030500@metafoo.de>
Lars, I have few more questions, would love if you could answer.
- ADC I have uses max 4KHz sampling frequency, SoC CPU is 533MHz; will IIO
cope?
- are there any other ADCs in IIO framework that use your DMA-extension?
- I would like to use dw_dmac DMA driver, I hope both, IIO and your
DMA-extension will honour that
- what is the status of upstreaming DMA-extension? Are you commited to any
dates?
- is there any out of the box set of tests for IIO/DMA-extension?
Thanks,
Krzysztof Sywula
> On 07/24/2014 03:06 PM, Krzysztof Sywula wrote:
>> Hi there, Im designing a PCIe driver for DMA enabled ADC. Is IIO
>> handling
>> such a combo? I'm based on kernel 3.8.7.
>>
>> Website:
>> http://wiki.analog.com/software/linux/docs/iio/iio
>> says "However typical DMA operated devices such as ones connected to a
>> high speed synchronous serial (McBSP, SPORT) or high speed synchronous
>> parallel (EPI, PPI) or FPGA peripherals are also subject to this
>> subsystem."
>>
>> which is not clear enough for me to answer that question.
>
>
> Hi,
>
> The current upstream version of IIO does not have built-in support for
> DMA,
> but you can always create your custom buffer implementation that handles
> the
> DMA.
>
> There is a out of tree generic DMA[0] and DMAengine[1] support for IIO.
> This
> is both scheduled for mainline submission, but obviously will not be
> available in a 3.8.7 kernel.
>
> - Lars
>
> [0]
> https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/iio/industrialio-dmabuf.c
> [1]
> https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/iio/industrialio-dmaengine.c
>
>
next prev parent reply other threads:[~2014-07-28 11:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-24 13:06 IIO for PCIe-DMA ADC Krzysztof Sywula
2014-07-24 15:11 ` Lars-Peter Clausen
2014-07-28 11:09 ` Krzysztof Sywula [this message]
2014-07-28 11:48 ` Lars-Peter Clausen
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=57688.163.33.229.63.1406545747.squirrel@linux.intel.com \
--to=krzysztof.m.sywula@linux.intel.com \
--cc=lars@metafoo.de \
--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 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.