[U-Boot-Users] I2C Initialization

Robert Schwebel robert at schwebel.de
Wed Mar 12 09:43:33 CET 2003


On Wed, Mar 12, 2003 at 09:31:46AM +0100, Joakim Tjernlund wrote:
> I copied parts of mpc8xx/soft_i2c.c in my ppcboot(1.0.5) and hacked
> a I2C Reset function that is called from misc_init_r().

You should use the i2c_init_board() infrastructure I've recently added. 

On PXA you get problems when you just toggle between the states - the
internal i2c controller thinks there is traffic. So for the innokom
board we switch betwenn "low" and "high impedance". I have no idea if
that helps in your case... 

Robert
-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4




More information about the U-Boot mailing list