You could use the SPI driver in our BSP as an example, I don't know of another example we may have.
You may use the driver available for our SABRE board; provided that you configure them for your particular configuration. You may download the Linux Source package for the SABRE from our website, which has the code for all drivers in our board.
You can find the Source package on this link under Run-time Software.
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=RDIMX6SABREBRD&fpsp=1&tab=Design_Tool...
Best regards,
Sergio
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------