rockbox/firmware/target/arm/s5l8702/ipod6g
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
..
adc-ipod6g.c New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
adc-target.h New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
audio-ipod6g.c New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
backlight-ipod6g.c Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
backlight-target.h Get rid of stupid _backlight_* function names 2015-01-12 11:09:27 +01:00
button-target.h button-target.h : move prototypes to button.h 2012-01-08 00:07:19 +00:00
cscodec-ipod6g.c iPod Classic: Enable boosting by switching the CPU between 1x and 2x AHB clock 2011-02-09 21:45:57 +00:00
lcd-asm-ipod6g.S iPod Classic: YUV to RGB optimizations for ARM v5+ 2014-12-10 20:39:34 +01:00
lcd-ipod6g.c iPod Classic: use new PL080 DMA driver 2015-10-07 06:15:03 +02:00
mmcdefs-target.h iPod Classic: HDD endianness change 2011-12-28 16:06:13 +00:00
piezo-ipod6g.c iPod Classic: configure piezo GPIO ports 2014-12-08 03:11:34 +01:00
piezo.h FS#12524 - iPod Classic/6G: hardware click support 2012-02-11 23:46:35 +01:00
pmu-ipod6g.c iPod Classic/6G: fix battery voltage ADC scale 2013-01-09 22:08:27 +01:00
pmu-target.h New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
power-ipod6g.c iPod Classic/6G: support USB suspend mode 2013-01-09 22:08:27 +01:00
powermgmt-ipod6g.c iPod Classic/6G: fix battery voltage ADC scale 2013-01-09 22:08:27 +01:00
rtc-ipod6g.c New port: iPod Classic (also known as iPod 6G/6.5G/7G) 2011-01-02 23:16:27 +00:00
storage_ata-ipod6g.c iPod Classic: do not use HDD features on CE-ATA drives 2015-07-17 01:03:51 +02:00