ASoC: WM8903: Implement DMIC support
commit97945c46a23de5f9dfedf1b4a33e51d074df9a9c
authorStephen Warren <swarren@nvidia.com>
Tue, 19 Apr 2011 02:58:11 +0000 (18 20:58 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Apr 2011 13:00:35 +0000 (20 14:00 +0100)
treef86addbfd71162f59ca1af16fc5bacefc51bfd5c
parentdad31ec133adb20c8fd10bfd9379da3f08b8721e
ASoC: WM8903: Implement DMIC support

In addition to the currently supported analog capture path, the WM8903
also supports digital mics.

The analog and digital capture paths are exclusive; a mux is present to
select the capture source.

Logically, the mux exists to select the decimator's input, from either
the ADC or DMIC block outputs. However, the ADC power domain also
includes the DMIC interface. Consequently, this change represents the
mux as existing immediately before the ADC, and selecting between the
Input PGA and DMIC block outputs.

An alternative might be to represent the mux in its correct location,
and associate the ADC power enable controls with both the real ADC, and
a fake ADC for the DMIC?

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