rockbox/firmware/target/arm/as3525
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
..
sansa-c200v2 Added battery profile change to correct file, removed unused powermgmt-as3525.c 2010-04-08 19:31:03 +00:00
sansa-clip Sansa as3525: Add missing lcd-clip.h header file to sansa clip lcd drivers. Set svn:keywords on scrollwheel-as3525.c. 2010-04-18 16:58:33 +00:00
sansa-clipplus Clipv2/+ : ascodec register 0x25 is not related to backlight 2010-05-16 18:11:27 +00:00
sansa-clipv2 Clipv2/+ : ascodec register 0x25 is not related to backlight 2010-05-16 18:11:27 +00:00
sansa-e200v2 Fix yellow. Another function unneeded in the bootloader. 2010-04-05 12:23:30 +00:00
sansa-fuze Fuzev1: calibrated discharge curve 2010-05-07 14:33:45 +00:00
sansa-fuzev2 fuzev2: leave at least 3ms between scrollwheel events 2010-05-15 16:34:14 +00:00
sansa-m200v4 Sansa Clip & m200v4 : calls backlight_hold_changed() when hold button is toggled 2009-08-15 15:02:51 +00:00
adc-target.h Sansa AMS: use the AS3514 ADC driver 2008-11-10 20:55:56 +00:00
app.lds Revert unrelated part of r25491 : fuzev1 init code works again 2010-04-06 10:21:58 +00:00
ascodec-as3525.c as3514/as3543 fixes 2010-05-17 20:53:25 +00:00
ascodec-target.h as3514/as3543 fixes 2010-05-17 20:53:25 +00:00
audio-as3525.c as3525v1: duplicate the right channel into the left channel when recording microphone 2010-05-14 12:59:54 +00:00
backlight-e200v2-fuze.c FS#10306 by Thomas Martitz : button light doesn't change on SD transfers on Sansa AMS (Fuze & e200v2) 2009-06-18 22:33:02 +00:00
boot.lds Fix a bunch of boot.lds files so that they build with newer ld. The stack/bss sections need NOLOAD. otherwise the linker would try to include those into the binary. I don't know why this ever worked with our current ld version. 2010-03-08 23:16:57 +00:00
button-e200v2-fuze.c Fuzev2: Scrollwheel works like a charm :) 2010-04-01 16:07:56 +00:00
clock-target.h Revert part of r25489 as it didn't fix the problem, that the CPU frequency debug screen shows the wrong frequency after boot, properly. 2010-04-05 19:20:56 +00:00
dbop-as3525.c workaround DBOP noise issue on C200v2 cause it's really annoying if your buttons don't work in the debug menu... 2010-04-16 06:01:24 +00:00
dbop-as3525.h Sansa AMS: Time has shown that switching between 16 and 32bit mode costs much time (due to the micro delay needed), so do 32bit transfers unconditionally for lcd updates at the cost of updating slightly larger rectangles (gives upto 15% speed up, nearly at maximum now). 2010-01-07 22:21:41 +00:00
debug-as3525.c 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
debug-target.h Some Sansa Fuze work: Get Home button working (no keymap changes yet, so it's not very noticeable) and "fix" debug menu from not showing the dbop data (see FIXME), some cleanup in the fuze's button driver 2009-02-17 02:36:48 +00:00
dma-pl081.c Sansa AMSv2: Do not disable DMA synchronization logic for as3525v2. The DMA controller and the SD controller run at different clock speeds. 2010-04-08 06:12:51 +00:00
dma-target.h Add DMA line for SSP as used in Clip+ 2010-02-08 08:13:52 +00:00
fmradio-i2c-as3525.c Fuzev2: don't disable interrupts in fm code, allow button tick to run 2010-05-05 04:13:15 +00:00
i2s-as3525.c Fix Clip firmware building by adding missing symbols 2008-11-10 11:04:43 +00:00
kernel-as3525.c FS#11172 - Fuzev2: Read the scrollwheel scrollwheel via IRQ 2010-04-27 10:11:52 +00:00
lcd-as-e200v2-fuze-fuzev2.S Add forgotten file (git was supposed to rename!). 2010-04-05 12:02:56 +00:00
lcd-ssd1303.c as2525(v2): We don't need yuv blitting/greylib support in the bootloader so don't compile it. 2010-04-05 12:17:11 +00:00
pcm-as3525.c as3525: add some comments in the microphone channel copy loop 2010-05-14 16:47:58 +00:00
power-as3525.c as3514/as3543 fixes 2010-05-17 20:53:25 +00:00
powermgmt-target.h as3525* : all as3525(v1) use ADC_BVDD for reading battery 2010-05-05 01:28:37 +00:00
scrollwheel-as3525.c Fix someone elses yellow and red 2010-04-02 01:41:51 +00:00
sd-as3525.c as3525: make sure we don't use a negative number of sectors 2010-05-16 10:24:31 +00:00
sd-as3525v2.c as3525: make sure we don't use a negative number of sectors 2010-05-16 10:24:31 +00:00
system-as3525.c as3525: change SDRAM settings only in models for which there is a bootloader 2010-05-14 08:35:49 +00:00
system-target.h Fix wrong udelay logic that made it be way off. 2010-05-02 02:30:06 +00:00
timer-as3525.c Sansa AMS: VIC_INT_ENABLE register is not a mask 2009-11-24 12:05:53 +00:00
usb-as3525.c as3514/as3543 fixes 2010-05-17 20:53:25 +00:00
usb-drv-as3525.c as3525v1 use an as3515 audio codec/PMU, not an as3517 as previously thought 2010-05-16 09:22:02 +00:00
usb-target.h as3514/as3543 fixes 2010-05-17 20:53:25 +00:00