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:
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.c, ad9361.h ,cf_axi_adc_core.c, cf_axi_adc_ring_stream.c, cf_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.