Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 03-04-2012, 06:14 PM   #1
Registered: Aug 2004
Posts: 173

Rep: Reputation: 0
Can i register a ssc driver (a serial interface device) to be a spi driver ?

For normal spi devices, they call "spi_register_master".

I have a ssc module in the Arm chip, want to use it to emulate spi device. Plan to implement transfer() method as other spi device drivers.

If i register it using spi_register_master in probe(),
can i send spi IOCTLs from spidev.c to it ?
I know i need to fill in stuff in this ssc driver,
but hopefully all high level spi related stuff stays the same. Basically emulates ssc as spi.

Any suggestions ?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
About use FIQ for SPI slave in device driver. jason222333 Linux - Kernel 4 10-25-2010 02:37 PM
Which driver type suits my custom serial device best? ansidor Programming 1 09-15-2010 04:55 PM
Serial Port Device Driver GeorgeOfTheBush Linux - Software 1 11-08-2009 01:50 PM
Serial Driver Failing to Register all Ports of my Quad Uart bramsey123 Linux - Newbie 0 09-13-2007 10:16 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:39 AM.

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