LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 02-01-2013, 06:43 AM   #1
baboundu81
LQ Newbie
 
Registered: Feb 2013
Posts: 1

Rep: Reputation: Disabled
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.
 
Old 02-01-2013, 10:02 AM   #2
elucches
Member
 
Registered: Jan 2011
Posts: 108

Rep: Reputation: 11
Documentation/spi/spi-summary may be a good starting point.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
read and write register via spi gautam1781 Linux - Newbie 0 07-11-2012 04:01 AM
Can i register a ssc driver (a serial interface device) to be a spi driver ? 5883 Programming 0 03-04-2012 06:14 PM
How to debug SPI driver on ubuntu? dennisdd Programming 7 02-20-2012 11:17 AM
Communication with SPI driver Mactub Linux - Software 2 03-16-2010 02:17 AM
how to write spi driver for mpc8247 saheelahamed Linux - Software 1 02-20-2008 12:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration