459dc35233
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>
90 lines
3.4 KiB
Makefile
90 lines
3.4 KiB
Makefile
snd-soc-ac97-objs := ac97.o
|
|
snd-soc-ad1938-objs := ad1938.o
|
|
snd-soc-ad1980-objs := ad1980.o
|
|
snd-soc-ad73311-objs := ad73311.o
|
|
snd-soc-ak4104-objs := ak4104.o
|
|
snd-soc-ak4535-objs := ak4535.o
|
|
snd-soc-cs4270-objs := cs4270.o
|
|
snd-soc-cx20442-objs := cx20442.o
|
|
snd-soc-l3-objs := l3.o
|
|
snd-soc-pcm3008-objs := pcm3008.o
|
|
snd-soc-spdif-objs := spdif_transciever.o
|
|
snd-soc-ssm2602-objs := ssm2602.o
|
|
snd-soc-stac9766-objs := stac9766.o
|
|
snd-soc-tlv320aic23-objs := tlv320aic23.o
|
|
snd-soc-tlv320aic26-objs := tlv320aic26.o
|
|
snd-soc-tlv320aic3x-objs := tlv320aic3x.o
|
|
snd-soc-twl4030-objs := twl4030.o
|
|
snd-soc-uda134x-objs := uda134x.o
|
|
snd-soc-uda1380-objs := uda1380.o
|
|
snd-soc-wm8350-objs := wm8350.o
|
|
snd-soc-wm8400-objs := wm8400.o
|
|
snd-soc-wm8510-objs := wm8510.o
|
|
snd-soc-wm8523-objs := wm8523.o
|
|
snd-soc-wm8580-objs := wm8580.o
|
|
snd-soc-wm8728-objs := wm8728.o
|
|
snd-soc-wm8731-objs := wm8731.o
|
|
snd-soc-wm8750-objs := wm8750.o
|
|
snd-soc-wm8753-objs := wm8753.o
|
|
snd-soc-wm8900-objs := wm8900.o
|
|
snd-soc-wm8903-objs := wm8903.o
|
|
snd-soc-wm8940-objs := wm8940.o
|
|
snd-soc-wm8960-objs := wm8960.o
|
|
snd-soc-wm8961-objs := wm8961.o
|
|
snd-soc-wm8971-objs := wm8971.o
|
|
snd-soc-wm8988-objs := wm8988.o
|
|
snd-soc-wm8990-objs := wm8990.o
|
|
snd-soc-wm8993-objs := wm8993.o
|
|
snd-soc-wm9081-objs := wm9081.o
|
|
snd-soc-wm9705-objs := wm9705.o
|
|
snd-soc-wm9712-objs := wm9712.o
|
|
snd-soc-wm9713-objs := wm9713.o
|
|
|
|
# Amp
|
|
snd-soc-max9877-objs := max9877.o
|
|
|
|
obj-$(CONFIG_SND_SOC_AC97_CODEC) += snd-soc-ac97.o
|
|
obj-$(CONFIG_SND_SOC_AD1938) += snd-soc-ad1938.o
|
|
obj-$(CONFIG_SND_SOC_AD1980) += snd-soc-ad1980.o
|
|
obj-$(CONFIG_SND_SOC_AD73311) += snd-soc-ad73311.o
|
|
obj-$(CONFIG_SND_SOC_AK4104) += snd-soc-ak4104.o
|
|
obj-$(CONFIG_SND_SOC_AK4535) += snd-soc-ak4535.o
|
|
obj-$(CONFIG_SND_SOC_CS4270) += snd-soc-cs4270.o
|
|
obj-$(CONFIG_SND_SOC_CX20442) += snd-soc-cx20442.o
|
|
obj-$(CONFIG_SND_SOC_L3) += snd-soc-l3.o
|
|
obj-$(CONFIG_SND_SOC_PCM3008) += snd-soc-pcm3008.o
|
|
obj-$(CONFIG_SND_SOC_SPDIF) += snd-soc-spdif.o
|
|
obj-$(CONFIG_SND_SOC_SSM2602) += snd-soc-ssm2602.o
|
|
obj-$(CONFIG_SND_SOC_STAC9766) += snd-soc-stac9766.o
|
|
obj-$(CONFIG_SND_SOC_TLV320AIC23) += snd-soc-tlv320aic23.o
|
|
obj-$(CONFIG_SND_SOC_TLV320AIC26) += snd-soc-tlv320aic26.o
|
|
obj-$(CONFIG_SND_SOC_TLV320AIC3X) += snd-soc-tlv320aic3x.o
|
|
obj-$(CONFIG_SND_SOC_TWL4030) += snd-soc-twl4030.o
|
|
obj-$(CONFIG_SND_SOC_UDA134X) += snd-soc-uda134x.o
|
|
obj-$(CONFIG_SND_SOC_UDA1380) += snd-soc-uda1380.o
|
|
obj-$(CONFIG_SND_SOC_WM8350) += snd-soc-wm8350.o
|
|
obj-$(CONFIG_SND_SOC_WM8400) += snd-soc-wm8400.o
|
|
obj-$(CONFIG_SND_SOC_WM8510) += snd-soc-wm8510.o
|
|
obj-$(CONFIG_SND_SOC_WM8523) += snd-soc-wm8523.o
|
|
obj-$(CONFIG_SND_SOC_WM8580) += snd-soc-wm8580.o
|
|
obj-$(CONFIG_SND_SOC_WM8728) += snd-soc-wm8728.o
|
|
obj-$(CONFIG_SND_SOC_WM8731) += snd-soc-wm8731.o
|
|
obj-$(CONFIG_SND_SOC_WM8750) += snd-soc-wm8750.o
|
|
obj-$(CONFIG_SND_SOC_WM8753) += snd-soc-wm8753.o
|
|
obj-$(CONFIG_SND_SOC_WM8900) += snd-soc-wm8900.o
|
|
obj-$(CONFIG_SND_SOC_WM8903) += snd-soc-wm8903.o
|
|
obj-$(CONFIG_SND_SOC_WM8971) += snd-soc-wm8971.o
|
|
obj-$(CONFIG_SND_SOC_WM8940) += snd-soc-wm8940.o
|
|
obj-$(CONFIG_SND_SOC_WM8960) += snd-soc-wm8960.o
|
|
obj-$(CONFIG_SND_SOC_WM8961) += snd-soc-wm8961.o
|
|
obj-$(CONFIG_SND_SOC_WM8988) += snd-soc-wm8988.o
|
|
obj-$(CONFIG_SND_SOC_WM8990) += snd-soc-wm8990.o
|
|
obj-$(CONFIG_SND_SOC_WM8993) += snd-soc-wm8993.o
|
|
obj-$(CONFIG_SND_SOC_WM9081) += snd-soc-wm9081.o
|
|
obj-$(CONFIG_SND_SOC_WM9705) += snd-soc-wm9705.o
|
|
obj-$(CONFIG_SND_SOC_WM9712) += snd-soc-wm9712.o
|
|
obj-$(CONFIG_SND_SOC_WM9713) += snd-soc-wm9713.o
|
|
|
|
# Amp
|
|
obj-$(CONFIG_SND_SOC_MAX9877) += snd-soc-max9877.o
|