]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ppc64: SMU driver update & i2c support
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 23 Sep 2005 04:44:06 +0000 (21:44 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Sep 2005 05:17:35 +0000 (22:17 -0700)
commit0365ba7fb1fa94a41289d6a3d36b4d95960e56cc
tree1da4b5fb97266849d86a78010141e7345cc599aa
parent0f329075fb1dbd6845db03e9bb8252024fdbea1f
[PATCH] ppc64: SMU driver update & i2c support

The SMU is the "system controller" chip used by Apple recent G5 machines
including the iMac G5.  It drives things like fans, i2c busses, real time
clock, etc...

The current kernel contains a very crude driver that doesn't do much more
than reading the real time clock synchronously.  This is a completely
rewritten driver that provides interrupt based command queuing, a userland
interface, and an i2c/smbus driver for accessing the devices hanging off
the SMU i2c busses like temperature sensors.  This driver is a basic block
for upcoming work on thermal control for those machines, among others.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
15 files changed:
arch/ppc/platforms/pmac_setup.c
arch/ppc/syslib/of_device.c
arch/ppc64/kernel/of_device.c
arch/ppc64/kernel/pmac_setup.c
arch/ppc64/kernel/pmac_time.c
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-pmac-smu.c [new file with mode: 0644]
drivers/macintosh/smu.c
drivers/macintosh/therm_adt746x.c
drivers/macintosh/therm_pm72.c
drivers/macintosh/therm_windtunnel.c
include/asm-ppc/macio.h
include/asm-ppc/of_device.h
include/asm-ppc64/smu.h