omap: i2c: Add i2c support on omap4 platform
authorTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2010 00:53:39 +0000 (16:53 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Mar 2010 00:53:43 +0000 (16:53 -0800)
commitd801672621b8f6d4e3680aa8019e8b645329069c
tree4b861874b78999950ab2e8716c45431b789d86d8
parentcc24db871b09174d90dc2b6a212641bfc18988b3
omap: i2c: Add i2c support on omap4 platform

This patch is rebased version of earlier post to add I2C
driver support to OMAP4 platform. On OMAP4, all
I2C register address offsets are changed from OMAP1/2/3 I2C.
In order to not have #ifdef's at various places in code,
as well as to support multi-OMAP build, an array is created
to hold the register addresses with it's offset.

This patch was submitted, reviewed and acked on mailing list
already. For more details refer below link
http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg02281.html

This updated verion has a depedancy on "Add support for 16-bit registers"
posted on linux-omap. Below is the patch-works link for the same

http://patchwork.kernel.org/patch/72295/

Signed-off-by: Syed Rafiuddin <rafiuddin.syed@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Reviewed-by: Paul Walmsley <paul@pwsan.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Cory Maccarrone <darkstar6262@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/busses/i2c-omap.c