LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-04-2012, 06:14 PM   #1
5883
Member
 
Registered: Aug 2004
Posts: 155

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".
atmel_spi.c

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 ?
 
  


Reply


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


All times are GMT -5. The time now is 04:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration