kernel-ark/arch
Richard Purdie 078abcf95c [ARM] 3096/1: Add SharpSL Zaurus power and battery management core driver
Patch from Richard Purdie

This patch adds a power and battery management core driver which with
the addition of the right device files, supports the c7x0 and cxx00
series of Sharp Zaurus handhelds.

The driver is complex for several reasons. Battery charging is manually
monitored and controlled. When suspended, the device needs to
periodically partially resume, check the charging status and then
re-suspend. It does without bothering the higher linux layers as
a full resume and re-suspend is unnecessary. The code is carefully
written to avoid interrupts or calling code outside the module under
these circumstances. It also vets the various wake up sources and
monitors the device's power situation.

Hooks to limit the backlight intensity and to notify the battery
monitoring code of backlight events are connected/added as the
backlight is one of the biggest users of power on the device.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-11-10 17:42:29 +00:00
..
alpha
arm [ARM] 3096/1: Add SharpSL Zaurus power and battery management core driver 2005-11-10 17:42:29 +00:00
arm26
cris
frv
h8300
i386
ia64
m32r
m68k
m68knommu
mips
parisc
powerpc [PATCH] powerpc: sched fixups 2005-11-09 16:07:44 -08:00
ppc [PATCH] powerpc: sched fixups 2005-11-09 16:07:44 -08:00
ppc64
s390
sh
sh64
sparc [SPARC]: Use ARRAY_SIZE macro 2005-11-09 12:03:05 -08:00
sparc64 [SPARC] sbus rtc: implement ->compat_ioctl 2005-11-09 12:07:18 -08:00
um
v850
x86_64
xtensa Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 2005-11-09 08:34:36 -08:00