public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Better I2C support for OMAP
@ 2009-11-01  1:52 Tom Rix
  2009-11-01  1:52 ` [U-Boot] [PATCH] Add I2C multibus support for OMAP2/3 boards Tom Rix
  0 siblings, 1 reply; 10+ messages in thread
From: Tom Rix @ 2009-11-01  1:52 UTC (permalink / raw)
  To: u-boot


> 
> 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.vincent@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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-11-05  6:50 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-01  1:52 [U-Boot] Better I2C support for OMAP Tom Rix
2009-11-01  1:52 ` [U-Boot] [PATCH] Add I2C multibus support for OMAP2/3 boards Tom Rix
2009-11-01  8:24   ` Dirk Behme
2009-11-01 12:43     ` Tom
2009-11-01 17:09       ` Tom
2009-11-02  7:28     ` Heiko Schocher
2009-11-02 19:32       ` Dirk Behme
2009-11-05  6:25         ` Heiko Schocher
2009-11-05  6:35           ` Dirk Behme
2009-11-05  6:50             ` Heiko Schocher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox