-   Linux - Embedded & Single-board computer (
-   -   How to write a SPI driver ? (

baboundu81 02-01-2013 06:43 AM

How to write a SPI driver ?
Hello everybody

I'm working on uClinux, and I want to add my proper SPI driver (for my own board) in the kernel. I know that my board will always be in master mode and I want my driver to start with the boot and never stop (I need to statically register,I think , no ?). But I don't understand how to do it.

Can you give some information about the driver writing for linux ? Can you give me a frame to follow or a driver skeleton ?

Sorry for my english, I'm french.

Thanks in advance.

elucches 02-01-2013 10:02 AM

Documentation/spi/spi-summary may be a good starting point.

All times are GMT -5. The time now is 05:23 PM.