[alsa-devel] AK4671 pin sharing

Mark Brown broonie at opensource.wolfsonmicro.com
Thu Nov 26 11:43:09 CET 2009

On Wed, Nov 25, 2009 at 11:44:47AM -0600, Misael Lopez wrote:

> full-differential mode as well. However, the chip doesn't have separate
> pins for the differential input/outputs, but instead the same pins
> used in single-ended mode can be reconfigured and reused.

This is a common arrangement.

> (full-differential). Changing the function of a pin also modifies the
> audio map:

> My concerns are:
> - When inputs/outputs are single-ended, then they have its own widgets,
>   i.e.: 

> - Audio map changes depending on the mode of inputs or outputs, I don't
>   know how the SoC codec driver could handle that.

> Any suggestion on what to do in above scenarios?

The WM8993 has similar routing changes when in fully differential mode.
It uses platform data to configure the mode and registers different
widgets depending on the configuration.

More information about the Alsa-devel mailing list