]> git.baikalelectronics.ru Git - kernel.git/commit
I2C: OMAP2+: Tag all OMAP2+ hwmod defintions with I2C IP revision
authorAndy Green <andy@warmcat.com>
Sun, 10 Jul 2011 11:27:15 +0000 (05:27 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 10 Jul 2011 11:27:15 +0000 (05:27 -0600)
commit35570ba2523c415ad5bcefbe3650fa262cede0cf
treec196522f48d09ed7aa2772f220cdad7630509f27
parent6a01f4f77683d0f6a85f60efabf743157932f827
I2C: OMAP2+: Tag all OMAP2+ hwmod defintions with I2C IP revision

Since we cannot trust (or even reliably find) the OMAP I2C
peripheral unit's own revision register, we must inform the
OMAP i2c driver of which IP version it is running on.  We
do this by tagging the omap_hwmod_class for i2c on all the
OMAP2+ platform / cpu specific hwmod init and passing it up
to the driver (next patches).

Cc: patches@linaro.org
Cc: Ben Dooks <ben-linux@fluff.org>
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/omap_hwmod_2420_data.c
arch/arm/mach-omap2/omap_hwmod_2430_data.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/omap_hwmod_44xx_data.c