rockbox/firmware/target/arm/rk27xx
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
..
hm60x Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
hm801 Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
rk27generic Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
adc-rk27xx.c rk27xx adc - fix function name 2011-09-06 12:38:59 +00:00
adc-target.h Add HiFiMAN HM-60x target(s). FS#12319 by Andrew Ryabinin with some (small) modification by me. This also splits rk27xx lcd driver into lcdif-rk27xx and lcd controller specific part. Some modifications to the pcm driver have been made to allow using codecs in slave mode (as TDA1543 used in hifiman is slave only i2s codec). 2011-10-17 10:32:19 +00:00
app.lds rk27xx - app linker script 2011-09-06 12:38:30 +00:00
ata-nand-rk27xx.c remove references to ipod nano 2g rom ata-nand-rk27xx.c 2011-09-06 12:38:52 +00:00
backlight-rk27xx.c rk27xx - use more correct function to map between percived lightness and PWM fill factor when setting backlight brightness 2011-07-19 18:29:30 +00:00
backlight-target.h Rockchip rk27xx port initial commit. This is still work in progress. 2011-05-30 21:10:37 +00:00
boot.lds Rockchip rk27xx port initial commit. This is still work in progress. 2011-05-30 21:10:37 +00:00
crt0.S Switch to SYS mode on arm FS#12322 by me 2011-10-11 16:06:03 +00:00
debug-rk27xx.c rk27xx - implement dbg_hw_info() and dbg_ports() 2011-09-06 12:38:05 +00:00
debug-target.h Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801. 2011-11-03 11:53:02 +00:00
ftl-rk27xx.c Rockchip rk27xx port initial commit. This is still work in progress. 2011-05-30 21:10:37 +00:00
ftl-target.h Rockchip rk27xx port initial commit. This is still work in progress. 2011-05-30 21:10:37 +00:00
i2c-rk27xx.c rk27xx - missing semicolon 2011-06-04 16:00:55 +00:00
kernel-rk27xx.c rk27xx - fix sys timer clock setup. Spotted by Andrew Ryabinin 2011-10-13 07:09:33 +00:00
lcd-hifiman.c Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801. 2011-11-03 11:53:02 +00:00
lcdif-rk27xx.c Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801. 2011-11-03 11:53:02 +00:00
lcdif-rk27xx.h Add HiFiMAN HM-60x target(s). FS#12319 by Andrew Ryabinin with some (small) modification by me. This also splits rk27xx lcd driver into lcdif-rk27xx and lcd controller specific part. Some modifications to the pcm driver have been made to allow using codecs in slave mode (as TDA1543 used in hifiman is slave only i2s codec). 2011-10-17 10:32:19 +00:00
nand-rk27xx.c rk27xx - nand stub 2011-09-06 12:38:13 +00:00
nand-target.h Rockchip rk27xx port initial commit. This is still work in progress. 2011-05-30 21:10:37 +00:00
pcm-rk27xx.c Add HiFiMAN HM-60x target(s). FS#12319 by Andrew Ryabinin with some (small) modification by me. This also splits rk27xx lcd driver into lcdif-rk27xx and lcd controller specific part. Some modifications to the pcm driver have been made to allow using codecs in slave mode (as TDA1543 used in hifiman is slave only i2s codec). 2011-10-17 10:32:19 +00:00
sd-rk27xx.c Added HiFiMAN HM-801 target. FS#12355. This also renames tda1543.{ch} used by HM-60x to dummy_codec.{ch} as it works for PCM1704 used by HM-801. 2011-11-03 11:53:02 +00:00
spfd5420a.h Rockchip rk27xx port initial commit. This is still work in progress. 2011-05-30 21:10:37 +00:00
system-rk27xx.c rk27xx: Fix cache broken in r31339. Remove deprecated aliases. 2012-01-03 15:01:16 +00:00
system-target.h rk27xx: Fix cache broken in r31339. Remove deprecated aliases. 2012-01-03 15:01:16 +00:00
timer-rk27xx.c Rockchip rk27xx port initial commit. This is still work in progress. 2011-05-30 21:10:37 +00:00
usb-drv-rk27xx.c usb-target.h: remove 2011-12-31 18:44:55 +00:00
usb-rk27xx.c usb-target.h: remove 2011-12-31 18:44:55 +00:00