rockbox/firmware/target/arm/s5l8700/ipodnano2g
Thomas Martitz c1bd9b0361 Rework powermgmt to enable code re-use on appliation and sims.
* Introduce CONFIG_BATTERY_MEASURE define, to allow targets (application)
to break powermgmt.c's assumption about the ability to read battery voltage.
There's now additionally percentage (android) and remaining time measure
(maemo). No measure at all also works (sdl app). If voltage can't be measured,
then battery_level() is king and it'll be used for power_history and runtime
estimation.

* Implement target's API in the simulator, i.e. _battery_voltage(), so it
doesn't need to implement it's own powermgmt.c and other stubs. Now
the sim behaves much more like a native target, although it still
changes the simulated battery voltage quickly,

* Other changes include include renaming battery_adc_voltage() to
_battery_voltage(), for consistency with the new target functions and
making some of the apps code aware that voltage and runtime estimation
is not always available.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31548 a1c6a512-1295-4272-9138-f99709370657
2012-01-03 23:44:38 +00:00
..
adc-nano2g.c
audio-nano2g.c
backlight-nano2g.c iPod Nano 2G LCD sleep: Powering down LDO2 also affects USB, so we can't do that to shut off the LCD. Leave it on for now, and use the lightweight approach for waking up the Leadis LCD. 2010-11-14 20:39:18 +00:00
button-target.h
ftl-nano2g.c Remove tabs 2010-12-01 18:35:01 +00:00
ftl-target.h emBIOS backports part two: Fix a stupid global variable *instantiation* in a header file, which might have caused all hell of trouble. 2010-08-12 08:46:52 +00:00
lcd-asm-nano2g.S Remove superfluous executable bits on a bunch of files. 2011-06-08 14:22:03 +00:00
lcd-nano2g.c Make more local functions static. 2011-12-21 17:36:18 +00:00
nand-nano2g.c Swap red and yellow for green on r31339's cranky builds. 2011-12-17 07:54:00 +00:00
nand-target.h emBIOS backports part three: Make the NAND flash driver return more useful error codes if initialization fails. 2010-08-12 08:49:12 +00:00
piezo-nano2g.c Make more local functions static. 2011-12-21 17:36:18 +00:00
piezo.h Fix the gpl notice in the previous commits new files, and fix the yelow gevearts naughtily ignored 2011-11-16 10:37:48 +00:00
pmu-nano2g.c ipod nano 2g: make functions/variables static where possible, add missing #includes 2010-08-08 10:49:32 +00:00
pmu-target.h
power-nano2g.c Fix issues with iPod nano 2G displays reported on the forums. The voltage supply seems to be too low for several LCDs. The buzz of the display is still significantly lower than with OF. 2011-04-22 19:06:16 +00:00
powermgmt-nano2g.c Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
rtc-nano2g.c