Skip to content

Commit

Permalink
i2c: Add support for I2C bus on Freescale CPM1/CPM2 controllers
Browse files Browse the repository at this point in the history
This driver uses the port of 2.4 code from Vitaly Bordug
<[email protected]> and the actual algorithm used by the i2c
driver of the DBox code on cvs.tuxboc.org from Felix Domke
([email protected]) and Gillem ([email protected]) converted to an
of_platform_driver. Tested on CPM1 (MPC823 on dbox2 hardware) and
CPM2 (MPC8272).

Signed-off-by: Jochen Friedrich <[email protected]>
Tested-by: Wolfram Sang <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
  • Loading branch information
Jochen Friedrich authored and Jean Delvare committed Jul 14, 2008
1 parent 77e38bf commit 61045db
Show file tree
Hide file tree
Showing 3 changed files with 756 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/i2c/busses/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,16 @@ config I2C_BLACKFIN_TWI_CLK_KHZ
help
The unit of the TWI clock is kHz.

config I2C_CPM
tristate "Freescale CPM1 or CPM2 (MPC8xx/826x)"
depends on (CPM1 || CPM2) && OF_I2C
help
This supports the use of the I2C interface on Freescale
processors with CPM1 or CPM2.

This driver can also be built as a module. If so, the module
will be called i2c-cpm.

config I2C_DAVINCI
tristate "DaVinci I2C driver"
depends on ARCH_DAVINCI
Expand Down
1 change: 1 addition & 0 deletions drivers/i2c/busses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ obj-$(CONFIG_I2C_POWERMAC) += i2c-powermac.o
obj-$(CONFIG_I2C_AT91) += i2c-at91.o
obj-$(CONFIG_I2C_AU1550) += i2c-au1550.o
obj-$(CONFIG_I2C_BLACKFIN_TWI) += i2c-bfin-twi.o
obj-$(CONFIG_I2C_CPM) += i2c-cpm.o
obj-$(CONFIG_I2C_DAVINCI) += i2c-davinci.o
obj-$(CONFIG_I2C_GPIO) += i2c-gpio.o
obj-$(CONFIG_I2C_IBM_IIC) += i2c-ibm_iic.o
Expand Down
Loading

0 comments on commit 61045db

Please sign in to comment.