From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: io-domain voltages as regulators?
Date: Mon, 04 Aug 2014 00:18:40 +0200 [thread overview]
Message-ID: <3923586.SsVg941346@diego> (raw)
Hi Mark, Linus,
I'd like to clarify what the appropriate way to handle pin output voltages is.
On the Rockchip SoCs the voltage for some groups of pins can be set between
3.3V and 1.8V ... like the MMC/SD pins who need this to support UHS mode
cards.
In [0] when talking about something different, Linus Walleij described a
similar case as
"I think we need to have a discussion with Mark Brown on how to
handle this.
We have previously had the case of MMC/SD level-shifters, where
a certain setting gives a certain level of signals out, and another setting
gives another level. Like two discrete levels.
So we modeled that as a regulator provider inside the pin control
driver eventually, see sh-pfc/pfc-sh73a0.c"
As this sound like exactly the thing I'm trying to solve, is handling this via
a regulator the correct general way?
Thanks
Heiko
[0] https://lkml.org/lkml/2014/5/28/147
next reply other threads:[~2014-08-03 22:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-03 22:18 Heiko Stübner [this message]
2014-08-04 14:46 ` io-domain voltages as regulators? Mark Brown
2014-08-11 7:44 ` Linus Walleij
2014-08-11 12:46 ` Ulf Hansson
2014-08-12 15:13 ` Doug Anderson
2014-08-13 6:22 ` Yuvaraj Cd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3923586.SsVg941346@diego \
--to=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox