wait-for-power.patch
commitdaeade92cf96e2a8453ad17441ce70c912df8f53
authormokopatches <unknown@openmoko.org>
Fri, 11 Apr 2008 13:27:37 +0000 (11 14:27 +0100)
committerwarmcat <andy@warmcat.com>
Fri, 11 Apr 2008 13:27:37 +0000 (11 14:27 +0100)
tree90fa72ae696ad65dde70a9582d0de46e15c745d8
parent4762550d919bb2b3cbc862b75e9701de5284ade5
wait-for-power.patch
This patch tries to make the system stay in a mode where total power
consumption is below 100mA until we have determined that it's safe to
draw more power.

This is work in progress. Don't use it.

It makes the following changes:
- keeps the system from booting unless we have either good battery power,
  500mA from USB, or the wall charger supplying power
- flashes the red (AUX) LED during this
- defers initialization of the video subsystem until we're about to
  display something
- leaves the LED boost converter turned off until we actually need it

Known issues:
- still burns way too much power, see
  http://people.openmoko.org/werner/wait-for-power-try1/usb-batt.html
board/neo1973/gta02/gta02.c
board/neo1973/gta02/pcf50633.c
drivers/misc/pcf50633.c
drivers/video/smedia3362.c
include/pcf50633.h