From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Schwebel Date: Wed, 12 Mar 2003 09:43:33 +0100 Subject: [U-Boot-Users] I2C Initialization In-Reply-To: References: <05ff01c2e2da$20817c60$6d4ba8c0@alb.sub.de> Message-ID: <20030312084333.GW4459@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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