regulator api

Jojy Varghese <[email protected]>
Newsgroups gmane.linux.newbie
Message-ID <[email protected]>
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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.