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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jochen Friedrich
Date: Monday, October 15, 2007 - 4:10 am

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

Signed-off-by: Jochen Friedrich <jochen@scram.de>
---

This can be pulled from git://git.bocc.de/dbox2.git i2c

 arch/powerpc/boot/dts/mpc885ads.dts          |    9 +
 arch/powerpc/platforms/8xx/mpc885ads_setup.c |    6 +
 arch/powerpc/sysdev/fsl_soc.c                |   61 +++-
 drivers/i2c/algos/Kconfig                    |   12 +
 drivers/i2c/algos/Makefile                   |    1 +
 drivers/i2c/algos/i2c-algo-cpm.c             |  563 ++++++++++++++++++++++++++
 drivers/i2c/busses/Kconfig                   |   22 +
 drivers/i2c/busses/Makefile                  |    2 +
 drivers/i2c/busses/i2c-8xx-ppc.c             |  105 +++++
 drivers/i2c/busses/i2c-8xx.c                 |  170 ++++++++
 include/linux/i2c-algo-cpm.h                 |   34 ++
 11 files changed, 984 insertions(+), 1 deletions(-)
 create mode 100644 drivers/i2c/algos/i2c-algo-cpm.c
 create mode 100644 drivers/i2c/busses/i2c-8xx-ppc.c
 create mode 100644 drivers/i2c/busses/i2c-8xx.c
 create mode 100644 include/linux/i2c-algo-cpm.h
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH take2] [POWERPC] i2c: adds support for i2c bus on 8xx, Jochen Friedrich, (Mon Oct 15, 4:10 am)
Re: [PATCH take2] [POWERPC] i2c: adds support for i2c bus ..., Jochen Friedrich, (Wed Oct 17, 12:20 pm)