lkml.org 
[lkml]   [2009]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch 2.6.29-rc] regulator: add get_status()
From
Date
On Wed, 2009-01-14 at 23:03 -0800, David Brownell wrote:
> From: David Brownell <dbrownell@users.sourceforge.net>
>
> Based on previous LKML discussions:
>
> * Update docs for regulator sysfs class attributes to highlight
> the fact that all current attributes are intended to be control
> inputs, including notably "state" and "opmode" which previously
> implied otherwise.
>
> * Define a new regulator driver get_status() method, which is the
> first method reporting regulator outputs instead of inputs.
> It can report on/off and error status; or instead of simply
> "on", report the actual operating mode.
>
> For the moment, this is a sysfs-only interface, not accessible to
> regulator clients. Such clients can use the current notification
> interfaces to detect errors, if the regulator reports them.
>
> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
> ---

Applied.

Thanks

Liam




\
 
 \ /
  Last update: 2009-01-15 13:07    [W:0.131 / U:2.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site