From: Jojy Varghese <jojy.varghese@gmail.com>
To: linux-newbie@vger.kernel.org
Subject: regulator api
Date: Tue, 26 Apr 2011 19:00:39 -0700 [thread overview]
Message-ID: <BANLkTik8BdNHwoKiuEuf_q3YLf5Dc19kuA@mail.gmail.com> (raw)
In-Reply-To: <BANLkTi=UPAQvz1jrQdJ7z7fjaUuiUydt4A@mail.gmail.com>
Hi
I am not sure if the question belongs here (probably belongs to
linux-power list which I didnt find). My questions is about the usage
of regulation_constraints. How do we initialize the constraints for a
regulator which needs to be powered on at boot time only? I tried the
"always_on" flag but that seems to be causing "regulator_disable" to
bypass the call to regulator_ops->disable. I need to disable the
regulator, say during power off.
Also if we turn on "has_full_constraints" for the board, any
regulator which is not "always_on" is disabled during initialization.
On the other hand, if the "has_full_constraints" is turned off, we get
warnings from the core. So I am confused about the usage of the
regulator core API for the case of a regulator which needs to be
"enabled" only during init.
Thanks in advance,
Jojy G Varghese
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" 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.linux-learn.org/faqs
parent reply other threads:[~2011-04-27 2:00 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <BANLkTi=UPAQvz1jrQdJ7z7fjaUuiUydt4A@mail.gmail.com>]
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=BANLkTik8BdNHwoKiuEuf_q3YLf5Dc19kuA@mail.gmail.com \
--to=jojy.varghese@gmail.com \
--cc=linux-newbie@vger.kernel.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).