rockbox/firmware/target/arm
Cástor Muñoz 67b4e7f958 iPod Classic: use new PL080 DMA driver
This patch uses the new pl080 DMA driver for I2S playback and LCD
update. I have tried to be as fiel as possible to the current
behaviour, algorithms and configurations are the same, but using
the new driver. Other modifications:

Playback:

 - CHUNK_SIZE is decreased from 42988 to 8188 bytes, it does not
   affect normal playback (block size 1024), was tested using
   metronome (block size 46080). This change is needed because the
   new code commits d-cache range instead of commiting the whole
   d-cache, maximum time spent commiting the range should be
   limited, CHUNK_SIZE can be decreased even more if necessary.

 - pcm_play_dma_start() calls pcm_play_dma_stop() to stop the
   channel when it is running (metronome replays the tick sound
   without stopping the channel).

 - pcm_play_dma_get_peak_buffer(): same as actual SVN function but
   returns samples count instead of bytes count.
   TODO: AFAIK, actually this function is not used in RB. Not tested,
   but probably this function will fail because it returns pointers
   to the internal double buffer.

LCD update:

 - suppresses lcd_wakeup semaphore and uses yield()

Change-Id: I79b8aa47a941e0dd91847150618f3f7f676c26ef
2015-10-07 06:15:03 +02:00
..
archos/av300 button-target.h : move prototypes to button.h 2012-01-08 00:07:19 +00:00
as3525 AMS: Change DMA transfer size for audio. 2015-06-01 18:23:57 +02:00
at91sam Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
imx31 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
imx233 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
ipod Fix red/yellow 2015-01-12 12:02:24 +01:00
iriver Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
olympus Fix red/yellow 2015-01-12 12:02:24 +01:00
pbell Fix red/yellow round #2 2015-01-12 13:25:14 +01:00
philips Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
pnx0101 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
pp Rewrite filesystem code (WIP) 2014-08-30 03:48:23 +02:00
rk27xx Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
s3c2440 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
s5l8700 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
s5l8702 iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
samsung Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
sandisk Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
tatung Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
tcc77x Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
tcc780x Fix red/yellow 2015-01-12 12:02:24 +01:00
tms320dm320 Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
ata-as-arm.S FS#11335 by me: make ARM assembly functions thumb-friendly 2010-06-11 04:41:36 +00:00
ata-nand-telechips.c Add missing kernel.h includes (hopefully all of them). 2014-01-05 20:32:09 +01:00
bits-armv4.S Do some things to make -ffunction-sections work better. 2011-12-17 01:43:32 +00:00
bits-armv6.S Do some things to make -ffunction-sections work better. 2011-12-17 01:43:32 +00:00
crt0.S arm: factor all exception handlers out of the crt0.S files 2012-04-06 13:46:32 +02:00
i2c-telechips.c Fix various reds. Some includes needed fixup. 2014-03-03 19:10:48 +01:00
lcd-c200_c200v2.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
lcd-ssd1815.c lcd drivers: Convert lcd_[remote_]framebuffer to a pointer 2012-02-28 11:44:59 +11:00
mmu-arm.h Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
mmu-arm.S imx233: define HAVE_TEST_AND_CLEAN_CACHE 2012-06-07 14:48:43 +02:00
mmu-armv6.S Commit to certain names for cache coherency APIs and discard the aliases. 2011-12-17 07:27:24 +00:00
pcm-telechips.c Fix errors in unintentionally merged gerrit commit. 2012-03-03 01:45:09 -05:00
powermgmt-ascodec.c AMSv2: add proper definitions for charge current 2012-03-04 12:23:05 +01:00
system-arm.c Restore backtrace which was accidentely commented out 2012-05-19 16:55:07 +02:00
system-arm.h Create fimrware/asm directory for assembly optimized stuff. 2012-01-22 18:46:44 +01:00
usb-drv-arc.c Get rid of usb_drv_attach() from USB code. 2013-05-14 22:13:38 -04:00
usb-s3c6400x.c Make sure the USB PHY is disabled after use. Patch by Mihail Zenkov who has 2014-09-28 21:07:45 +02:00
usb-tcc.c usb-target.h: remove 2011-12-31 18:44:55 +00:00
wmcodec-telechips.c D2 also needs audiohw_preinit() 2008-11-28 23:44:06 +00:00