Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1238083

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

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [RFC 2/3] mmc: sdhci: add host_ops->voltage_switch callback for all other voltages
Date 2015-10-02 12:10 +0200
Message-ID <qf5rQ-ds-23@gated-at.bofh.it> (permalink)
References <q3Zzr-7B3-9@gated-at.bofh.it> <q3Zzs-7B3-23@gated-at.bofh.it> <q4alc-6kn-9@gated-at.bofh.it> <q4bAD-82i-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Sep 2, 2015 at 1:19 AM, Vaibhav Hiremath
<vaibhav.hiremath@linaro.org> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [RFC 2/3] mmc: sdhci: add host_ops->voltage_switch callback for  all other voltages Linus Walleij <linus.walleij@linaro.org> - 2015-10-02 12:10 +0200

csiph-web