]> git.baikalelectronics.ru Git - kernel.git/commit
omap: Split i2c platform init for mach-omap1 and mach-omap2
authorTony Lindgren <tony@atomide.com>
Sat, 12 Dec 2009 00:16:32 +0000 (16:16 -0800)
committerTony Lindgren <tony@atomide.com>
Sat, 12 Dec 2009 00:16:32 +0000 (16:16 -0800)
commitb63128e81214cc2db2995d690438055c26d213a5
tree9b319655d1456fd9f2b8a1a25b7b70047e6fb0ad
parent4b715efccf9547c0d7fe864277526fee3d9b6bba
omap: Split i2c platform init for mach-omap1 and mach-omap2

Otherwise we cannot limit new mux code to mach-omap2.
The same signal names should eventually work for other
omaps under mach-omap2.

Note that these pins don't need to be OMAP_PIN_INPUT_PULLUP,
just OMAP_PIN_INPUT is enough.

Cc: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/Makefile
arch/arm/mach-omap1/i2c.c [new file with mode: 0644]
arch/arm/mach-omap2/Makefile
arch/arm/mach-omap2/i2c.c [new file with mode: 0644]
arch/arm/plat-omap/i2c.c
arch/arm/plat-omap/include/plat/common.h
arch/arm/plat-omap/include/plat/i2c.h [new file with mode: 0644]