Documentation:Linux/SPI
From AVRFreaks Wiki
In Linux Userspace, SPI is driver through "spidev".
Under Construction
[edit] Getting spidev
To get access to spidev for a particular chip select, you must attach it in your kernel [todo: fill in! In the mean time please search the forum :-)]
[edit] Using spidev
spidev documentation and example code can be found in the Documentation/spi folder of a kernel source tree. If you don't have one of these, it can be viewed online here
