linux/sound/soc/codecs
Janusz Krzysztofik 459dc35233 ASoC: Add support for Conexant CX20442-11 voice modem codec
This patch adds support for Conexant CX20442-11 voice modem codec, suitable
for use by the ASoC board driver for Amstrad E3 (Delta) videophone. Related
sound card driver will follow.

This codec is an optional part of the Conexant SmartV three chip modem design.
As such, documentation for its proprietary digital audio interface is not
available. However, on Amstrad Delta board, thanks to Mark Underwood who
created an initial, omap-alsa based sound driver a few years ago[1], the codec
has been discovered to be accessible not only from the modem side, but also
over the OMAP McBSP based CPU DAI. Thus, the driver can be used by any sound
card that can access the codec DAI directly. The DAI configuration parameters
(sample rate and format, number of channels) has been selected out empirically
for best user experience.

The codec analogue interface consists of two pairs of analogue I/O pins:
speakerphone interface or telephone handset/headset interface. Furthermore, it
seams to provide two operation modes for speakerphone I/O: standard and
advanced, with automatic gain control and echo cancelation. Even if the codec
control interface is unknown and not available, all those interfaces and modes
can be selected over the modem chip using V.253 commands. The driver is able
to issue necessary commands over a suitable hw_write function if provided by a
sound card driver. Otherwise, the codec can be controlled over the modem from
userspace while inactive.

Even if nothig is known about the codec internal power management
capabilities, DAPM widgets has been used to model the codec audio map.
Automatically performed powering up/down of those virtual widgets results in
corresponding V.253 commands being issued.

Some driver features/oddities may be board specific, but I have no way to
verify that with any board other than Amstrad Delta.

[1] http://www.earth.li/pipermail/e3-hacking/2006-April/000481.html

Created and tested against linux-2.6.31-rc3.
Applies and works with linux-omap-2.6 commit
7c5cb7862d32cb344be7831d466535d5255e35ac as well.

Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2009-07-23 11:08:29 +01:00
..
ac97.c ASoC: Use a shared define for AC97 CODEC data formats 2009-05-02 12:32:09 +01:00
ac97.h
ad1938.c ASoC: Fix checkpatch issues in AD1938 2009-07-18 11:09:42 +01:00
ad1938.h ASoC: new ad1938 codec driver based on asoc 2009-07-16 11:14:39 +01:00
ad1980.c ASoC: Use a shared define for AC97 CODEC data formats 2009-05-02 12:32:09 +01:00
ad1980.h
ad73311.c ASoC: Push the codec runtime storage into the card structure 2009-01-27 10:30:54 +00:00
ad73311.h ASoC: Blackfin: fix typo in MUTE definition 2009-03-06 13:37:18 +00:00
ak4104.c ASoC: Merge dai_ops factor out 2009-03-11 16:51:31 +00:00
ak4104.h ASoC: Add a driver for AK4104 S/PDIF transmitter 2009-03-09 10:46:17 +00:00
ak4535.c ASoC: Remove unused AK4535 hardware read functionality 2009-07-05 17:28:41 +01:00
ak4535.h
cs4270.c ASoC: cs4270: add power management support 2009-05-07 09:00:27 +01:00
cs4270.h
cx20442.c ASoC: Add support for Conexant CX20442-11 voice modem codec 2009-07-23 11:08:29 +01:00
cx20442.h ASoC: Add support for Conexant CX20442-11 voice modem codec 2009-07-23 11:08:29 +01:00
Kconfig ASoC: Add support for Conexant CX20442-11 voice modem codec 2009-07-23 11:08:29 +01:00
l3.c ASoC: UDA134x codec driver 2008-11-17 11:45:39 +00:00
Makefile ASoC: Add support for Conexant CX20442-11 voice modem codec 2009-07-23 11:08:29 +01:00
max9877.c ASoC: MAX9877: separate callback functions 2009-07-22 11:02:49 +01:00
max9877.h ASoC: MAX9877: add MAX9877 amp driver 2009-07-15 16:59:31 +01:00
pcm3008.c ASoC: Push the codec runtime storage into the card structure 2009-01-27 10:30:54 +00:00
pcm3008.h ASoC: Add PCM3008 ALSA SoC driver 2008-11-19 13:16:38 +00:00
spdif_transciever.c ASoC: spdif: set module licence to GPL 2009-07-13 23:01:30 +01:00
spdif_transciever.h ASoC: Add dummy S/PDIF codec support 2009-05-28 14:48:38 +01:00
ssm2602.c ASoC: Revert duplicated code in SSM2602 driver 2009-06-13 19:35:24 +01:00
ssm2602.h
stac9766.c ASoC: Keep index within stac9766_reg[] 2009-07-13 10:32:18 +01:00
stac9766.h ASoC: Codec for STAC9766 used on the Efika 2009-05-24 13:15:21 +01:00
tlv320aic3x.c ASoC: tlv320aic3x: Enable PLL when not bypassed 2009-07-23 08:14:29 +01:00
tlv320aic3x.h ALSA: ASoC: tlv320aic3x add dsp_a 2008-12-20 13:05:38 +00:00
tlv320aic23.c ASoC: codec tlv320aic23 fix bogus divide by 0 message 2009-06-06 09:24:48 +01:00
tlv320aic23.h
tlv320aic26.c ASoC: Replace remaining uses of snd_soc_cnew with snd_soc_add_controls. 2009-03-12 15:43:30 +00:00
tlv320aic26.h
twl4030.c ASoC: TWL4030: Add tristate callbacks for HiFi and Voice 2009-07-03 11:01:05 +01:00
twl4030.h ASoC: TWL4030: Add EXTMUTE to reduce pop-noise effect 2009-07-02 11:06:26 +01:00
uda134x.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
uda134x.h ASoC: Move uda134x_codec.h to uda134x.h 2008-11-18 12:32:33 +00:00
uda1380.c ASoC: UDA1380: refactor device registration 2009-06-15 21:54:48 +01:00
uda1380.h ASoC: UDA1380: refactor device registration 2009-06-15 21:54:48 +01:00
wm8350.c ASoC: Add suspend and resume callbacks to Wolfson CODEC drivers 2009-06-13 22:30:18 +01:00
wm8350.h ASoC: Include WM8350 register definitions in CODEC header 2009-04-27 20:27:01 +01:00
wm8400.c ASoC: Bodge around GCC 4.4.0 flow analysis bug in GCC 4.4.0 2009-07-17 21:53:49 +01:00
wm8400.h ASoC: Add initial driver for the WM8400 CODEC 2009-03-11 13:49:46 +00:00
wm8510.c ASoC: WM8510 has a single frame clock so needs symmetric rates 2009-07-09 11:28:07 +01:00
wm8510.h
wm8523.c ASoC: Add WM8523 CODEC driver 2009-07-01 18:47:45 +01:00
wm8523.h ASoC: Add WM8523 CODEC driver 2009-07-01 18:47:45 +01:00
wm8580.c ASoC: Regulator support for WM8580 2009-06-17 17:33:01 +01:00
wm8580.h ASoC: Move WM8580 to normal I2C device probe 2009-03-12 15:43:24 +00:00
wm8728.c ASoC: make ops a pointer in 'struct snd_soc_dai' 2009-03-04 22:29:47 +00:00
wm8728.h
wm8731.c ASoC: Limit WM8731 to symmetric rates 2009-07-08 17:48:12 +01:00
wm8731.h ASoC: Refactor WM8731 device registration 2009-02-18 11:55:22 +00:00
wm8750.c ASoC: make ops a pointer in 'struct snd_soc_dai' 2009-03-04 22:29:47 +00:00
wm8750.h
wm8753.c Merge branch 'for-2.6.31' into for-2.6.32 2009-07-06 21:49:35 +01:00
wm8753.h ASoC: Convert WM8753 to register via normal device probe 2009-02-24 23:49:53 +00:00
wm8900.c ASoC: Add suspend and resume callbacks to Wolfson CODEC drivers 2009-06-13 22:30:18 +01:00
wm8900.h ASoC: Convert WM8900 to do more work at I2C probe time 2008-12-10 19:47:40 +00:00
wm8903.c Merge branch 'for-2.6.31' into for-2.6.32 2009-06-25 13:58:37 +01:00
wm8903.h ASoC: Convert WM8903 driver to register at I2C probe time 2008-12-10 19:47:44 +00:00
wm8940.c ASoC: Add suspend and resume callbacks to Wolfson CODEC drivers 2009-06-13 22:30:18 +01:00
wm8940.h ASoC WM8940 Driver 2009-04-27 20:37:13 +01:00
wm8960.c ASoC: Fix WM8960 leaks on probe failure 2009-07-05 15:47:03 +01:00
wm8960.h ASoC: Add WM8960 CODEC driver 2009-04-13 15:11:46 +01:00
wm8961.c ASoC: Fix WM8961 suspend function type 2009-06-29 16:34:57 +01:00
wm8961.h ASoC: Add WM8961 driver 2009-06-12 17:16:06 +01:00
wm8971.c ASoC: make ops a pointer in 'struct snd_soc_dai' 2009-03-04 22:29:47 +00:00
wm8971.h
wm8988.c ASoC: Fix leaks in WM8988 registration error handling 2009-07-05 16:29:39 +01:00
wm8988.h ASoC: Add WM8988 CODEC driver 2009-04-07 18:51:23 +01:00
wm8990.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
wm8990.h ASoC: Enable WM8990 ADC clocking workaround 2008-11-17 17:24:54 +00:00
wm8993.c ASoC: Fix FLL reference clock division setup in WM8993 2009-07-17 22:13:01 +01:00
wm8993.h ASoC: Add WM8993 CODEC driver 2009-07-08 17:20:20 +01:00
wm9081.c ASoC: Error out if we can't determine a suitable WM9081 sysclk 2009-07-15 11:03:51 +01:00
wm9081.h ASoC: WM9081 mono DAC with integrated 2.6W class AB/D amplifier driver 2009-05-22 15:11:22 +01:00
wm9705.c ASoC: Use a shared define for AC97 CODEC data formats 2009-05-02 12:32:09 +01:00
wm9705.h ASoC: Driver for the WM9705 AC97 codec. 2009-01-16 16:40:25 +00:00
wm9712.c ASoC: Support AC97 link off by default on WM9712 2009-05-14 20:52:46 +01:00
wm9712.h
wm9713.c ASoC: correct print specifiers for unsigneds 2009-05-28 10:20:26 +01:00
wm9713.h