• Stephen Warren's avatar
    ASoC: WM8903: Implement DMIC support · 97945c46
    Stephen Warren authored
    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: default avatarStephen Warren <swarren@nvidia.com>
    Acked-by: default avatarLiam Girdwood <lrg@ti.com>
    Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
    97945c46
wm8903.c 61.8 KB