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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc700_pic.c [PATCH] PPC: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
cpc700.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpc710.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpm2_common.c [PATCH] ppc32: Add proper prototype for cpm2_reset() 2005-07-27 16:25:55 -07:00
cpm2_pic.c [PATCH] ppc32: workaround for spurious IRQs on PQ2 2005-05-01 08:58:42 -07:00
cpm2_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dcr.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550_dbg.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550_kgdb.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gen550.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gt64260_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
harrier.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hawk_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
i8259.c [PATCH] PPC: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
ibm44x_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm44x_common.h [PATCH] ppc32: add 440ep support 2005-08-01 19:14:01 -07:00
ibm440gp_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gp_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440gx_common.c [PATCH] ppc32: Kill PVR_440* defines 2005-09-09 13:57:29 -07:00
ibm440gx_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440sp_common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm440sp_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ibm_ocp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
indirect_pci.c [PATCH] ppc32: remove some unnecessary includes of bootmem.h 2005-06-25 16:24:27 -07:00
ipic.c [PATCH] ppc32: Fix MPC83xx IPIC external interrupt pending register offset 2005-06-26 08:43:19 -07:00
ipic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m8xx_setup.c [PATCH] ppc32 8xx: fix warnings in m8xx_setup.c 2005-08-30 11:15:19 -07:00
m8xx_wdt.c [PATCH] ppc32: Fix mpc8xx watchdog 2005-04-16 15:24:23 -07:00
m8xx_wdt.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
m82xx_pci.c [PATCH] ppc32: fix compilation error with CONFIG_PQ2FADS 2005-07-27 16:25:55 -07:00
m82xx_pci.h [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
m8260_pci_erratum9.c [PATCH] ppc32: Support for 82xx PQII on-chip PCI bridge 2005-05-28 16:46:15 -07:00
m8260_setup.c [PATCH] ppc32: Add proper prototype for cpm2_reset() 2005-07-27 16:25:55 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_pci.c [PATCH] ppc iomem annotations: ->io_base_virt 2005-04-25 07:55:57 -07:00
mpc52xx_pci.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_setup.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc52xx_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc83xx_devices.c [SERIAL] Use an enum for serial8250 platform device IDs 2005-09-08 16:04:41 +01:00
mpc83xx_sys.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mpc85xx_devices.c [SERIAL] Use an enum for serial8250 platform device IDs 2005-09-08 16:04:41 +01:00
mpc85xx_sys.c [PATCH] ppc32: Added support for new MPC8548 family of PowerQUICC III processors 2005-06-21 18:46:23 -07:00
mv64x60_dbg.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mv64x60_win.c [PATCH] ppc32: remove some unnecessary includes of bootmem.h 2005-06-25 16:24:27 -07:00
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 [PATCH] ppc32: fix compilation error in arch/ppc/syslib/open_pic_defs.h 2005-04-16 15:24:29 -07:00
open_pic.c [PATCH] swsusp: fix remaining u32 vs. pm_message_t confusion 2005-09-05 00:06:15 -07:00
pci_auto.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc4xx_dma.c [PATCH] ppc32: fix ppc4xx stb03xxx dma build 2005-08-18 12:53:58 -07:00
ppc4xx_pic.c [PATCH] ppc32: explicitly disable 440GP IRQ compatibility mode in 440GX setup 2005-07-05 19:18:59 -07:00
ppc4xx_pm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc8xx_pic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc8xx_pic.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PATCH] ppc32: Support 36-bit physical addressing on e500 2005-04-16 15:24:22 -07:00
ppc85xx_common.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc403_pic.c [PATCH] PPC: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00
ppc405_pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
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 [PATCH] ppc32: Apple device-tree bug fix 2005-06-01 07:54:13 -07:00
prom.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
qspan_pci.c [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions 2005-09-09 14:03:48 -07:00
todc_time.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
xilinx_pic.c [PATCH] PPC: C99 initializers for hw_interrupt_type structures 2005-09-10 10:06:27 -07:00