This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

software work to access registers in FPGA using GPMC/SPI

Hi,

I'm using a Mistral's OMAP3EVM board that works with a custom FPGA board, connected by two expansion connectors in OMAP3EVM board. There are some control registers in the FPGA board that communicates with OMAP3 via GPMC interface and SPI interface. Assuming I know the timing behavior that the FPGA is expecting, what would be a standard way to write software for simply reading and writing register values in the FPGA? It was not clear how I can use GPMC/SPI drivers by looking through source code in linux kernel. Can you please suggest what would be a good starting point to make this work? It would be greatly helpful if you can provide overall explanation how those drivers should work, or point some example codes or documentation to get start with. 

Regards,

Sung Hee