[PATCHv2] i2c: adds support for i2c bus on Freescale CPM1/CPM2 controllers

Jean Delvare khali at linux-fr.org
Fri May 30 01:52:26 EST 2008


On Wed, 21 May 2008 18:39:42 +0200, Jochen Friedrich wrote:
> This driver uses the port of 2.4 code from Vitaly Bordug
> <vitb at kernel.crashing.org> and the actual algorithm used by the i2c
> driver of the DBox code on cvs.tuxboc.org from Felix Domke
> (tmbinc at gmx.net) and Gillem (htoa at gmx.net) converted to an
> of_platform_driver. Tested on CPM1 (MPC823 on dbox2 hardware) and
> CPM2 (MPC8272).
> 
> Signed-off-by: Jochen Friedrich <jochen at scram.de>
> ---
>  drivers/i2c/busses/Kconfig   |   10 +
>  drivers/i2c/busses/Makefile  |    1 +
>  drivers/i2c/busses/i2c-cpm.c |  745 ++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 756 insertions(+), 0 deletions(-)
>  create mode 100644 drivers/i2c/busses/i2c-cpm.c
> 
> Changes since last version:
> - change bus-frequency -> clock-frequency to comply to OF standard.
> 

Applied, thanks. And thanks a lot to Wolfram for the review :)

-- 
Jean Delvare



More information about the Linuxppc-dev mailing list