android_kernel_xiaomi_sm8350/arch/ppc/syslib
Benjamin Herrenschmidt 0365ba7fb1 [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>
2005-09-22 22:17:35 -07:00
..
btext.c
cpc700_pic.c [PATCH] PPC: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
cpc700.h
cpc710.h
cpm2_common.c
cpm2_pic.c
cpm2_pic.h
dcr.S
gen550_dbg.c
gen550_kgdb.c
gen550.h
gt64260_pic.c
harrier.c
hawk_common.c
i8259.c [PATCH] PPC: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
ibm44x_common.c
ibm44x_common.h [PATCH] ppc32: add 440ep support 2005-08-01 19:14:01 -07:00
ibm440gp_common.c
ibm440gp_common.h
ibm440gx_common.c [PATCH] ppc32: Kill PVR_440* defines 2005-09-09 13:57:29 -07:00
ibm440gx_common.h
ibm440sp_common.c
ibm440sp_common.h
ibm_ocp.c
indirect_pci.c
ipic.c
ipic.h
m8xx_setup.c [PATCH] ppc32 8xx: fix warnings in m8xx_setup.c 2005-08-30 11:15:19 -07:00
m8xx_wdt.c
m8xx_wdt.h
m82xx_pci.c [PATCH] ppc32: fix compilation error with CONFIG_PQ2FADS 2005-07-27 16:25:55 -07:00
m82xx_pci.h
m8260_pci_erratum9.c
m8260_setup.c
Makefile [PATCH] ppc32: Add ppc_sys descriptions for PowerQUICC I devices 2005-09-17 11:50:01 -07:00
mpc8xx_devices.c [PATCH] ppc32: Add ppc_sys descriptions for PowerQUICC I devices 2005-09-17 11:50:01 -07:00
mpc8xx_sys.c [PATCH] ppc32: Add ppc_sys descriptions for PowerQUICC I devices 2005-09-17 11:50:01 -07:00
mpc10x_common.c [SERIAL] Use an enum for serial8250 platform device IDs 2005-09-08 16:04:41 +01:00
mpc52xx_devices.c
mpc52xx_pci.c
mpc52xx_pci.h
mpc52xx_pic.c
mpc52xx_setup.c
mpc52xx_sys.c
mpc83xx_devices.c [SERIAL] Use an enum for serial8250 platform device IDs 2005-09-08 16:04:41 +01:00
mpc83xx_sys.c
mpc85xx_devices.c [SERIAL] Use an enum for serial8250 platform device IDs 2005-09-08 16:04:41 +01:00
mpc85xx_sys.c
mv64x60_dbg.c
mv64x60_win.c
mv64x60.c [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions 2005-09-09 14:03:48 -07:00
mv64360_pic.c [PATCH] ppc32: mv64x60 updates & enhancements 2005-09-05 00:06:00 -07:00
ocp.c [PATCH] ppc32: fix ocp_device_suspend to use pm_message_t instead of u32 2005-09-07 16:57:15 -07:00
of_device.c [PATCH] ppc64: SMU driver update & i2c support 2005-09-22 22:17:35 -07:00
open_pic2.c [PATCH] Fix up some pm_message_t types 2005-09-17 11:50:00 -07:00
open_pic_defs.h
open_pic.c [PATCH] swsusp: fix remaining u32 vs. pm_message_t confusion 2005-09-05 00:06:15 -07:00
pci_auto.c
ppc4xx_dma.c [PATCH] ppc32: fix ppc4xx stb03xxx dma build 2005-08-18 12:53:58 -07:00
ppc4xx_pic.c
ppc4xx_pm.c
ppc4xx_setup.c [PATCH] ppc32: Added support for the Book-E style Watchdog Timer 2005-09-05 00:05:56 -07:00
ppc4xx_sgdma.c
ppc8xx_pic.c
ppc8xx_pic.h
ppc83xx_pci.h [PATCH] ppc32: Added PCI support MPC83xx 2005-09-05 00:05:59 -07:00
ppc83xx_setup.c [PATCH] ppc32: Added PCI support MPC83xx 2005-09-05 00:05:59 -07:00
ppc83xx_setup.h [PATCH] ppc32: Added PCI support MPC83xx 2005-09-05 00:05:59 -07:00
ppc85xx_common.c
ppc85xx_common.h
ppc85xx_setup.c [PATCH] ppc32: Fix configuration of PCI IO space on MPC85xx platform 2005-09-22 09:41:35 -07:00
ppc85xx_setup.h
ppc403_pic.c [PATCH] PPC: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
ppc405_pci.c
ppc_sys.c [PATCH] ppc32: ppc_sys system on chip identification additions 2005-09-05 00:05:58 -07:00
pq2_devices.c [PATCH] ppc32: Add ppc_sys descriptions for PowerQUICC II devices 2005-09-05 00:05:56 -07:00
pq2_sys.c [PATCH] ppc32: Add ppc_sys descriptions for PowerQUICC II devices 2005-09-05 00:05:56 -07:00
prep_nvram.c [PATCH] ppc32: remove use of asm/segment.h 2005-09-13 08:22:28 -07:00
prom_init.c
prom.c
qspan_pci.c [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions 2005-09-09 14:03:48 -07:00
todc_time.c
xilinx_pic.c [PATCH] PPC: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00