LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, LiMo, Maemo, MeeGo, Openmoko, Ubuntu Mobile, WebOS, Firefox OS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site: AndroidQuestions.org

Notices

Reply
 
Search this Thread
Old 06-28-2012, 02:28 AM   #1
vishal_rockstar
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Rep: Reputation: 0
i2c bus


hi,

iam working on i2c bus driver panda specific.
can any one explain files and locations of i2c driver because there are lot of i2c files in drivers like i2c-core.c,/busses/i2c.c,i2c-omap.c

please tell me how to start.

thanx,
vishal
 
Old 06-28-2012, 03:31 AM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,157

Rep: Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013
Hi,

have a look into these directories and their subdirectories:
/usr/src/linux-<version>/Documentation/devicetree/bindings/i2c
/usr/src/linux-<version>/Documentation/i2c
 
Old 06-28-2012, 05:02 AM   #3
vishal_rockstar
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Original Poster
Rep: Reputation: 0
i2c

thats fine i went through those files but i want to know that how i2c bus is initialized and which function is first initialized and when i2c becomes ready for use
 
Old 06-28-2012, 05:41 AM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,157

Rep: Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013
For that I'm afraid you will have to to dive into the code.
 
Old 06-28-2012, 05:59 AM   #5
vishal_rockstar
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Original Poster
Rep: Reputation: 0
ok i am ready please give the path of file
 
Old 06-28-2012, 06:43 AM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,157

Rep: Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013Reputation: 1013
I can hardly believe that you be able to write a driver but not to find your way in /usr/src/linux-<version>/drivers/i2c.

Maybe somebody is willing to do that for you but sorry, I am not.
 
  


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
i2c bus driver jaysh Linux - Software 0 06-27-2012 06:55 AM
[SOLVED] i2c bus crashes ? Mike Davies Linux - Hardware 1 07-23-2011 09:22 AM
I2C Switch / bus interlocking mincher Linux - Embedded & Single-board computer 0 12-02-2009 10:19 AM
Could not set I2C Bus Busy bit to zero mist_4u Linux - Newbie 2 10-15-2009 12:00 AM
Unable to find i2c bus information ? OneManArmy Debian 1 05-16-2004 07:25 PM


All times are GMT -5. The time now is 05:08 PM.

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