In case someone needs to talk to the TPS65950.
You can talk to it by using the ioctl command I2C_SLAVE_FORCE when setting the i2c address. If you do not use the FORCE, the set address ioctl will fail with the device in use error.

I was able to write a user space program to use the PWM0 and PWM1 outputs (the two that come out of the Overo connectors).

Be careful, the kernel driver is still active, if you write to the wrong thing, it will burn you.

On Fri, Mar 19, 2010 at 11:36 PM, Dave Hylands <dhylands@gmail.com> wrote:
HI Erik,

On Fri, Mar 19, 2010 at 10:11 PM, Erik Rodriguez
<erik.rodriguez@certifiedcompliance.com> wrote:
> All,
> Where do I find the source files needed to compile a program making use of
> I2C bus? I have found several versions of i2c-dev.h, and even more of the
> files required by that.

You only need i2c-dev.h.

The documentation is in the linux Documentation/i2c/dev-interface

I've written several programs which use the i2c-dev interface. It can
be used  for i2c devices which don't otherwise have a linux driver.
The TPS60950 for example, has a dedicated driver, so you can't use
i2c-dev to talk to it.

Dave Hylands
Shuswap, BC, Canada

Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
gumstix-users mailing list

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.