lkml.org 
[lkml]   [2017]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/7] Implement generic regulator constraints parsing for ACPI and OF
On Wed, Jan 25, 2017 at 02:05:58PM -0800, Dmitry Torokhov wrote:

> > Yes. Querying the suspend mode configuration would be one way to do it
> > already.

> Suspend mode of what though? Regulator? I would not mind cleaning up at
> least some of the drivers if we had a generic API for doing such
> query... Would it be something like:

Yes, though there's some fun working out exactly when to query them.
Early resume should be safe.

> bool device_has_lost_state(struct device *dev,
> struct regulator *supplies)

> with DT systems going strictly off regulator data and ACPI throwing
> its internal state in the mix?

> Or you meant something else?

I meant looking at individual regulators, though I guess that does have
a list of supplied as an argument.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-01-25 23:27    [W:0.063 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site