Eventually, I would like to have the flexibility to be able to use the AD9361 on the Altera SoC FPGA platform with my own branch of the Linux kernel instead of using Analog's branch. This would give me more control over which version of the kernel I use in order to maximize compatibility with other hardware and drivers.
My understanding is that the applications (ie IIO Oscilloscope) sit on top of libiio, which requires driver support in the kernel. For now, I would just like to understand the various pieces in the kernel that provide support for the AD9361.
I have stumbled upon the following:
- AD9361 IIO driver: http://wiki.analog.com/resources/tools-software/linux-drivers/iio-transceiver/ad9361
- AXI DMAC DMA driver: https://github.com/analogdevicesinc/linux/blob/xcomm_zynq/drivers/dma/dma-axi-dmac.c
Is there anything else that I'm missing? What is it that creates the character device files under /dev (/dev/iio:device0)?
On another note, am I creating too much trouble for myself? The majority of the resources I find, and most of the activity I see on Github are all for Zynq platform. I'm really just looking for the easiest way to stay up to date with the latest and greatest development there, but on a different platform.
Thanks for any info.