]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: omap: rx51: Add headset support
authorJarkko Nikula <jhnikula@gmail.com>
Mon, 14 Feb 2011 15:20:21 +0000 (17:20 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 15 Feb 2011 21:53:59 +0000 (21:53 +0000)
commit40899b7217766c1fdbbfcca888e366049131ece3
tree3b1e45861acea1bd18f50197c2f2bc5dc01b65dc
parentb20e808762a94d3496cb7f5edf613607be6c9f63
ASoC: omap: rx51: Add headset support

This patch adds support for headset microphone in Nokia RX-51/N900. The mic
signal from audio jack is routed to codec A LINE1L via two switches and the
mic bias is coming from codec B part.

First switch is the tv-out switch that is already supported and the second
switch selects between voltage detection circuit and codecs. As there is
no use for voltage detection at the moment the second switch is connected
statically to codecs in rx51_soc_init.

Headset can be active when control "Jack Function" is set to "Headset".

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/omap/rx51.c