1
0
Fork 0
forked from len0rd/rockbox
foxbox/firmware/export
Torne Wuff 2eb0142587 New USB charging system, part 2 - "Force" charging mode
Enable support for the "force" mode of USB charging. This should work on Gigabeat S and Nano2g (and any other future target which has a RB usb stack and supports charging) - if a host connection is not detected within 10 seconds of USB insertion, assume that the connected device is an AC charger and charge anyway, if the user has specified "force" as the mode.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26594 a1c6a512-1295-4272-9138-f99709370657
2010-06-05 20:43:30 +00:00
..
config Implement backlight brightness for iPod G4 greyscale and iPod Color/Photo. 2010-06-05 11:48:12 +00:00
adc.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
ak4537.h 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work. 2009-05-25 21:10:45 +00:00
akcodec.h 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work. 2009-05-25 21:10:45 +00:00
as3514.h as3525v2: RTC alarm 2010-05-22 00:28:03 +00:00
as3525.h as3525: write irq/fiq handlers in C 2010-05-26 16:03:01 +00:00
as3525v2.h SansaAMSv2: Give register CGU_BASE + 0x3C the name CGU_SDSLOT. 2010-03-23 17:00:59 +00:00
ascodec.h Oops, fix red - only include ascodec-target.h when HAVE_AS3514 is defined 2008-10-31 00:37:58 +00:00
at91sam9260.h
ata.h
ata_idle_notify.h undo the last commit... I'm too tired to fgure out how to make batt bench work without the spin down notification (aka, fix red the really lazy way) 2010-01-19 08:04:36 +00:00
ata_mmc.h
audio.h Move c/h files implementing/defining standard library stuff into a new libc directory, also standard'ify some parts of the code base (almost entirely #include fixes). 2010-05-06 21:04:40 +00:00
audiohw.h - Move uisimulator/sdl/*.[ch] into the target tree, under firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. 2010-05-15 21:02:47 +00:00
backlight-sw-fading.h Get rid of the last "backlight thread fading" remnant, and of the calculation of the delay. It actually wasn't more than those 3 cases before anyway. 2009-03-11 21:10:17 +00:00
backlight.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
bidi.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
bitswap.h
bootchart.h Boot charting support. 2010-04-01 16:27:21 +00:00
buffer.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
button.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
config.h New USB charging system, part 2 - "Force" charging mode 2010-06-05 20:43:30 +00:00
config_caps.h
cpu.h FS#10047 : Clipv2 2009-12-31 19:15:20 +00:00
debug.h don't let logf() and DEBUGF() be empty statements 2010-05-18 18:32:21 +00:00
disk.h
dm320.h M:Robe 500: Add support for DMA based LCD updates when in Portrait mode. TestFPS measures 190 FPS with the DMA updates vs. 58 FPS for the non-DMA updates. 2009-08-20 00:36:39 +00:00
ds2411.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
eeprom_24cxx.h
eeprom_settings.h
enc_base.h
events.h FS#11263 - Radio Art support! %C and %Cl tags work in the radio screen and Base Skin when the radio is running. 2010-05-16 11:13:42 +00:00
fat.h FS#11118: reduce the number of cached sector in FAT code because some are useless after a rewrite of LFN entries handling. Also makes LFN handling more robust. 2010-03-22 10:35:25 +00:00
filefuncs.h Move strip_volume() to filefuncs.c and set properties. 2009-11-26 22:34:08 +00:00
fmradio.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
fmradio_i2c.h mark some functions as init functions (discarded after init() has run) 2010-05-27 12:00:29 +00:00
font.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
gdb_api.h
general.h Simplify mpegplayer a bit and use array-based lists rather than linked lists for stream management. Move a couple useful functions to handle pointer arrays from kernel.c into general.c; mpeglayer now makes use of them. 2010-05-17 12:34:05 +00:00
generic_i2c.h
hangul.h
hd66789r.h
hotswap.h Remove unused card_detect(), and make card_detect_target() static inline in each sd driver. 2009-11-26 00:51:09 +00:00
hwcompat.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
i2c-coldfire.h Fix more tabs 2010-01-03 10:27:43 +00:00
i2c-pp.h Move private #defines from i2c-pp.h to i2c-pp.c 2009-05-21 14:31:47 +00:00
i2c-s5l8700.h
i2c.h
i2s.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
iap.h Clean up IAP / ipod remote tuner a bit. 2010-04-18 15:46:56 +00:00
ifp_usb_serial.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
imx31l.h Gigabeat S: Implement LCD contrast, invert and flip modes. Enhance LCD power management. Include init data but it's not needed yet (identical to Gigabeat F). 2010-05-18 23:50:00 +00:00
ipod_remote_tuner.h Add support for the ipod FM remote to the 4G, Color, 5G, nano 1G with RDS 2009-12-01 17:54:40 +00:00
isp1362.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
isp1583.h Correct svn:keywords and svn:eol-style on a few more files. 2009-07-12 09:43:44 +00:00
jz4740-codec.h
jz4740.h
jz_mxu.h Ingenic Jz4740: 2008-12-31 01:57:07 +00:00
kernel.h mark some functions as init functions (discarded after init() has run) 2010-05-27 12:00:29 +00:00
lcd-charcell.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
lcd-remote.h Revise r23225 a bit, removing the debug_printf function and implementing more generic lcd_(remote)_putsf function(s) instead and use those in more places 2009-10-17 18:02:48 +00:00
lcd.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
led.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
logf.h don't let logf() and DEBUGF() be empty statements 2010-05-18 18:32:21 +00:00
ltv350qv.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
lv24020lp.h
m5636.h
m66591.h Correct svn:keywords and svn:eol-style on a few more files. 2009-07-12 09:43:44 +00:00
mas.h Fix more tabs 2010-01-03 10:27:43 +00:00
mas35xx.h
mc13783.h i.MX31/Gigabeat S: Actually enable DPTC which can set optimal voltage for 528MHz. Requires an SPI and PMIC interface rework because of the low-latency needs for the DPTC to work best with minimal panicing. SPI can work with multitasking and asynchronously from interrupt handlers or normal code. 2010-05-04 10:07:53 +00:00
mcf5249.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
mcf5250.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
mips-archdefs.h Onda VX747: 2009-02-16 22:49:58 +00:00
mips.h Onda VX747: 2009-02-16 22:49:58 +00:00
mipsregs.h Onda VX747: 2009-02-16 22:49:58 +00:00
mmc.h Commit FS#9545, storage cleanup and multi-driver support 2009-07-17 22:28:49 +00:00
mp3_playback.h
mv.h Commit FS#9545, storage cleanup and multi-driver support 2009-07-17 22:28:49 +00:00
nand.h Core changes to allow storage drivers to do cleanup on shutdown, and iPod Nano 2G shutdown code rework (FS#10668) 2009-10-09 20:36:09 +00:00
nand_id.h Correct svn:keywords and svn:eol-style on a few more files. 2009-07-12 09:43:44 +00:00
ohci.h Add data structures 2009-07-12 15:29:22 +00:00
panic.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
pcf5060x.h D2: Use a common function for reading ADC values from the PMU 2009-10-08 15:47:43 +00:00
pcf5063x.h Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented. 2009-10-10 17:35:02 +00:00
pcf50605.h
pcf50606.h D2: Use a common function for reading ADC values from the PMU 2009-10-08 15:47:43 +00:00
pcf50635.h Initial support for runtime detection of the PMU used in newer D2+ models (PCF50635). The backlight and battery monitoring should work, but the RTC and touchscreen are not yet implemented. 2009-10-10 17:35:02 +00:00
pcm.h mark some functions as init functions (discarded after init() has run) 2010-05-27 12:00:29 +00:00
pcm_sampr.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
pl081.h
pl180.h AMS Sansa: Add voltage defines to pl180.h. No functional changes. 2009-10-19 05:34:17 +00:00
pnx0101.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
power.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
powermgmt.h Submit FS#11065. Introduce a new system setting for en-/disabling the Line-out. For now only implemented on iPod Video. This allows to save power if the user does not use the player's Line-out. On iPod 5G the saving is ~0.5 mA. 2010-03-20 15:02:29 +00:00
pp5002.h Move CACHEALIGN_BITS to cpu headers 2010-04-13 15:50:08 +00:00
pp5020.h Move CACHEALIGN_BITS to cpu headers 2010-04-13 15:50:08 +00:00
pp5024.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
pp6100.h Add information gleaned from disassembling the main firmware image. Detect lcd type in use. Still no actual output 2009-07-17 20:40:40 +00:00
profile.h
qt1106.h
r61509.h Onda VX7x7: fix error when compiling with USB_BOOT defined 2009-07-29 12:57:42 +00:00
ramdisk.h
rolo.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
rtc.h rtc_enable_alarm() needs no return value 2010-05-22 00:28:26 +00:00
s1a0903x01.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
s3c2440.h s5l870x : use mmu-arm.S 2010-04-13 15:59:49 +00:00
s5l8700.h Move CACHEALIGN_BITS to cpu headers 2010-04-13 15:50:08 +00:00
screendump.h
scroll_engine.h FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
sd.h Remove unused card_detect(), and make card_detect_target() static inline in each sd driver. 2009-11-26 00:51:09 +00:00
serial.h
sh7034.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
si4700.h Make si4700 tuner driver more sane with bit and field defines and entirely hide strange i2c interface from code with write/set/clear/masked functionality. On Gigabeat S use by-the-book busmode selection and GPIO lines. Implement some primitive station detection, debug registers in screen, and misc. changes to tie things together. 2008-12-27 19:18:50 +00:00
sound.h Gigabeat S: Fully enable access to hardware tone controls and 3-D effect feature. Under the hood, it's designated a hardware equalizer since it is one. Implement code framework for hardware EQ in general. Menu aspect is well abstracted and so the UI and strings can be changed around if taste doesn't quite suit. So far the emphasis is distinction of the UI labelling from the software EQ so that it's clear the settings are for a different thing. 2010-05-15 13:09:45 +00:00
spdif.h
spi.h Correct svn:keywords and svn:eol-style on a few more files. 2009-07-12 09:43:44 +00:00
storage.h Add IO priority handling. Currently all IO has equal priority, except the dircache scanning thread which is lower. This fixes the slow boot problem for me, with the added benefit that actual audio playback also starts faster. 2010-04-03 22:02:09 +00:00
structec.h
sw_i2c.h
synaptics-mep.h Packard Bell Vibe 500: touchpad code rework. Improve touch sensivity a bit by setting the MEP parameters in the power_init() function. Implement new function in synaptics-mep driver (touchpad_set_parameter) necessary for it. Move the button lights code to the target backlight file. 2010-02-06 19:15:43 +00:00
system.h Get checkwps going again, don't mess with sdl in it. 2010-05-15 21:11:20 +00:00
tcc77x.h TCC: Implement ECC error correction for sectors read from NAND. Tested on D2 (78x, MLC) and M200 (77x, SLC). 2009-08-12 19:26:04 +00:00
tcc780x.h D2: Enable ARM cache coherency functions (eg. during codec load), which should eliminate data aborts/freezes on track changes. NOTE: The linker script reserves space at the end of DRAM for the TTB, but this is not currently used. 2009-09-01 21:35:37 +00:00
tea5760.h Meizu: implement i2c for the meizu fmradio and update the tea5760 tuner driver 2009-07-07 21:57:16 +00:00
tea5767.h code police : fix some multiply defined variables 2008-10-18 23:31:29 +00:00
thread.h SDL Simulator: Get thread shutdown and properly handled and fix a minor memory leak that happens when threads exit. 2010-05-27 18:46:09 +00:00
timer.h
tlv320.h cleanup audiohw_set_frequency by adding it to audiohw.h and removing it from all driver .h files 2009-01-20 22:55:10 +00:00
touchscreen.h Remove svn:executable from firmware 2009-10-31 02:26:40 +00:00
tsc200x.h Touchscreen support for newer Cowon D2+ hardware revisions (using TSC200x touchscreen controller). 2009-10-15 20:13:29 +00:00
tsc2100.h
tuner.h fix the last of the reds, and make RDS tags actually work (and add them to the hardcoded radio skin) 2010-05-12 11:44:09 +00:00
uda1341.h Improvements to mini2440/UDA1341 audio 2009-11-01 22:58:08 +00:00
uda1380.h Fix more tabs 2010-01-03 10:27:43 +00:00
udacodec.h 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-s3c6400x.h iPod Nano 2G USB support based on the S3C6400X datasheet. Disabled by default for now. 2009-10-20 06:37:07 +00:00
usb-tcc.h Fix more tabs 2010-01-03 10:27:43 +00:00
usb.h New USB charging system, part 2 - "Force" charging mode 2010-06-05 20:43:30 +00:00
usb_ch9.h Fix more tabs 2010-01-03 10:27:43 +00:00
usb_core.h New USB charging system, part 1 - API rework and user-visible setting update 2010-06-05 10:05:27 +00:00
usb_drv.h
wm8731.h cleanup audiohw_set_frequency by adding it to audiohw.h and removing it from all driver .h files 2009-01-20 22:55:10 +00:00
wm8751.h MRobe100, HD200, Gigabeat F/X (anything with wm8750 or wm8751). Properly prescale bass and treble controls to avoid clipping. 2010-05-11 04:02:45 +00:00
wm8758.h Submit FS#11065. Introduce a new system setting for en-/disabling the Line-out. For now only implemented on iPod Video. This allows to save power if the user does not use the player's Line-out. On iPod 5G the saving is ~0.5 mA. 2010-03-20 15:02:29 +00:00
wm8975.h
wm8978.h Gigabeat S: Fully enable access to hardware tone controls and 3-D effect feature. Under the hood, it's designated a hardware equalizer since it is one. Implement code framework for hardware EQ in general. Menu aspect is well abstracted and so the UI and strings can be changed around if taste doesn't quite suit. So far the emphasis is distinction of the UI labelling from the software EQ so that it's clear the settings are for a different thing. 2010-05-15 13:09:45 +00:00
wm8985.h Submit FS#11240 by Raphael Jakse. Allows to reduce volume on WM8985 to -89 dB (e.g. used for Cowon D2). Below -57 dB the line out is affected. The manual is updated accordingly. 2010-05-30 18:29:04 +00:00
wmcodec.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00