[alsa-devel] [PATCH] ASoC: WM8903: Implement DMIC support
broonie at opensource.wolfsonmicro.com
Fri Oct 14 14:16:14 CEST 2011
On Fri, Oct 14, 2011 at 12:34:21PM +0200, Julian Scheel wrote:
> actually the wm8903 codec needs GPIO1 and GPIO2 to be configured
> properly to be able to use DMIC actually. I would propose to
> automatically configure these to DMIC-mode whenever ADCINPUT is set to
> DMIC. Would you agree with this procedure?
> I would prepare a patch which changes all relevant registers then.
I'd go the other way and disable the DMIC support if the GPIOs aren't
configured appropriately in the platform data. Since the DMIC is
selectable at runtime by random applications in most systems if it
forced the GPIOs into DMIC mode it could break functionality on systems
that don't actually have the DMIC wired up. We've got code for this in
WM8962 for example.
More information about the Alsa-devel