Re: IIO for PCIe-DMA ADC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/24/2014 03:06 PM, Krzysztof Sywula wrote:
Hi there, I’m 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

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux