kernel-ark/sound/soc
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
..
atmel ASoC: Push platform registration down into the card 2008-12-02 16:03:40 +00:00
au1x ASoC: Remove DAI type information 2008-11-24 18:01:31 +00:00
blackfin ASoC: Push platform registration down into the card 2008-12-02 16:03:40 +00:00
codecs ASoC: TWL4030: Add input selection and gain controls 2008-12-03 12:40:28 +00:00
davinci ASoC: Push platform registration down into the card 2008-12-02 16:03:40 +00:00
fsl ASoC: Push platform registration down into the card 2008-12-02 16:03:40 +00:00
omap ASoC: Push platform registration down into the card 2008-12-02 16:03:40 +00:00
pxa ASoC: Push platform registration down into the card 2008-12-02 16:03:40 +00:00
s3c24xx ASoC: Push platform registration down into the card 2008-12-02 16:03:40 +00:00
sh ASoC: Push platform registration down into the card 2008-12-02 16:03:40 +00:00
Kconfig ASoC: Merge AT91 and AVR32 support into a single atmel architecture 2008-10-31 13:12:26 +00:00
Makefile ASoC: Merge AT91 and AVR32 support into a single atmel architecture 2008-10-31 13:12:26 +00:00
soc-core.c ASoC: Push platform registration down into the card 2008-12-02 16:03:40 +00:00
soc-dapm.c ASoC: Rename snd_soc_card to snd_soc_machine 2008-11-21 14:02:01 +00:00