rockbox/firmware/target/arm
Cástor Muñoz 291b2338c9 ipod Classic: implement HAVE_RECORDING
This patch has been tested on iPod 80 and 160slim, actually
it works but some updates must be done to the final version:

 - unlimitted input buffer
 - decrease CHUNK_SIZE
 - use non-cached addresses instead of discard d-cache ???

Capture hardware versions:

 Ver  iPod models   capture support
 ---  -----------   ---------------
 0    80/160fat     dock line-in
 1    120/160slim   dock line-in + jack mic

 HW version 1 includes an amplifier for the jack plug mic.

 Capture HW detection only tested on iPod 80 and 160slim.

CODEC power:

 AFAIK, OF powers CS42L55 at VA=2.4V for capture (1.8V for
 playback) and turns on the ADC charge pump. CODEC datasheet
 recommmends to disable the charge pump for VA>2.1V.

 CS42L55 DS, s4.13 (Required Initialization Settings): for
 VA>2.1V, some adjustments "must" be done using undocummented
 "control port compensation" registers. OF does not modifies
 these registers when VA=2.4V.

 This patch configures capture HW in the same way as OF does.

TODO:
 - ADC full scale voltage depends on VA, perform tests to find
   clipping levels for VA=1.8V and VA=2.4V

Change-Id: I7e20fd3ecaa83b1c58d5c746f5153fe5c3891d75
2015-10-07 06:15:03 +02:00
..
archos/av300
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: implement HAVE_RECORDING 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
ata-nand-telechips.c Add missing kernel.h includes (hopefully all of them). 2014-01-05 20:32:09 +01:00
bits-armv4.S
bits-armv6.S
crt0.S
i2c-telechips.c Fix various reds. Some includes needed fixup. 2014-03-03 19:10:48 +01:00
lcd-c200_c200v2.c
lcd-ssd1815.c
mmu-arm.h
mmu-arm.S imx233: define HAVE_TEST_AND_CLEAN_CACHE 2012-06-07 14:48:43 +02:00
mmu-armv6.S
pcm-telechips.c
powermgmt-ascodec.c
system-arm.c Restore backtrace which was accidentely commented out 2012-05-19 16:55:07 +02:00
system-arm.h
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
wmcodec-telechips.c