diff options
author | Jochen Friedrich <jochen@scram.de> | 2008-07-14 16:38:27 -0400 |
---|---|---|
committer | Jean Delvare <khali@mahadeva.delvare> | 2008-07-14 16:38:27 -0400 |
commit | 61045dbe9d8d81b1bae4dc1e9482d389ca99edc1 (patch) | |
tree | 17297c1f6cada3e3ec57362d88a879191f8a17e8 /drivers/i2c/busses/Kconfig | |
parent | 77e38bffe0fcaa48f0be68eaa1de4a59d1fd93ad (diff) |
i2c: Add support for I2C bus on Freescale CPM1/CPM2 controllers
This driver uses the port of 2.4 code from Vitaly Bordug
<vitb@kernel.crashing.org> and the actual algorithm used by the i2c
driver of the DBox code on cvs.tuxboc.org from Felix Domke
(tmbinc@gmx.net) and Gillem (htoa@gmx.net) converted to an
of_platform_driver. Tested on CPM1 (MPC823 on dbox2 hardware) and
CPM2 (MPC8272).
Signed-off-by: Jochen Friedrich <jochen@scram.de>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/i2c/busses/Kconfig')
-rw-r--r-- | drivers/i2c/busses/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig index 56b6f29c9a3c..6ee997b2817c 100644 --- a/drivers/i2c/busses/Kconfig +++ b/drivers/i2c/busses/Kconfig | |||
@@ -299,6 +299,16 @@ config I2C_BLACKFIN_TWI_CLK_KHZ | |||
299 | help | 299 | help |
300 | The unit of the TWI clock is kHz. | 300 | The unit of the TWI clock is kHz. |
301 | 301 | ||
302 | config I2C_CPM | ||
303 | tristate "Freescale CPM1 or CPM2 (MPC8xx/826x)" | ||
304 | depends on (CPM1 || CPM2) && OF_I2C | ||
305 | help | ||
306 | This supports the use of the I2C interface on Freescale | ||
307 | processors with CPM1 or CPM2. | ||
308 | |||
309 | This driver can also be built as a module. If so, the module | ||
310 | will be called i2c-cpm. | ||
311 | |||
302 | config I2C_DAVINCI | 312 | config I2C_DAVINCI |
303 | tristate "DaVinci I2C driver" | 313 | tristate "DaVinci I2C driver" |
304 | depends on ARCH_DAVINCI | 314 | depends on ARCH_DAVINCI |