android_kernel_xiaomi_sm8350/arch/arm/mach-pxa
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
..
corgi_lcd.c [PATCH] fix remaining missing includes 2005-11-07 07:53:41 -08:00
corgi_ssp.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
corgi.c [ARM] 3093/1: SharpSL PCMCIA Updates for Cxx00 models 2005-11-08 19:15:43 +00:00
dma.c
generic.c Merge master.kernel.org:/home/rmk/linux-2.6-drvmodel 2005-10-31 07:32:56 -08:00
generic.h
idp.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
irq.c
Kconfig [ARM] 3088/1: PXA: Add machine support for the Sharp SL-6000x series of PDAs 2005-11-06 14:27:52 +00:00
leds-idp.c
leds-lubbock.c
leds-mainstone.c
leds.c
leds.h
lubbock.c [ARM] 3087/1: PXA2xx flash platform device conversion 2005-11-04 17:15:45 +00:00
mainstone.c [ARM] 3087/1: PXA2xx flash platform device conversion 2005-11-04 17:15:45 +00:00
Makefile [ARM] 3088/1: PXA: Add machine support for the Sharp SL-6000x series of PDAs 2005-11-06 14:27:52 +00:00
Makefile.boot
pm.c [ARM] 3113/1: PXA: Allow machines to override (and also reuse) pxa pm functions 2005-11-06 15:03:23 +00:00
poodle.c [ARM] 3093/1: SharpSL PCMCIA Updates for Cxx00 models 2005-11-08 19:15:43 +00:00
pxa25x.c [ARM] 2787/2: PXA27x low power modes support 2005-10-28 16:25:01 +01:00
pxa27x.c Create platform_device.h to contain all the platform device details. 2005-10-29 19:07:23 +01:00
sharpsl_pm.c [ARM] 3096/1: Add SharpSL Zaurus power and battery management core driver 2005-11-10 17:42:29 +00:00
sharpsl.h [ARM] 3096/1: Add SharpSL Zaurus power and battery management core driver 2005-11-10 17:42:29 +00:00
sleep.S [ARM] 2787/2: PXA27x low power modes support 2005-10-28 16:25:01 +01:00
spitz.c [ARM] 3093/1: SharpSL PCMCIA Updates for Cxx00 models 2005-11-08 19:15:43 +00:00
ssp.c
standby.S [ARM] 2787/2: PXA27x low power modes support 2005-10-28 16:25:01 +01:00
time.c [ARM] 3135/1: harden SA11x0 and PXA2xx timer init code 2005-11-08 22:43:06 +00:00
tosa.c [ARM] 3124/1: Sharp SL-6000x: SharpSL PCMCIA Updates 2005-11-08 19:15:50 +00:00