Skip to content

Commit

Permalink
i2c-bfin-twi: Add platform_resource interface to support multi-port T…
Browse files Browse the repository at this point in the history
…WI 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>
  • Loading branch information
Bryan Wu authored and Jean Delvare committed Apr 22, 2008
1 parent 4dd39bb commit aa3d020
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 108 deletions.
2 changes: 1 addition & 1 deletion drivers/i2c/busses/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit aa3d020

Please sign in to comment.