ARMV7: Modify i2c driver for more reliable operation on OMAP4
authorSteve Sakoman <steve@sakoman.com>
Tue, 20 Jul 2010 03:31:55 +0000 (20:31 -0700)
committerSandeep Paulraj <s-paulraj@ti.com>
Thu, 5 Aug 2010 14:11:24 +0000 (10:11 -0400)
commitd708395d2f83295fba9d9b18823ce17046793590
tree55341b83e3c4ed864af43932aa03d6df3308000c
parent674e0b217f794800048d80de09a71255b890a53e
ARMV7: Modify i2c driver for more reliable operation on OMAP4

This patch modifies the init routine to follow the TRM
recommendations. It also modifies the i2c_read_byte function
to reflect subtle differences between the i2c controller in
OMAP3 and OMAP4.

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Acked-by: Nishanth Menon <menon.nishanth@gmail.com>
Acked-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
arch/arm/include/asm/arch-omap3/i2c.h
drivers/i2c/omap24xx_i2c.c
drivers/i2c/omap24xx_i2c.h