lkml.org 
[lkml]   [2012]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2 v2] regulator: support multiple dummy fixed regulators
On Mon, Jun 18, 2012 at 06:30:30PM +0200, Guennadi Liakhovetski wrote:
> On Mon, 18 Jun 2012, Mark Brown wrote:

> > None of this seems terribly obvious to me. Once we're getting into
> > allowing the user to specify a voltage (and possibly other parameters)
> > for the regulator it's hopefully going to refer to an actual thing we
> > can point at on the board rather than a virtual thing we've got to
> > satisfy software so giving it a useful name seems more useful (like a
> > name correspoding to the relevant supply on the schematic).

> Sorry, don't understand. What do you mean by a "virtual" supply? There is
> a device, it is functional, doesn't this mean, that something is supplying
> power to it? And if power is supplied, then it also hopefully has a
> certain voltage :) Why I need to know it - to set an MMC OCR mask.

It's for cases where people can't be bothered to specify the supply
properly but want to just put something in there to satisfy the sofware
without providing any useful information. There will be one or more
physical supplies but the software is being non-committal about them.

> > There's also the fact that there shouldn't be any need for unique
> > regulator names internally so if it really doesn't matter we should be
> > able to give everything the same name happily enough.

> What about entries under /proc/sys/debug/regulator/? Don't they have to be
> unique?

Meh, yes. I did try to make them readable. But then making up the
names in this fashion does rather defeat the point there...
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2012-06-18 19:21    [W:0.077 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site