Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-13-2011, 01:05 AM   #1
LQ Newbie
Registered: Jul 2011
Posts: 4

Rep: Reputation: Disabled
how platform device drivers are different

I am new to linux.Recently I checked two device drivers for SPI (serial peripheral interface). One driver is using platform_driver_register function to register the driver and it is using spi base address.
The other driver is using spi_register_driver to register it and it is using the SPI bus number.
Why the difference between these two drivers. If it is based on the chip set, then how do I know, when to use the platform device driver and when to use the other.

Please help me.

Old 08-12-2011, 06:45 AM   #2
LQ Newbie
Registered: Aug 2011
Posts: 9

Rep: Reputation: Disabled
If you are still waiting for a reply then the document below may help you

Old 09-04-2015, 07:11 AM   #3
LQ Newbie
Registered: Sep 2015
Posts: 1

Rep: Reputation: Disabled
Hi Sunil,
Did you get answer of your question. I also have same question.



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
Looking for an embedded wireless device platform NedRyerson Linux - Embedded & Single-board computer 2 01-21-2009 11:14 AM
porting drivers on ARM9 platform ravi_chobey Linux - Kernel 2 06-26-2008 04:36 AM
NIC Drivers - for Intel 825xx 10/100 Platform LAN Connect Device on DELL Vostro sukmannava Linux - Networking 2 05-16-2008 01:32 PM
nforce platform drivers and 2.6.5 sueisfine Linux - Software 2 04-14-2004 10:45 AM
got reply about the drivers(but for which platform) tuxfood Linux - Hardware 2 08-28-2003 07:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:59 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