[PATCH] [POWERPC] i2c: adds support for i2c bus on 8xx

Jochen Friedrich jochen at scram.de
Sun Oct 14 07:41:36 EST 2007


Using 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 Tmbinc, Gillem (htoa at gmx.net). Renamed
i2c-algo-8xx.c to i2c-algo-cpm.c and i2c-rpx.c to i2c-8xx-of.c. Added
original i2c-rpx.c as i2c-8xx.c for pre-OF (arch ppc) devices.

Signed-off-by: Jochen Friedrich <jochen at scram.de>
---
This can be pulled from git://git.bocc.de/dbox2.git i2c

 arch/powerpc/platforms/8xx/mpc885ads_setup.c |    6 +
 arch/powerpc/sysdev/fsl_soc.c                |   15 +
 drivers/i2c/algos/Kconfig                    |   12 +
 drivers/i2c/algos/Makefile                   |    1 +
 drivers/i2c/algos/i2c-algo-cpm.c             |  562 ++++++++++++++++++++++++++
 drivers/i2c/busses/Kconfig                   |   16 +
 drivers/i2c/busses/Makefile                  |    2 +
 drivers/i2c/busses/i2c-8xx-of.c              |  170 ++++++++
 drivers/i2c/busses/i2c-8xx.c                 |  105 +++++
 include/linux/i2c-algo-cpm.h                 |   34 ++
 10 files changed, 923 insertions(+), 0 deletions(-)
 create mode 100644 drivers/i2c/algos/i2c-algo-cpm.c
 create mode 100644 drivers/i2c/busses/i2c-8xx-of.c
 create mode 100644 drivers/i2c/busses/i2c-8xx.c
 create mode 100644 include/linux/i2c-algo-cpm.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b654609590d9aa07d46749783b2cf01eba5f422b.diff
Type: text/x-patch
Size: 26775 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20071013/6b6c945f/attachment-0001.bin 


More information about the Linuxppc-embedded mailing list