lkml.org 
[lkml]   [2011]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Regulator constraints and userspace consumer
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" 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.tux.org/lkml/

\
 
 \ /
  Last update: 2011-09-15 01:29    [W:0.044 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site