I have an AD9834 (it's a Direct Digital Synthesis chip) evaluation board that I'd like to connect to my Raspberry PI. It uses an SPI interface. While I could just drive the SPI interface directly from Python, etc. I'd prefer to use the Linux kernel driver that Analog Devices has already written.
The driver is an IIO subsystem driver. The compilation instructions mention the standard procedure of make menuconfig
and choosing the driver for compilation. Before that however, the instructions talk about source code configuration for slave-select lines etc. The instructions state that, "For compile time configuration, it’s common Linux practice to keep board- and application-specific configuration out of the main driver file, instead putting it into the board support file." I have no experience with this and haven't found any information about a, "board support file" other than Board Support Packages which the Raspberry Pi doesn't (?) use.
How should I apply these board support source modifications to the Raspberry Pi's Linux kernel?