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

Linus Walleij linus.walleij at linaro.org
Mon Sep 24 16:37:23 CEST 2012

On Mon, Sep 24, 2012 at 12:17 PM, Mark Brown
<broonie at opensource.wolfsonmicro.com> wrote:
> On Mon, Sep 24, 2012 at 11:20:16AM +0200, Linus Walleij wrote:
>> So the problem with the patch we're discussing is that it's
>> "too far up" in the framework, and handling pinctrl should be done
>> somewhere below.
> Well, the problem here is that people keep wanting to add one shot
> pinctrl calls in drivers which clearly suggests that it ought to be
> factored out.

OK so can we find some suitable middle ground here?

Something like drivers could add some boolean flag to
"opt-in" for the core to handle this or so?

After all only some MMC drivers call up to
mmc_regulator_set_ocr() to set voltages, it's optional
but centralized.

I'm not sure I'm familiar enough with ASoC to have a
good suggestion on how to do this though...

Linus Walleij

More information about the Alsa-devel mailing list