linux/sound
Grazvydas Ignotas 5920b45303 ASoC: TWL4030: Add input selection and gain controls
The TWL4030 codec device has two ADCs. Both of them can have
several inputs routed to them, but TRM says that only one source
can be selected for every ADC, even though every source has a
dedicated bit in the registers.

This patch adds input source controls. It modifies default register
values to have no inputs selected and ADCs disabled. When some
input is selected, control handlers enable apropriate input
amplifier and ADC. If a microphone is selected, bias power is
automatically enabled. When some input is deselected, unused
chip parts are disabled.

Microphone and line input recording tested on OMAP3 pandora board.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2008-12-03 12:40:28 +00:00
..
aoa Merge branches 'topic/fix/misc' and 'topic/fix/hda' into for-linus 2008-11-03 16:28:24 +01:00
arm Merge branches 'topic/asoc', 'topic/misc-fixes' and 'topic/hda' into for-linus 2008-10-23 19:20:54 +02:00
core Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2008-11-03 10:14:59 -08:00
drivers Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6 2008-11-03 10:14:59 -08:00
i2c V4L/DVB (8788): v4l: replace video_get_drvdata(video_devdata(filp)) with video_drvdata(filp) 2008-10-12 09:36:54 -02:00
isa ALSA: gusextreme: Fix build errors 2008-11-10 07:54:25 +01:00
mips
oss oss: fix O_NONBLOCK in dmasound_core 2008-11-01 12:40:38 -07:00
parisc ALSA: harmony - fix a typo 2008-09-04 10:33:55 +02:00
pci Merge branch 'topic/fix/hda' into for-linus 2008-11-25 17:21:32 +01:00
pcmcia
ppc ALSA: ps3: Add support for SPDIF/HDMI passthru 2008-10-20 08:06:39 +02:00
sh ALSA: Fix section for snd-aica platform driver 2008-09-23 08:17:58 +02:00
soc ASoC: TWL4030: Add input selection and gain controls 2008-12-03 12:40:28 +00:00
sparc Revert "of_platform_driver noise on sparce" 2008-12-01 07:55:14 -08:00
spi
synth
usb ALSA: usb - Add quirk for Edirol UA-25EX advanced modes 2008-10-30 11:37:01 +01:00
ac97_bus.c
Kconfig Fix CONFIG_AC97_BUS dependency 2008-09-06 11:43:41 +02:00
last.c
Makefile
sound_core.c sound/sound_core: Fix sparse warnings 2008-11-21 08:13:15 +01:00
sound_firmware.c