OMAP2xxx: hwmod: add I2C hwmods for OMAP2420, 2430
authorPaul Walmsley <paul@pwsan.com>
Wed, 29 Sep 2010 21:10:12 +0000 (02:40 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Tue, 9 Nov 2010 17:26:08 +0000 (09:26 -0800)
commit2004290f55f03c52e22044a5843928cf0f6cc56a
tree0d76f6dcc7e269304819f0f9178933c5673e8486
parentc8ddb2713c624f432fa5fe3c7ecffcdda46ea0d4
OMAP2xxx: hwmod: add I2C hwmods for OMAP2420, 2430

Add hwmod structures for I2C controllers on OMAP2420/2430.

NOTE: I2C module on OMAP2420 has 16bit registers and causes imprecise
aborts if 32bits are read/written to it.  Use the HWMOD_16BIT_REG flag
to notify the hmwod framework of this hard requirement so that
__raw_writew/readw is used to read /write the mdoule registers.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/cm-regbits-24xx.h
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2430_data.c