Help me to get SPI sample code for VF61 in linux platform

Please help me to get some sample code for initialization of SPI module in VF61 linux. How we can send and receive data through SPI.

Please have a look at the following article on our developer website. The sample code itself can be found as part of the kernel documentation here.