From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Marcus Folkesson <marcus.folkesson@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Regulator constraints and userspace consumer
Date: Thu, 15 Sep 2011 00:27:07 +0100 [thread overview]
Message-ID: <20110914232706.GB2953@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <CAM8FrKKEXUwV6=cMzqi0Le7eadb2XWkrjSQ+jm=QBUJMGPKztQ@mail.gmail.com>
On Wed, Sep 14, 2011 at 08:54:47PM +0200, Marcus Folkesson wrote:
> What is the most accurate way to set the voltage for these
> limitations when the system starts up? There is apparently no check if
> the default configuration is within limits as the regulator stays on
> 1125mV.
> When I'm looking in the userspace consumer (/sys/class/regulator/),
> the "max_microvolts" and "min_microvolts" is set to 1000000 but the
> "microvolts" is set to 1125000.
Set apply_uV in hte constraints. The regulator framework won't touch
the hardware unless explicitly told to.
> * I want to change the output voltage from userspace on demand. What
> is the most proper way to do this? If I have understand correctly, the
> userspace consumer just exports interface for switching on/off the
> regulator, is that correct?
Why do you wish to do this? In general this is not a good sign. There
is the virtual consumer but that is explicitly intended for test, it's
not really supposed to be used in production.
next prev parent reply other threads:[~2011-09-14 23:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-14 18:54 Regulator constraints and userspace consumer Marcus Folkesson
2011-09-14 23:27 ` Mark Brown [this message]
2011-09-15 5:21 ` Marcus Folkesson
2011-09-15 7:51 ` Mark Brown
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=20110914232706.GB2953@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcus.folkesson@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.