On the Overo connector, PWM0 and PWM1 are connected to the PWM outputs on the TPS65950 part on the Over board. They are not connected to the Omap.
The twl4030 driver uses i2c.1 to communicate to the TPS65950 chip. According to this beagleboard list, the twl and tps are pin and register compatible parts. http://groups.google.com/group/beagleboard/browse_thread/thread/6b239853665d4b9d?pli=1
Of course, on our new custom board, two LEDs are wired to the PWMs and I need to control the LED brightness.
I have tried building a user space program to access the i2c. When I do the ioctl to set the slave address it returns "Device or resource busy". This is because the twl4030 driver is using the i2c.
I am digging into the twl4030 driver now. Has anyone else already been down this road?
Is there a user space interface to the twl4030 that I could use to turn the LEDs on and off? Treating them as a GPIO is better than nothing (I am stuck with the LEDs always on now).
Please, if you have been into the twl4030 driver let us all benefit from your experience.
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.