ASoC: Add WM8958 microphone detection support
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 26 Nov 2010 15:21:09 +0000 (15:21 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 27 Nov 2010 10:32:13 +0000 (10:32 +0000)
commit821edd2fb5b289b84d715fb744106019fa2e1920
tree22a51de4e306c7616ce43b182db9827f2a077b4c
parentd6addcc9d88aeac4a0cc63a06d36baef04f5dc3b
ASoC: Add WM8958 microphone detection support

The WM8958 contains an advanced accessory detection feature which allows
detection of up to seven different impedence levels on the microphone
bias output, including detection of video outputs. Since some of the
more involved accessory interfaces may involve noticable interactions
with external components a simple detection scheme is provided by
default with the option to provide custom handling of accessory detect.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
include/linux/mfd/wm8994/registers.h
sound/soc/codecs/wm8994.c
sound/soc/codecs/wm8994.h