public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* Regulators vis-a-vis Power Domains
@ 2010-04-03 18:12 Sundar R IYER
  0 siblings, 0 replies; 6+ messages in thread
From: Sundar R IYER @ 2010-04-03 18:12 UTC (permalink / raw)
  To: linux-pm@lists.linux-foundation.org
  Cc: STEricsson_nomadik_linux, broonie@opensource.wolfsonmicro.com,
	linux-arm-kernel@lists.infradead.org, lrg@slimlogic.co.uk

Hello All,
 
I have a few queries about regulators vis-a-vis power domains.
 
1. The documentation for the regulators mentions "power domains" and "switches" to be modeled as regulators. I am planning to model multiple "switches" for controlling supplies to various peripherals from a main master regulator as multiple regulators, childed from the parent regulator. Is this the right way to proceed ahead? Further the options for these switches will be only a logical on/off. (BTW, I saw lots of TI stuff which is something related to power domains, but it doesn't model the regulator framework.)
 
2. In the same example below, should I instead model just the main regulator, and in the driver specific enable/disable, iterate through the list of consumers, and then accordingly enable/disable these switches according to the calling consumer?. In this way, I can choose not to clutter those smaller switches as regulators in my regulator as well as peripheral driver code.?
 
3. Extending the same model, I want to use the _set_optimum API. Logically, enabling/disabling the child supply or setting an optimal load on the regulator must propagate the new load to any master regulator ( which can then again be set an optimal load). My understanding of this function shows me that currently, this is not supported in the function. Am I right in deducing this or have I failed to overlook some other portions in the regulator code?
 
Waiting for all your valuable replies!
 
Sundar

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

end of thread, other threads:[~2010-04-07  9:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <33A307AF30D7BF4F811B1568FE7A9B180320EBB6@EXDCVYMBSTM006.EQ1STM.local>
2010-04-04 13:10 ` Regulators vis-a-vis Power Domains Mark Brown
     [not found] ` <20100404131058.GA11705@opensource.wolfsonmicro.com>
2010-04-06 15:58   ` Ben Dooks
     [not found]   ` <20100406155812.GR31126@trinity.fluff.org>
2010-04-06 20:44     ` Liam Girdwood
     [not found]     ` <1270586640.3229.72.camel@odin>
2010-04-06 21:57       ` Mark Brown
2010-04-07  9:38         ` Liam Girdwood
2010-04-03 18:12 Sundar R IYER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox