]> git.sur5r.net Git - u-boot/commit
OMAP2/3: I2C: Add support for second and third bus
authorDirk Behme <dirk.behme@googlemail.com>
Mon, 2 Nov 2009 19:36:26 +0000 (20:36 +0100)
committerHeiko Schocher <hs@denx.de>
Mon, 16 Nov 2009 06:25:15 +0000 (07:25 +0100)
commit1d2e96de56cc57e25a19bc40d297f36c4c4443a2
tree0a372d1635faa3f2486f88fb70b0c221c83a376c
parent06f43286c6354aaab0103615e83893512f86eee7
OMAP2/3: I2C: Add support for second and third bus

Add support to use second and third I2C bus, too.

Bus 0 is still the default, but by calling i2c_set_bus_num(1/2) before doing
I2C accesses, code can switch to bus 1 and 2, too. Don't forget to switch
back afterwards, then.

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
drivers/i2c/omap24xx_i2c.c
include/asm-arm/arch-omap24xx/i2c.h
include/asm-arm/arch-omap3/i2c.h