[alsa-devel] [PATCH] ASoC: core: Configure pin muxing via pinctrl when registering a DAI

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Sep 25 13:22:31 CEST 2012

On Mon, Sep 24, 2012 at 09:41:22AM -0600, Stephen Warren wrote:

> But I still find it unlikely that this situation will occur; surely
> there's some specific reason directly related to the device itself, or
> the protocol it implements, that defines whether it needs dynamic
> pinctrl, and hence no matter what SoC that device is inserted into, it
> will either need or not-need dynamic pinctrl. Are there any extant
> examples to refute this?

Linus' example of adjusting the pinctrl state to relax power usage is an
obvious one, and one that should be implementable on almost any system.
It's really a function of the SoC integration rather than of the device
itself (the IP isn't accomplishing anything for itself, it's allowing
the SoC to save some power when it doesn't need to do anything with the
hardware.  Essentially any IP could implement this, but the gains from
doing it are likely to vary with SoC.

More information about the Alsa-devel mailing list