android_kernel_xiaomi_sm8350/arch/ppc64/kernel
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
..
vdso32 kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
vdso64 kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
align.c
asm-offsets.c Merge master.kernel.org:/pub/scm/linux/kernel/git/dwmw2/audit-2.6 2005-09-13 09:47:30 -07:00
binfmt_elf32.c
bitops.c
bpa_iic.c [PATCH] ppc64: fix IPI on bpa_iic 2005-09-09 22:11:34 +10:00
bpa_iic.h
bpa_iommu.c
bpa_iommu.h
bpa_nvram.c
bpa_setup.c
btext.c [PATCH] remove linux/version.h include from arch/ppc64 2005-09-06 16:57:46 +10:00
cpu_setup_power4.S [PATCH] merge some from Rusty's trivial patches 2005-09-10 10:06:30 -07:00
cputable.c [PATCH] ppc64: Fix build with oprofile disabled 2005-09-06 16:09:22 +10:00
dma.c
eeh.c [PATCH] Separate pci bits out of struct device_node 2005-09-09 22:11:38 +10:00
entry.S Merge master.kernel.org:/pub/scm/linux/kernel/git/dwmw2/audit-2.6 2005-09-13 09:47:30 -07:00
firmware.c [PATCH] ppc64: make firmware_has_feature() stronger 2005-08-29 10:53:35 +10:00
head.S [PATCH] ppc64: Fix recent regression 2005-09-15 08:04:39 -07:00
HvCall.c
hvCall.S
hvconsole.c [PATCH] hvc_console: Separate the NUL character filtering from get_hvc_chars 2005-07-07 18:23:40 -07:00
hvcserver.c
HvLpConfig.c
HvLpEvent.c
i8259.c
i8259.h
idle_power4.S kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
idle.c [PATCH] ppc64: idle fixups 2005-07-07 18:23:41 -07:00
init_task.c
ioctl32.c
iomap.c Merge master.kernel.org:/pub/scm/linux/kernel/git/paulus/ppc64-2.6 2005-09-09 10:38:02 -07:00
iommu.c [PATCH] Separate pci bits out of struct device_node 2005-09-09 22:11:38 +10:00
irq.c Merge rsync://rsync.kernel.org/pub/scm/linux/kernel/git/paulus/ppc64-2.6 2005-06-30 08:48:56 -07:00
iSeries_htab.c [PATCH] ppc64: Remove redundant uses of physRpn_to_absRpn 2005-08-29 10:53:36 +10:00
iSeries_iommu.c
iSeries_irq.c
iSeries_pci.c [PATCH] ppc64: indent pci code 2005-09-12 17:19:12 +10:00
iSeries_proc.c [PATCH] ppc64: Move xItLpQueue proc code into ItLpQueue.c 2005-06-30 15:08:44 +10:00
iSeries_setup.c [PATCH] ppc64: Move ppc64_enable_pmcs() logic into a ppc_md function 2005-08-29 10:53:38 +10:00
iSeries_setup.h
iSeries_smp.c
iSeries_vio.c [PATCH] Create vio_bus_ops 2005-08-30 13:23:47 +10:00
iSeries_VpdInfo.c [PATCH] PCI: remove CONFIG_PCI_NAMES 2005-09-08 14:57:23 -07:00
ItLpQueue.c [PATCH] ppc64: Replace custom locking code with a spinlock 2005-06-30 15:17:02 +10:00
kprobes.c [PATCH] kprobes: fix bug when probed on task and isr functions 2005-09-07 16:58:01 -07:00
lmb.c [PATCH] ppc64: Simplify some lmb functions 2005-08-29 10:53:37 +10:00
lparcfg.c [PATCH] ppc64: Allow world readable /proc/ppc64/lparcfg 2005-09-06 16:07:54 +10:00
LparData.c [PATCH] ppc64: msChunks cleanups 2005-08-29 10:53:35 +10:00
lparmap.c [PATCH] iSeries build with newer assemblers and compilers 2005-08-16 21:06:25 -07:00
machine_kexec.c [PATCH] ppc64: fix for kexec boot issue 2005-08-04 13:00:55 -07:00
Makefile [PATCH] ppc64: Split SCC and 15550 udbg code 2005-09-06 16:07:36 +10:00
maple_pci.c [PATCH] ppc64: indent pci code 2005-09-12 17:19:12 +10:00
maple_setup.c [PATCH] ppc64: Make udbg_init_uart set the ppc_md udbg methods. 2005-09-06 16:07:36 +10:00
maple_time.c
mf.c [PATCH] ppc64: Don't count number of events processed for caller 2005-06-30 15:15:53 +10:00
misc.S Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2005-09-09 15:46:49 -07:00
module.c
mpic.c [PATCH] ppc64: fix for kexec boot issue 2005-08-04 13:00:55 -07:00
mpic.h [PATCH] ppc64: fix for kexec boot issue 2005-08-04 13:00:55 -07:00
nvram.c [PATCH] ppc64: simplify nvram partition scanning code 2005-06-28 20:33:49 +10:00
of_device.c [PATCH] ppc64: SMU driver update & i2c support 2005-09-22 22:17:35 -07:00
pacaData.c [PATCH] ppc64: Add VMX save flag to VPA 2005-09-05 00:06:01 -07:00
pci_direct_iommu.c
pci_dn.c [PATCH] Separate pci bits out of struct device_node 2005-09-09 22:11:38 +10:00
pci_iommu.c [PATCH] Separate pci bits out of struct device_node 2005-09-09 22:11:38 +10:00
pci.c [PATCH] ppc64: Fix PCI flags when using OF device tree 2005-09-21 09:15:34 -07:00
pci.h [PATCH] Separate pci bits out of struct device_node 2005-09-09 22:11:38 +10:00
pmac_feature.c [PATCH] Separate pci bits out of struct device_node 2005-09-09 22:11:38 +10:00
pmac_low_i2c.c
pmac_nvram.c
pmac_pci.c [PATCH] ppc64: indent pci code 2005-09-12 17:19:12 +10:00
pmac_setup.c [PATCH] ppc64: SMU driver update & i2c support 2005-09-22 22:17:35 -07:00
pmac_smp.c
pmac_time.c [PATCH] ppc64: SMU driver update & i2c support 2005-09-22 22:17:35 -07:00
pmac.h
pmc.c [PATCH] more SPIN_LOCK_UNLOCKED -> DEFINE_SPINLOCK conversions 2005-09-09 14:03:48 -07:00
ppc_ksyms.c [PATCH] ppc64: Add missing exports 2005-06-27 15:11:43 -07:00
proc_ppc64.c
process.c [PATCH] ppc64: Add ptrace data breakpoint support 2005-09-12 17:19:12 +10:00
prom_init.c [PATCH] ppc64: Fix issue with non zero boot cpu 2005-09-21 10:11:54 -07:00
prom.c [PATCH] Separate pci bits out of struct device_node 2005-09-09 22:11:38 +10:00
pSeries_hvCall.S
pSeries_iommu.c [PATCH] ppc64: Fix build with iommu debug enabled 2005-09-22 22:17:35 -07:00
pSeries_lpar.c [PATCH] ppc64: Take udbg out of ppc_md 2005-09-06 16:07:36 +10:00
pSeries_nvram.c
pSeries_pci.c
pSeries_reconfig.c [PATCH] PPC64: convert kcalloc to kzalloc 2005-09-07 16:57:45 -07:00
pSeries_setup.c [PATCH] ppc64: Make eeh_init function again 2005-09-13 08:26:15 -07:00
pSeries_smp.c [PATCH] ppc64: Fix for missing start-cpu rtas token 2005-09-12 17:19:12 +10:00
pSeries_vio.c [PATCH] Create vio_bus_ops 2005-08-30 13:23:47 +10:00
ptrace32.c [PATCH] ppc64: Add ptrace data breakpoint support 2005-09-12 17:19:12 +10:00
ptrace.c [PATCH] ppc64: Fix 64bit ptrace DABR support 2005-09-22 22:17:35 -07:00
ras.c [PATCH] ppc64: Add ptrace data breakpoint support 2005-09-12 17:19:12 +10:00
rtas_flash.c
rtas_pci.c [PATCH] Separate pci bits out of struct device_node 2005-09-09 22:11:38 +10:00
rtas-proc.c
rtas.c
rtasd.c [PATCH] ppc64: replace schedule_timeout() with msleep_interruptible() 2005-09-05 00:06:01 -07:00
rtc.c [PATCH] ppc64: replace schedule_timeout() with msleep_interruptible() 2005-09-05 00:06:01 -07:00
scanlog.c [PATCH] ppc64: replace schedule_timeout() with msleep_interruptible() 2005-09-05 00:06:01 -07:00
semaphore.c
setup.c [PATCH] ppc64: Remove unused code 2005-09-12 17:19:12 +10:00
signal32.c [PATCH] ppc64: Add ptrace data breakpoint support 2005-09-12 17:19:12 +10:00
signal.c [PATCH] ppc64: Add ptrace data breakpoint support 2005-09-12 17:19:12 +10:00
smp-tbsync.c
smp.c [PATCH] ppc64: dynamically allocate segment tables 2005-07-27 16:25:58 -07:00
spider-pic.c
sys_ppc32.c Allow PCI config space syscalls to be used by 64-bit processes. 2005-09-09 23:02:36 +10:00
syscalls.c [PATCH] powerpc: Make check_bugs() static inline 2005-09-09 22:11:35 +10:00
sysfs.c [PATCH] ppc64: add number of PMCs to cputable 2005-09-06 16:09:20 +10:00
time.c [PATCH] NTP: ntp-helper functions 2005-09-07 16:57:34 -07:00
traps.c [PATCH] Kprobes: prevent possible race conditions ppc64 changes 2005-09-07 16:58:00 -07:00
u3_iommu.c [PATCH] Separate pci bits out of struct device_node 2005-09-09 22:11:38 +10:00
udbg_16550.c [PATCH] ppc64: Remove old includes 2005-09-06 16:07:37 +10:00
udbg_scc.c [PATCH] ppc64: Remove old includes 2005-09-06 16:07:37 +10:00
udbg.c [PATCH] ppc64: iSeries early printk breakage 2005-09-09 22:11:34 +10:00
vdso.c [PATCH] error path in setup_arg_pages() misses vm_unacct_memory() 2005-09-14 11:18:13 -07:00
vecemu.c
vector.S
vio.c [PATCH] Make MODULE_DEVICE_TABLE work for vio devices 2005-08-30 13:31:56 +10:00
viopath.c
vmlinux.lds.S [PATCH] Kprobes: prevent possible race conditions ppc64 changes 2005-09-07 16:58:00 -07:00
xics.c [PATCH] ppc64: xics cleanup 2005-09-12 17:19:12 +10:00