Re: [RFC 2/3] mmc: sdhci: add host_ops->voltage_switch callback for all other voltages

From: Linus Walleij
Date: Fri Oct 02 2015 - 06:00:16 EST


On Wed, Sep 2, 2015 at 1:19 AM, Vaibhav Hiremath
<vaibhav.hiremath@xxxxxxxxxx> wrote:

> Not quite sure whether regulator would be right fit for this.
>
> Initially I was thinking of making use of pinconf framework, using
> PIN_CONFIG_POWER_SOURCE, but that too I am not sure is the right way of
> doing it.
>
> Probably, question for pinctrl maintainer. Looping Linus Walleji.

We have another pinctrl driver exposing the occasional fixed regulator
for exactly this purpose, see:
sh-pfc/pfc-sh73a0.c

So use the same mechanism for this driver.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/