LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   How to write a SPI driver ? (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/how-to-write-a-spi-driver-4175448149/)

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 06:47 PM.