About the pin sharing though it has pins for SPI it is also shared as I/O. But i do not intend to use it for any other purpose other than SPI.
There seems to be not much of sample driver code for SPI..... Is SPI char or block device??