[PATCH 0/2] Charger monster taming

Andy Green andy at openmoko.com
Tue Jul 22 13:15:07 CEST 2008

These patches try to do something about the random non-charging
behaviour getting reported, along with some incorrect behaviours
of the charging trigger stuff Holger worked on.

First it takes ownership of charger enable and disable back into
pcf50633 world and moves it to the point in time where it has
made discovery of charger type and is setting that up.

Second, now

echo bat-charging > /sys/devices/platform/gta02-led.0/leds/gta02-aux:red/trigger

gave me back the "aux led lights when charging" behaviour that
I had several weeks ago by lighting it directly, at least for a
few tries anyway.


Andy Green (2):

 arch/arm/mach-s3c2440/mach-gta02.c |   32 ++++++++++++++----
 drivers/i2c/chips/pcf50633.c       |    2 +
 drivers/power/bq27000_battery.c    |   65 ++++++++++++++++++++++++------------
 include/linux/bq27000_battery.h    |    2 +
 4 files changed, 74 insertions(+), 27 deletions(-)


More information about the openmoko-kernel mailing list