Please don't mind if this a silly question as I am new to device drivers.
I am using AD9371 in my project. I have AD9371 User manuel, Datasheet, Source code and AD9371 GUI. I know that I have to configure parameters in GUI and it will create sample (example) standalone program i.e headlees.* and init.* (Necessary data structures)
Now I am using FPGA ARM processor ( which is master ) on which Linux OS is running. Now How can I integrate my standard SPI, GPIO drivers. Can I call spi_write_then_read , gpio_direction_output etc directly from func in common.c ?