ASoC: Implement WM8962 DMIC support
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 25 Apr 2011 19:14:21 +0000 (20:14 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 26 Apr 2011 10:49:09 +0000 (11:49 +0100)
commite47ac37c01bd9bd840dbbbc57a6dc1ba1e49ccc0
tree278cc3631dd66974fdfdd28c5368724558fbe495
parent7cd873c2c9699bdf060b0bac5979a5c2ae68b553
ASoC: Implement WM8962 DMIC support

DMIC support is automatically disabled when none of the GPIOs are set up
to bring out the DMICCLK and DMICDAT pins at startup.

Note that there's no support for controlling DMIC routing except the power
control so the board DAPM configuration will need to manage DMIC enable and
disable if analogue mics (eg, a headset) also exist.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/codecs/wm8962.c