rockbox/firmware/target/arm/as3525
Rafaël Carré adb978a44d Sansa AMS: Various fixes/enhancements for clock frequencies
Fix CGU_DBOP setting

Set PCLK to the exact frequency (62MHz, not the maximal frequency)

Use a better comment for CLK_DIV macro

Use preprocessor safety checks for clock divider sizes to avoid future mistakes (not for SD_IDENT frequency since that check is handled by mci_set_clock_divider)

Use maximal IDE frequency of 66MHz (like OF), not 90MHz like written in AS3525 datasheet. The IDE chip is somehow linked to internal storage, and a too high frequency could affect the storage driver.

Use the same DBOP frequency of 32MHz for all models (like OF, verified clip, fuze, e200v2 and m200v4), compromise between performance and battery life could be added in the future for each target
Performance increase on Sansa Fuze with DBOP freq. set to 64MHz: +12% fps for lcd_update, +1% fps for yuv

Thanks to daytona955 on the forums for his help

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20923 a1c6a512-1295-4272-9138-f99709370657
2009-05-13 08:27:20 +00:00
..
sansa-c200v2 Sansa AMS: Various fixes/enhancements for clock frequencies 2009-05-13 08:27:20 +00:00
sansa-clip Sansa AMS: Various fixes/enhancements for clock frequencies 2009-05-13 08:27:20 +00:00
sansa-e200v2 Sansa AMS: Various fixes/enhancements for clock frequencies 2009-05-13 08:27:20 +00:00
sansa-fuze Sansa AMS: Various fixes/enhancements for clock frequencies 2009-05-13 08:27:20 +00:00
sansa-m200v4 Remove unnecessary #include "adc.h" 2009-04-25 22:24:59 +00:00
adc-target.h Sansa AMS: use the AS3514 ADC driver 2008-11-10 20:55:56 +00:00
app.lds FS#10114 - Sansa AMS : use IRAM for codecs on >2MB targets Rafaël Carré 2009-04-10 17:00:23 +00:00
ascodec-as3525.c Allow a clock divider larger than 255 for the internal i2c bus to the as3525 ascodec. 2009-05-06 17:33:56 +00:00
ascodec-target.h Sansa AMS: declare ascodec_init() function in the header 2008-11-10 20:59:10 +00:00
ata_sd_as3525.c FS#10113 - Sansa AMS : do not use unaligned buffers on ATA DMA by Rafaël Carré. 2009-04-10 17:03:56 +00:00
audio-as3525.c FS#9611 - Sansa Clip radio code. Commit final part which enables the LINE2 input that carries the analog radio signal on ams sansas. 2009-02-05 19:57:18 +00:00
backlight-e200v2-fuze.c Remove the calls to backlight_lcd_sleep_countdown from target specific code and move it into backlight.c 2009-04-26 01:23:39 +00:00
boot.lds Common data must be included in .bss or it won't get zeroed in crt0. Fix the archos self-extractor as well to play safe. 2008-11-07 00:15:53 +00:00
clock-target.h Sansa AMS: Various fixes/enhancements for clock frequencies 2009-05-13 08:27:20 +00:00
debug-as3525.c Fix FS#10128 - The View IO Ports debug menu showed weird dbop values (sometimes FFFF prepended), due to sign-extension. Switch to unsigned short to fix it. 2009-04-20 20:11:01 +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 Patch by Rafaël Carré - Sansa AMS: Fix a few mistakes in DMA code 2009-04-07 17:08:26 +00:00
dma-target.h Sansa AMS : use SD controller status to notify end of data transfer 2009-01-08 08:27:42 +00:00
fmradio-i2c-as3525.c Enable FM radio on the sansa c200v2 (untested). 2009-04-26 21:28:34 +00:00
i2s-as3525.c Fix Clip firmware building by adding missing symbols 2008-11-10 11:04:43 +00:00
kernel-as3525.c Few Fuze/e200v2 button fixes. Don't read the scrollwheel when the hold button is active and rename a variable to describe better what it is for. 2009-04-13 17:10:52 +00:00
lcd-as-e200v2-fuze.S FS#10118 & FS#10165 : lcd_blit_yuv() for Sansa Fuze & Sansa e200v2 2009-05-12 13:22:39 +00:00
pcm-as3525.c Patch by Rafaël Carré - Sansa AMS : inform pcm.c when playback stopped, use pcm_play_dma_stopped_callback() 2009-04-07 17:11:55 +00:00
power-as3525.c 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
powermgmt-as3525.c Implement a basic uncalibrated battery reading for all as3525 targets with a lithium battery. 2008-11-23 15:00:44 +00:00
powermgmt-target.h FS#9968: Charging on e200v2 2009-03-22 19:06:54 +00:00
system-as3525.c commit FS#10092 (cleanup AMS system init) by Rafaël Carré. 2009-04-07 16:14:01 +00:00
system-target.h Sansa AMS: centralize clock settings in clock-target.h 2008-12-04 20:04:31 +00:00
timer-target.h Sansa AMS: correct timer definition (clk_main == 24MHz / 16) 2008-11-26 14:40:57 +00:00
usb-as3525.c Fix #includes in usb-as3525.c 2009-04-12 19:08:26 +00:00