From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Durrant Date: Tue, 19 Jan 2010 15:50:14 -0500 Subject: [U-Boot] ColdFire I2C implementing I2C idle [PATCH] Message-ID: <4B561B06.7020204@arcturusnetworks.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Signed-off-by: David Wu Signed-off-by: Michael Durrant Patch created against u-boot-2009.11 release drivers_i2c_fsl_i2c.patch - need to set I2C to be idle acoording to the MCF5282 user's manual If I2SR[IBB] is set when the I2C bus module is enabled, execute the following code sequence before proceeding with normal initialization code. This issues a STOP command to the slave device, placing it in idle state as if it were just power-cycled on. I2CR = 0x0 I2CR = 0xA dummy read of I2DR I2SR = 0x0 I2CR = 0x0 -- Michael Durrant mdurrant at arcturusnetworks.com -------------- next part -------------- A non-text attachment was scrubbed... Name: drivers_i2c_fsl_i2c.patch Type: application/octet-stream Size: 1005 bytes Desc: not available Url : http://lists.denx.de/pipermail/u-boot/attachments/20100119/6b191970/attachment.obj