From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Schwebel Date: Wed, 5 Mar 2003 15:44:41 +0100 Subject: [U-Boot-Users] I2C Initialization In-Reply-To: References: <05ff01c2e2da$20817c60$6d4ba8c0@alb.sub.de> Message-ID: <20030305144441.GD16290@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 05, 2003 at 08:05:45AM -0500, Adam Bezanson wrote: > I don't have the ability to control the I2C lines directly from the > processor. I'm using a 7410. I have a System controller chip which has > the I2C master controller in it. All it provides is a higher lever > indirect access register interface to control I2C transactions. > > I have though about controlling the power supply to the I2C slaves and > have them controled by register bits in memory space. But this would > require alot of rework of the hardware at several places in my > particular system. > > In terms of your question of the system hanging while masking reset to > the processor, I was thinking of adding a timer in hardware to unmask > the reset if it's set too long. Thanks for making sure I've thought of > all the obvious corner cases. All these answers let me conclude that we need a board specific board_i2c_reset() function. I'll prepare a patch. 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