i2c-bfin-twi: Add platform_resource interface to support multi-port TWI controllers
authorBryan Wu <cooloney@kernel.org>
Tue, 22 Apr 2008 20:16:48 +0000 (22:16 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 22 Apr 2008 20:16:48 +0000 (22:16 +0200)
commitaa3d02091747727f7ff2e1f2455ad8363a9e6946
tree9d7267eb1e3aea8484e8042e514d74c4430d5a67
parent4dd39bb12f5b9f0d9a98f29071dc1c51e9306954
i2c-bfin-twi: Add platform_resource interface to support multi-port TWI controllers

 - Dynamic alloc the resource of TWI driver data according to board information
 - TWI register read/write accessor based on dynamic regs_base
 - Support TWI0/TWI1 for BF54x

Signed-off-by: Bryan Wu <cooloney@kernel.org>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/Kconfig
drivers/i2c/busses/i2c-bfin-twi.c