> > Hugo Vincent wrote: > > Hi everyone, > > > > This patch improves I2C support on OMAP3 platforms, including > > supporting the second and third I2C controllers (mainline only > > supports the first controller), and supporting writes where alen=0 > > (i.e. no register address - this was needed for some I2C devices I > > needed to drive from u-boot). > > > > Tested on Gumstix Overo with several I2C devices, on I2C1 and 3. > > > > The multi-bus support is mostly from this patch: > > http://www.beagleboard.org/gitweb/?p=u-boot-arm.git;a=commit;h=52eddcd07c2e7ad61d15bab2cf2d0d21466eaca2 > > > > Best regards, > > Hugo Vincent > > > > Signed-off-by: Hugo Vincent <hugo.vinc...@gmail.com> > > Does anybody have an up to date version of this patch? Seems we need > it for Beagle Zippy, too. > > Thanks > > Dirk
I have cherry picked this change from the above git repo. There was some cleanup. The omap24xx version changes were done. The structure elements were changed from unsigned int to unsigned shorts + pads to make the elements consistent with the writew/readw 's used in the driver. The cmd_i2c changes that did not seem to fit were removed. I have run tested this on beagle and zoom1. Since I don't have a zippy board handy I did not get anything meaningfull when switching to i2c dev 2. The default i2c dev worked as expected. Tom _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot