[PATCH] 1/5 powerpc: Rework PowerMac i2c part 1
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sat, 7 Jan 2006 00:30:44 +0000 (11:30 +1100)
committerPaul Mackerras <paulus@samba.org>
Mon, 9 Jan 2006 04:47:16 +0000 (15:47 +1100)
commit730745a5c45093982112ddc94cee6a9973455641
tree1c36bd96c28d08e2b5d839ba3f4e37588aad2328
parent002ec58eb57bac2380f0ed5a4e88121b4bdb32ec
[PATCH] 1/5 powerpc: Rework PowerMac i2c part 1

This is the first part of a rework of the PowerMac i2c code. It
completely reworks the "low_i2c" layer. It is now more flexible,
supports KeyWest, SMU and PMU i2c busses, and provides functions to
match device nodes to i2c busses and adapters.

This patch also extends & fix some bugs in the SMU driver related to i2c
support and removes the clock spreading hacks from the pmac feature code
rather than adapting them to the new API since they'll be replaced by
the platform function code completely in patch 3/5

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/powermac/feature.c
arch/powerpc/platforms/powermac/low_i2c.c
arch/powerpc/platforms/powermac/setup.c
arch/powerpc/platforms/powermac/smp.c
drivers/i2c/busses/i2c-pmac-smu.c
drivers/macintosh/smu.c
drivers/macintosh/via-pmu.c
include/asm-powerpc/pmac_feature.h
include/asm-powerpc/pmac_low_i2c.h
include/asm-powerpc/smu.h
include/linux/pmu.h