Ritu, have a look at Free Electron's Embedded Linux kernel and driver development training materials http://free-electrons.com/doc/training/linux-kernel/ They demonstrate step by step how to write an I2C driver under Linux for the beaglebone.
Frankly I've given up on learning Linux device drivers....I just use userspace interfaces i2cdev/spidev/sysfs e.t.c Hussam On Tuesday, February 11, 2014 2:35:56 PM UTC-5, Ritu Sharma wrote: > > Hi All, > > I'm an experienced rtos driver developer but new to linux i2c subsystem :) > > For quite some time I was trying to learn i2c subsystem by looking at > sources... but may be its way too much for me to understand the > terminologies : bus driver/adapters/clients... I keep confusing between > them... which is i2c controller driver out of them... what are adapters.... > so on and so forth. > > I decided to work on it practically and understand it completely for once > and all.... ofcourse with community support. > Below is the plan I have for this: > > 1. remove i2c support from BBB kernel sources > 2. add one by one after understanding what is being added > 3. final aim is to make one RTC and eeprom over i2c to work with BBB > > For step 1, I would be grateful if some one could tells us what files I > need to remove and what those files do an outline. > > I think this sort of understanding many newbies in kernel would like to > have. I call upon them to add on this thread with related info. > > Cheers > Ritu > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
