All of lore.kernel.org
 help / color / mirror / Atom feed
* "coupled" regulator support
@ 2016-07-15 12:01 ` Jisheng Zhang
  0 siblings, 0 replies; 10+ messages in thread
From: Jisheng Zhang @ 2016-07-15 12:01 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood, linux-arm-kernel; +Cc: linux-kernel

Hi,

I dunno how to name this kind of regulator, my situation is:

multiple devices connects to one voltage regulator_dev, e.g devA and devB connects
to regR, regR only support two voltage v1 and v2, let's say v1 < v2

regR can only be set to v1 if devA and devB all call for set voltage to v1
regR can set to v2 if devA or devB call for set voltage to v2

To support this situation, I'd like to add flag to regulator structure and
patch regulator_check_consumers() to check whether we are safe to set the vol

Is this patch acceptable or we already have elegant solution?

Thanks in advance,
Jisheng

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-07-21 10:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-15 12:01 "coupled" regulator support Jisheng Zhang
2016-07-15 12:01 ` Jisheng Zhang
2016-07-15 12:50 ` Mark Brown
2016-07-15 12:50   ` Mark Brown
2016-07-18  6:44   ` Jisheng Zhang
2016-07-18  6:44     ` Jisheng Zhang
2016-07-18 18:05     ` Mark Brown
2016-07-18 18:05       ` Mark Brown
2016-07-21 10:45       ` Jisheng Zhang
2016-07-21 10:45         ` Jisheng Zhang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.