]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] 2/5 powerpc: Rework PowerMac i2c part 2
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 7 Jan 2006 00:35:26 +0000 (11:35 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:47:17 +0000 (15:47 +1100)
commita28d3af2a26c89aaa6470ca36edb212e05143d67
tree765472fcde19c3717c6bde60fef2702394718c36
parent730745a5c45093982112ddc94cee6a9973455641
[PATCH] 2/5 powerpc: Rework PowerMac i2c part 2

This is the continuation of the previous patch. This one removes the old
PowerMac i2c drivers (i2c-keywest and i2c-pmac-smu) and replaces them
both with a single stub driver that uses the new PowerMac low i2c layer.

Now that i2c-keywest is gone, the low-i2c code is extended to support
interrupt driver transfers. All i2c busses now appear as platform
devices. Compatibility with existing drivers should be maintained as the
i2c bus names have been kept identical, except for the SMU bus but in
that later case, all users has been fixed.

With that patch added, matching a device node to an i2c_adapter becomes
trivial.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
12 files changed:
arch/powerpc/platforms/powermac/low_i2c.c
arch/powerpc/platforms/powermac/setup.c
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-keywest.c [deleted file]
drivers/i2c/busses/i2c-keywest.h [deleted file]
drivers/i2c/busses/i2c-pmac-smu.c [deleted file]
drivers/i2c/busses/i2c-powermac.c [new file with mode: 0644]
drivers/macintosh/Kconfig
drivers/macintosh/smu.c
drivers/macintosh/windfarm_lm75_sensor.c
include/asm-powerpc/pmac_low_i2c.h