ARM: OMAP: Add helper module for board specific I2C bus registration
authorJarkko Nikula <jarkko.nikula@nokia.com>
Wed, 7 Nov 2007 04:54:31 +0000 (06:54 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Feb 2008 18:38:00 +0000 (10:38 -0800)
commit85d05fb3fde692fdaa6b1f84c33fee718abebf0f
treebb6d31c2b3df0c74a3ec48c464bf310763453881
parentce2df9ca41997f38cdfb9bee0db08763487222ae
ARM: OMAP: Add helper module for board specific I2C bus registration

This helper module simplifies I2C bus registration for different OMAP
platforms by doing registration in one place only and to allow board
specific bus configuration like clock rate and number of busses configured.

Helper should cover OMAP processors from first to third generation.

This patch just adds the feature and current implementation cleanup and
board file modifications will be done in following patches.

Signed-off-by: Jarkko Nikula <jarkko.nikula@nokia.com>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/Makefile
arch/arm/plat-omap/i2c.c [new file with mode: 0644]
include/asm-arm/arch-omap/common.h
include/asm-arm/arch-omap/irqs.h