[PATCH 00/10] PMU fixes + stability (GTA01 and GTA02) + GTA02 charger support
warmcat
andy at openmoko.com
Mon Feb 11 17:34:18 CET 2008
The following series hopefully completes the PMU work for
GTA01 and GTA02. The already posted patches enable GTA02
charger and fix some other things, these ones allow the GTA02
charger type detection to work and enable the appropriate
current limit in the PMU. It also improves coldplug
state detection in GTA02 and adds it for GTA01.
JFFS2 Garbage Collection killing behaviour is removed for
GTA01 and GTA02.
Lastly the PMU interrupts were unstable, after some time
the PMU INT# signal on GTA02 and I believe it is the same
on GTA01 would stick low forever. This patchset changes
the multiread I2C INT register action to use a single
atomic I2C read transaction as demanded by both pcf50633 and
pcf50606 datasheets. They also change the interrupt
architecture to remove the interrupt disable action from
the service path and to use mutexes to serialize any
reentrance.
Charging should just work now for all charger types and
PMU stability should be very good now if the VB_SYS rework
has been done.
---
Andy Green (10):
fix-pcf50606-coldplug-usb-presence-and-second-kick.patch
fix-pcf50633-charger-type-detect.patch
fix-pcf50633-use-second-as-initial-kick.patch
clean-pcf50633-branding.patch
fix-pcf50606-LOWBAT-kill-init.patch
fix-pcf50633-LOWBAT-kill-init.patch
fix-pcf50606-atomic-i2c-int-read.patch
fix-pcf50633-atomic-i2c-int-read.patch
fix-pcf50606-set-irq-type.patch
fix-pcf50633-set-irq-type.patch
drivers/i2c/chips/pcf50606.c | 168 +++++++++----
drivers/i2c/chips/pcf50633.c | 526 +++++++++++++++++++++++++++++-------------
2 files changed, 474 insertions(+), 220 deletions(-)
--
Signature
More information about the openmoko-kernel
mailing list