rockbox/firmware/export
Rafaël Carré 88c55d7290 as3514/as3543 fixes
- Enable end of charge monitoring once, it doesn't need to be disabled
- Acknowledge the first (wrong) end of charge interrupt on charger enable
  (this had been broken in r25299)
- Centralize reads to ENRD* registers and cache the results when needed
    - on PP it is not needed because reads are atomic, we only check for
      end of charge when the charging, and for charger presence when
      discharging

as3525v2 (using as3543) specifics
- I got the datasheet today from AMS, thanks to them for being so fast
  and not require me to sign tons of papers!
- USB detection now works on as3525v2 using the as3543. Clip+ won't
  reboot to OF yet, it needs mkamsboot support first (usbstack disabled)
- Charging should work, the CHARGER register is at a different place, it
  is an extended PMU register -> use ascodec_read/write_charger() to
  access it
- real interrupts are not used yet for ENRD, we get thousands of
  interrupts per second, apparently only limited by the i2c clock.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26116 a1c6a512-1295-4272-9138-f99709370657
2010-05-17 20:53:25 +00:00
..
config as3514/as3543 fixes 2010-05-17 20:53:25 +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 as3514/as3543 fixes 2010-05-17 20:53:25 +00:00
as3525.h as3525: use DMA for recording 2010-05-13 05:26:12 +00:00
as3525v2.h SansaAMSv2: Give register CGU_BASE + 0x3C the name CGU_SDSLOT. 2010-03-23 17:00:59 +00:00
ascodec.h
at91sam9260.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
ata.h Commit FS#9545, storage cleanup and multi-driver support 2009-07-17 22:28:49 +00:00
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 Merge tCardInfo struct (MMC) and tSDCardInfo struct (SD) 2009-07-01 10:07:22 +00:00
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
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 Gigabeat S: Reclaim about 800K of memory that was laying unused. Get rid of DEVBSS_ATTR for this target and implement as NOCACHEBSS_ATTR. Plugin and codec buffers move so all that is now incompatible (do full update). No version increase for plugins/codecs because the loader will reject them. 2010-05-08 07:45:34 +00:00
config_caps.h
cpu.h FS#10047 : Clipv2 2009-12-31 19:15:20 +00:00
debug.h Final removal of tabs in firmware path 2010-01-03 11:31:14 +00:00
disk.h Commit FS#9545, storage cleanup and multi-driver support 2009-07-17 22:28:49 +00:00
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
eeprom_24cxx.h Various files: make function implementations consistent with their declaration in the header file or static if 2009-01-31 23:51:11 +00:00
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
fmradio_i2c.h Fix red. 2008-12-21 20:31:31 +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 Simplify generic_i2c, removing the link between i2c address and i2c interface, adding the concept of an i2c bus index. 2009-03-03 18:00:17 +00:00
hangul.h Updated our source code header to explicitly mention that we are GPL v2 or 2008-06-28 18:10:04 +00:00
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
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 S5L8700: implement i2c driver (used for communicating with the RTC and the codec in the meizus) 2009-06-27 20:11:11 +00:00
i2c.h
i2s.h
iap.h Clean up IAP / ipod remote tuner a bit. 2010-04-18 15:46:56 +00:00
ifp_usb_serial.h
imx31l.h Cache align the pitch detector audiobuffer where needed. Some other misc. changes to try to make sure everything builds. 2010-05-14 08:44:07 +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
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 Fix yellow 2009-05-26 23:28:53 +00:00
jz4740.h Ingenic Jz4740: add basic frequency switching 2009-07-03 21:34:40 +00:00
jz_mxu.h Ingenic Jz4740: 2008-12-31 01:57:07 +00:00
kernel.h Use boolean instead of int for keeping track of mutex signalled state and wakeup signalled state 2010-04-18 15:24:39 +00:00
lcd-charcell.h
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
logf.h A new implementation of logf, logfdisplay and logfdump. 2009-08-21 22:54:23 +00:00
ltv350qv.h
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
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
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 fix a typo in comment 2010-05-13 20:39:03 +00:00
pcm_sampr.h
pl081.h Sansa AMS: Use DMA for SD transfers (read and write) 2008-11-25 13:38:32 +00:00
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
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 Commit FS#9545, storage cleanup and multi-driver support 2009-07-17 22:28:49 +00:00
rolo.h
rtc.h FS#10569 RTC driver cleanup 2009-09-26 14:58:32 +00:00
s1a0903x01.h
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 Fix the Playersim as well. 2009-02-11 00:10:35 +00:00
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 Commit FS#8624 by Linus Nielsen, Ryan Press, Craig Elliott, and Kenderes Tamas. Adds preliminary support for numerous accessories that use the ipod serial port on the dock connector. See IpodAccessories for a list of tested devices. 2008-12-25 01:46:16 +00:00
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
thread.h Use a more natural guard for the callback definition 2010-04-17 14:22:06 +00:00
timer.h Put TIMER_FREQ definition in CPU-specific config, and remove timer-target.h 2009-06-29 14:30:12 +00:00
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 Correct svn:keywords and svn:eol-style on a few more files. 2009-07-12 09:43:44 +00:00
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 FS#10756 - Free unused init code 2010-03-03 23:20:32 +00:00
usb_ch9.h Fix more tabs 2010-01-03 10:27:43 +00:00
usb_core.h Change control handling to start expecting host packets before sending data to the host. This makes the handling less timing sensitive on some controllers 2009-10-19 16:21:50 +00:00
usb_drv.h Add working USB HID driver, by Tomer Shalev (part of his GSoC work). 2009-05-16 15:30:09 +00:00
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 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
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 Hopefully finish off the red from r26051. 2010-05-15 14:16:35 +00:00
wmcodec.h