AnsweredAssumed Answered

AD7768 EVB ZedBoard - IIO Linux driver support?

Question asked by dglee on Jun 1, 2018
Latest reply on Jul 11, 2018 by aardelean

Hello, apologies if this question is not asked in the right place - it involves both the HDL reference design and IIO-Linux driver support.


The AD7768EVB has an HDL Git repository located here:

hdl/projects/ad7768evb/zed at master · analogdevicesinc/hdl · GitHub 


I was able to generate the project just fine. However, i would like to know how can software interact with the ADC - more specifically, are there Linux IIO drivers that can interact with this card? Is it done through libIIO? I see a DMA connection back to the PS. Is it possible to create IIO buffers to read from this ADC?


I did see this page here:

AD7768 IIO Low Power Sigma-Delta ADC Linux Driver [Analog Devices Wiki] 


Which seems to indicate Linux support exists. However, this Linux driver

linux/ad7768.c at rpi-4.9.y · analogdevicesinc/linux · GitHub 


Seems to be for a Raspberry Pi branch. I do not see this driver in the Zynq related Linux branches (ie: linux/drivers/iio/adc at 2018_R1 · analogdevicesinc/linux · GitHub )

In the Linux menuconfig I cannot find reference to AD7768.


Assuming that Zedboard Linux drivers do not exist for the AD7768: How easy would it be to port over this Linux driver to the Zynq? Will porting it over be compatible with the Zedboard reference design? Does the Zedboard Reference design require Linux drivers?


If Linux drivers do exist for the Zedboard I would be interested in knowing where they are.