AnsweredAssumed Answered

Ad9361 FMCOMMS2 Custom drivers for petalinux 2015.2

Question asked by abhinav004 on Jul 20, 2017
Latest reply on May 14, 2018 by mhennerich


I want to integrate the custom drivers for ad9361 with petalinux 2015.2 and using zc702 evaluation board. I am new to linux/driver development so not able to completely understand the driver code given here and stuck here:

AD9361 high performance, highly integrated RF Agile Transceiver™ Linux device driver [Analog Devices Wiki] 

I am using the petalinux-create -t module <name> for creating and configuring custom modules for petalinux. Somehow, have to include the AD9361 driver code within this custom module. Should I have to make a SINGLE module from all these files( ad9361.c,  ad9361_conv.cad9361.h ,cf_axi_adc_core.ccf_axi_adc_ring_stream.ccf_axi_adc.h,  cf_axi_dds.c, cf_axi_adc.h)?  Or three different modules in petalinux? Also is it sufficient to just include .dtsi file in the main device tree file? Any more detailed reference about this whole procedure?


The cf_axi_dds module has an include file  "ad9122.h" ? Is it associated with another driver? 


Thank you for your time.