rockbox/firmware/drivers
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
..
audio Rework powermgmt to enable code re-use on appliation and sims. 2012-01-03 23:44:38 +00:00
rtc imx233/fuze+: implement rtc (time only, alarm still to implement) 2011-12-31 13:35:45 +00:00
tuner RDS: Use a define that doesn't imply any particular hardware dependency. 2011-12-29 14:55:49 +00:00
ata.c FS#12418 - Merge prototypes from ata-target.h files into new file ata-driver.h. After this change: 2011-12-08 21:23:53 +00:00
ata_flash.c Commit FS#9545, storage cleanup and multi-driver support 2009-07-17 22:28:49 +00:00
button.c Android: listen to ACTION_AUDIO_BECOMING_NOISY for headphone (FS#12097). 2011-06-04 19:17:51 +00:00
eeprom_24cxx.c
fat.c imx233/fuze+: huge rework 2011-07-23 11:45:22 +00:00
fmradio.c
generic_i2c.c Apply FS #11423 - Use udelay in AMS driver for FM radio I2C 2010-06-21 21:41:07 +00:00
isp1362.c
isp1583.c creative zvm isp1583 defines: move to isp1583.h 2011-12-31 18:44:32 +00:00
lcd-1bit-vert.c Rename sdl lcd initialization to (remote_)lcd_init_device which enables removing two #ifdef SIMULATOR and makes it happen as on target. 2010-05-18 12:27:20 +00:00
lcd-2bit-horz.c Comment out lcd_drawline() DEBUGF messages which show in various simulators 2010-02-20 06:42:45 +00:00
lcd-2bit-vert.c Comment out lcd_drawline() DEBUGF messages which show in various simulators 2010-02-20 06:42:45 +00:00
lcd-2bit-vi.c Move memset6() declaration to string-extra.h, kills a warning compiling for android since it ships a memory.h. 2010-08-12 13:55:01 +00:00
lcd-16bit-common.c lcd_blit_yuv(): don't use weak attribute when building for windows 2011-12-09 20:56:40 +00:00
lcd-16bit-vert.c lcd-16bit: move lcd_bitmap and lcd_bitmap_transparent to common code 2011-12-03 22:39:08 +00:00
lcd-16bit.c lcd-16bit: move lcd_bitmap and lcd_bitmap_transparent to common code 2011-12-03 22:39:08 +00:00
lcd-bitmap-common.c OOPS, style got lost in scrolling lines with r31247, so put it back 2011-12-15 23:30:17 +00:00
lcd-charcell.c Fix r29123: the variable should be initialized every time in the loop 2011-01-23 21:57:23 +00:00
lcd-charset-player.c Final removal of tabs in firmware path 2010-01-03 11:31:14 +00:00
lcd-memframe.c Convert remaining memframe LCDs that can be convert to common code. 2011-12-16 23:40:39 +00:00
lcd-remote-1bit-v.c
lcd-remote-2bit-vi.c
led.c
m5636.c
m66591.c usb-target.h: remove 2011-12-31 18:44:55 +00:00
nand_id.c TCC NAND: The BLOCKS_PER_SEGMENT define was actually the number of planes mentioned in the Samsung NAND datasheet. Add this to the nand_id struct, so that it can be runtime detected (required for some D2s to boot). Use the struct directly instead of making a local copy, and format the nand_info table to 80 columns. 2009-03-02 23:36:12 +00:00
pcf50605.c
pcf50606.c tcc77x targets: various minor cleanups 2010-08-28 10:17:19 +00:00
pcf50635.c Commit FS#12352 by Stanislav Chizhik. Add support for the PCF50635. Enables detection of USB power sources. 2011-11-15 20:37:47 +00:00
qt1106.c
ramdisk.c Ramdisk: add hotswap support 2010-10-26 12:27:33 +00:00
rds.c RDS: Use a define that doesn't imply any particular hardware dependency. 2011-12-29 14:55:49 +00:00
sd.c remane hotswap.* to sdmmc.*. The contents have nothing at all to do with hotswapping things 2010-06-05 21:12:16 +00:00
serial.c Make more local functions static. 2011-12-21 17:36:18 +00:00
sw_i2c.c
synaptics-mep.c HDD6330: introduce a new button (BUTTON_TAP), based on the hardware support for gestures. From now on some things are accessible by tapping on the vertical scroll strip. Reorganize, fix and remap some of the keymaps, add missing keymap for the recording. 2011-12-03 23:13:17 +00:00
synaptics-rmi.c imx233/fuze+: replace software i2c by hardware i2c, make some code more correct, reduce code size of lcd init sequences 2011-07-03 15:18:41 +00:00
touchscreen.c Touchscreen: Improved scroll threshold 2010-11-10 15:25:15 +00:00
tsc200x.c Touchscreen support for newer Cowon D2+ hardware revisions (using TSC200x touchscreen controller). 2009-10-15 20:13:29 +00:00
tsc2100.c TSC2100: Sample multiple times and provide an average to clean up touch detection. 2011-02-06 19:26:31 +00:00