14 Oct
2011
14 Oct
'11
2:16 p.m.
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.