I have to develop an SPI device driver to make a at91sam9261 custom board "talk" to an at89s53 in order to receive data from it when needed. I'm using 2.6.14 kernel with support for the spi subsystem enabled. The tree below are files that come with kernel in driver/spi/.