summaryrefslogtreecommitdiffstats
path: root/sound/Makefile
diff options
context:
space:
mode:
authorGrazvydas Ignotas <notasas@gmail.com>2008-12-02 19:48:58 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2008-12-03 13:40:28 +0100
commit5920b45303291057fef827f5bdafe04001c1bbae (patch)
tree1d63ec7971c8f00dee0d380b93c25c5844e007a6 /sound/Makefile
parentASoC: Push platform registration down into the card (diff)
downloadlinux-5920b45303291057fef827f5bdafe04001c1bbae.tar.xz
linux-5920b45303291057fef827f5bdafe04001c1bbae.zip
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>
Diffstat (limited to 'sound/Makefile')
0 files changed, 0 insertions, 0 deletions