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>
This commit is contained in:
Bryan Wu
2008-04-22 22:16:48 +02:00
committed by Jean Delvare
parent 4dd39bb12f
commit aa3d020917
2 changed files with 177 additions and 108 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ config I2C_AU1550
config I2C_BLACKFIN_TWI
tristate "Blackfin TWI I2C support"
depends on BF534 || BF536 || BF537
depends on BF534 || BF536 || BF537 || BF54x
help
This is the TWI I2C device driver for Blackfin 534/536/537/54x.
This driver can also be built as a module. If so, the module
File diff suppressed because it is too large Load Diff