rockbox/firmware/target/arm/s5l8702
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
..
ipod6g iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
app.lds Get the linker files that slipped through in r31337. 2011-12-17 02:00:59 +00:00
boot.lds Get the linker files that slipped through in r31337. 2011-12-17 02:00:59 +00:00
crt0.S arm: factor all exception handlers out of the crt0.S files 2012-04-06 13:46:32 +02:00
debug-s5l8702.c iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
dma-s5l8702.c iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
dma-s5l8702.h iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
gpio-s5l8702.c iPod Classic: s5l8702 GPIO interrupt controller. 2015-10-07 06:15:03 +02:00
gpio-s5l8702.h iPod Classic: s5l8702 GPIO interrupt controller. 2015-10-07 06:15:03 +02:00
i2c-s5l8702.c Bulk convert all DOS line endings to UNIX. 2011-11-06 22:44:25 +00:00
kernel-s5l8702.c iPod Classic: minor modifications in TIMER 2014-12-08 03:07:44 +01:00
pcm-s5l8702.c iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
pcm-target.h iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
pl080.c iPod Classic: introduce PL080 DMA controller driver 2015-10-07 06:15:03 +02:00
system-s5l8702.c iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
system-target.h Fix last warnings. 2014-03-03 20:34:46 +01:00
timer-s5l8702.c iPod Classic: minor modifications in TIMER 2014-12-08 03:07:44 +01:00