rockbox/firmware/target/arm/s5l8700
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
..
ipodnano2g Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
meizu-m3 Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
meizu-m6sl make meizu-m6sl bootloader build 2010-06-08 18:07:59 +00:00
meizu-m6sp Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
yps3 Samsung YP-S3: make bootloader compile again 2009-10-11 13:15:23 +00:00
adc-s5l8700.c Merge functionality of wakeups and semaphores-- fewer APIs and object types. semaphore_wait takes a timeout now so codecs and plugins have to be made incompatible. Don't make semaphores for targets not using them. 2011-03-02 08:49:38 +00:00
adc-target.h S5L8700: Implement ADC driver 2009-07-09 20:17:47 +00:00
app.lds Get the linker files that slipped through in r31337. 2011-12-17 02:00:59 +00:00
ata-nand-s5l8700.c Fix ata_idle_notify on iPod Nano 2G 2010-06-21 16:54:25 +00:00
audio-meizu.c Meizu M6SP: add stubs so the meizu m6sp binary compiles and links 2010-01-14 20:16:03 +00:00
backlight-meizu.c Meizu: update backlight brightness curve so backlight is still on at the minimum brightness setting 2009-08-01 18:28:25 +00:00
backlight-target.h Implement PWM backlight driver for the Meizus. Update Meizu M3 bootloader to control brightness with the touch strip. 2009-06-23 18:11:03 +00:00
boot.lds Get the linker files that slipped through in r31337. 2011-12-17 02:00:59 +00:00
crt0.S Switch to SYS mode on arm FS#12322 by me 2011-10-11 16:06:03 +00:00
debug-s5l8700.c Move dbg_hw_info() into target tree. FS#11735 by me 2011-06-05 10:26:06 +00:00
debug-target.h Move dbg_hw_info() into target tree. FS#11735 by me 2011-06-05 10:26:06 +00:00
dma-s5l8700.c Remove svn:executable from these files. 2009-07-12 09:16:55 +00:00
dma-target.h Remove svn:executable from these files. 2009-07-12 09:16:55 +00:00
fmradio-i2c-meizu.c Meizu: fix mask for GPIO function selection used for fmradio 2009-07-27 23:06:31 +00:00
ftl-meizu.c Meizu M6SP: add stubs so the meizu m6sp binary compiles and links 2010-01-14 20:16:03 +00:00
i2c-s5l8700.c iPod Nano 2G: Set I2C clock to 374400 Hz, now that we know what it is derived from. 2010-11-14 15:19:30 +00:00
kernel-s5l8700.c Fix typo in comment. 2010-12-11 17:52:52 +00:00
nand-meizu.c Meizu M6SP: add stubs so the meizu m6sp binary compiles and links 2010-01-14 20:16:03 +00:00
pcm-s5l8700.c Swap red and yellow for green on r31339's cranky builds. 2011-12-17 07:54:00 +00:00
postmortemstub.S Bulk convert all DOS line endings to UNIX. 2011-11-06 22:44:25 +00:00
power-meizu.c power-meizu.c: fix usage of USB_TR name 2009-10-25 09:54:23 +00:00
system-s5l8700.c Submit FS11782: Use faster DRAM timings in unboosted state for S5L870x. DRAM read +8%, DRAM write +37%, DRAM copy +25% faster. 2010-12-30 20:23:46 +00:00
system-target.h Derive clock and timer defines from frequency of external source. 2010-12-11 09:39:33 +00:00
timer-s5l8700.c S5L870x: Fix PCLK freq 2009-10-11 11:35:14 +00:00
udacodec-meizu.c Create an udacodec interface (similar to ascodec and wmcoded) and adapt/implement it for the iriver h1xx/h3xx and the meizus. 2009-06-28 17:43:04 +00:00
usb-nano2g-6g.c usb-s3c6400x: move usb_init_device 2011-12-31 16:17:06 +00:00
usb-s5l8700.c usb-target.h: remove 2011-12-31 18:44:55 +00:00
wmcodec-s5l8700.c Correct the memory sizes (IRAM and DRAM) for the Nano2G. 2009-07-25 00:49:13 +00:00