[U-Boot] ColdFire I2C implementing I2C idle [PATCH]

Michael Durrant mdurrant at arcturusnetworks.com
Tue Jan 19 21:50:14 CET 2010


Signed-off-by: David Wu <davidwu at arcturusnetworks.com>
Signed-off-by: Michael Durrant <mdurrant at arcturusnetworks.com>


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 


More information about the U-Boot mailing list