LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 12-08-2012, 01:49 AM   #1
NishaK
LQ Newbie
 
Registered: Feb 2012
Location: Chennai
Distribution: Fedora
Posts: 7

Rep: Reputation: Disabled
SPI and I2C userspace support in linux


Hi,

Im using linux-3.0.36 with mpc8379 processor. I have slave devices(like ADC, led controller, eeprom, lcd controller) connected with i2c and spi bus.

For SPI, ive used spi_register_board_info to register slave devices in board file as per documentation for User Space Support

But i did not register my i2c devices using i2c_register_board_info. I dont think i needed it.

My question is Can i access my i2c devices in User Space only using slave address? (ie without registering)

What is the difference between SPI and I2C device registration in Linux?

Guide me if ive understood anything wrong?

-Nisha K
 
  


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
linux-kernel/driver/spi - General question Disciple1102 Linux - General 0 07-18-2012 04:16 PM
How to forward IOCTL's from i2c-dev.c to adapter driver (i2c-rt3352.c) elonica.pl Linux - Kernel 2 08-23-2011 02:03 AM
Linux I2C Driver support for Intel QM57 raj010 Linux - Newbie 2 11-03-2010 11:21 PM
Linux SPI Framework ananth86coolguy Linux - Newbie 2 09-22-2009 03:07 AM


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