rockbox/firmware/target/arm/imx233
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
..
sansa-fuzeplus fuze+: remove two_finger pseudo touchpad button because it was unrealiable, update keymap to remove akward mappings 2011-12-26 17:45:54 +00:00
adc-imx233.c imx233: remove virtual 5V channel (value doesn't make sense), fix battery conversion (need to trigger delay) 2011-11-14 21:42:43 +00:00
adc-imx233.h imx233: remove virtual 5V channel (value doesn't make sense), fix battery conversion (need to trigger delay) 2011-11-14 21:42:43 +00:00
app.lds Do some things to make -ffunction-sections work better. 2011-12-17 01:43:32 +00:00
audioin-imx233.c imx233/fuze+: implement audioout functions (init, volume, frequency); add stubs for audioin 2011-10-18 22:06:05 +00:00
audioin-imx233.h imx233: add AUDIOIN registers, cosmetics 2012-01-02 11:10:17 +00:00
audioout-imx233.c imx233/fuze+: implement audioout functions (init, volume, frequency); add stubs for audioin 2011-10-18 22:06:05 +00:00
audioout-imx233.h imx233/fuze+: implement audioout functions (init, volume, frequency); add stubs for audioin 2011-10-18 22:06:05 +00:00
boot.lds Do some things to make -ffunction-sections work better. 2011-12-17 01:43:32 +00:00
clkctrl-imx233.c imx233: fix to typo and remove a forgotten panic 2011-12-15 17:07:15 +00:00
clkctrl-imx233.h imx233: implement core_sleep 2011-12-26 17:09:09 +00:00
clock-target.h Sansa Fuze+: initial commit (bootloader only, LCD basically working) 2011-05-01 13:02:46 +00:00
crt0.S Switch to SYS mode on arm FS#12322 by me 2011-10-11 16:06:03 +00:00
debug-imx233.c Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
debug-target.h imx233/fuze+: huge rework 2011-07-23 11:45:22 +00:00
dma-imx233.c imx233/fuze+: allow dma info retrieval; wait for end of channel reset before returning; fix typo 2011-10-18 22:03:25 +00:00
dma-imx233.h imx233/fuze+: allow dma info retrieval; wait for end of channel reset before returning; fix typo 2011-10-18 22:03:25 +00:00
i2c-imx233.c imx233/fuze+: correctly reset i2c block 2011-09-13 23:40:16 +00:00
i2c-imx233.h imx233/fuze+: huge rework 2011-07-23 11:45:22 +00:00
kernel-imx233.c imx233/fuze+: implement user time api, implement a stub function, protect timrot against irq 2011-09-06 00:27:38 +00:00
lcdif-imx233.c imx233/fuze+: correctly lcdif block 2011-09-13 23:39:18 +00:00
lcdif-imx233.h imx233: add comment about block reset 2011-12-13 22:48:01 +00:00
lradc-imx233.c imx233: fix prototype and battery conversion setup code 2011-11-14 21:47:59 +00:00
lradc-imx233.h imx233: fix prototype and battery conversion setup code 2011-11-14 21:47:59 +00:00
mmc-imx233.c imx233: fix to typo and remove a forgotten panic 2011-12-15 17:07:15 +00:00
pcm-imx233.c imx233: add AUDIOIN registers, cosmetics 2012-01-02 11:10:17 +00:00
pinctrl-imx233.c imx233/fuze+: add pin irq support 2011-07-22 15:45:50 +00:00
pinctrl-imx233.h imx233/fuze+: add pin irq support 2011-07-22 15:45:50 +00:00
power-imx233.c imx233: fix power_input_status() 2011-12-31 18:50:03 +00:00
power-imx233.h imx233/fuze+: implement power management(battery charger), add powermgmt debug info, add power debug info, move target specific powermgmt code to its own files, remove auto-slow setup which was forgotten for debugging 2011-12-24 19:20:12 +00:00
powermgmt-imx233.c Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
powermgmt-imx233.h imx233: forgot a file 2011-12-24 19:23:11 +00:00
rtc-imx233.c imx233: forgot a file 2011-12-31 13:50:07 +00:00
rtc-imx233.h imx233/fuze+: implement rtc (time only, alarm still to implement) 2011-12-31 13:35:45 +00:00
sd-imx233.c sd-imx233: fix a few parameters when calling send_cmd, thanks to Andrej Sinicyn for spotting this 2011-12-22 12:10:49 +00:00
ssp-imx233.c imx233/fuze+: add support for sd card, enable FAT16 support because it's common on sd cards 2011-12-15 17:06:55 +00:00
ssp-imx233.h imx233/fuze+: add support for sd card, enable FAT16 support because it's common on sd cards 2011-12-15 17:06:55 +00:00
system-imx233.c imx233/fuze+: set drive strength of tuner chip enable pin, enable backlight on panic 2011-11-17 23:10:22 +00:00
system-target.h firewire/usb_remove/insert_int: move to system-target.h 2011-12-31 18:44:12 +00:00
timer-imx233.c imx233/fuze+: fix prototype 2011-09-13 23:39:15 +00:00
timrot-imx233.c imx233/fuze+: move to a more generic xtal derived clock enabling function, fix timrot accordingly 2011-10-18 22:00:50 +00:00
timrot-imx233.h imx233/fuze+: implement user time api, implement a stub function, protect timrot against irq 2011-09-06 00:27:38 +00:00
usb-imx233.c usb-target.h: remove 2011-12-31 18:44:55 +00:00