regulator api

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs


[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux