]> git.sur5r.net Git - u-boot/commit
i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards
authorŁukasz Majewski <l.majewski@samsung.com>
Tue, 4 Sep 2012 23:15:20 +0000 (23:15 +0000)
committerHeiko Schocher <hs@denx.de>
Mon, 17 Sep 2012 07:39:50 +0000 (09:39 +0200)
commit7ca8f73a0ad9176e6e45190a3490bbeb3d80e018
tree70dc1bcf7f4b35aa0a92483f5a0611d549a0118a
parenta532278074f1d1fa7d46b144e0d4b824ae7d3335
i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

Support for multiple soft I2C buses.

Multibus I2C support is achieved by defining get_multi_{sda|scl}_pin
functions to switch between multiple "soft" I2C buses.

Common definition of I2C_X I2C buses is provided at <i2c.h>.

TEST HW:
     Samsung's Exynos4210 evt.0.1 - Trats development board

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Acked-by: Heiko Schocher <hs@denx.de>
board/samsung/common/Makefile [new file with mode: 0644]
board/samsung/common/multi_i2c.c [new file with mode: 0644]
include/i2c.h