All of lore.kernel.org
 help / color / mirror / Atom feed
* Regulators vis-a-vis Power Domains
@ 2010-04-03 18:12 Sundar R IYER
  2010-04-04 13:10 ` Mark Brown
  2010-04-04 13:10 ` Mark Brown
  0 siblings, 2 replies; 12+ messages in thread
From: Sundar R IYER @ 2010-04-03 18:12 UTC (permalink / raw)
  To: linux-arm-kernel

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] 12+ messages in thread
* Regulators vis-a-vis Power Domains
@ 2010-04-03 18:12 Sundar R IYER
  0 siblings, 0 replies; 12+ 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] 12+ messages in thread

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

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-03 18:12 Regulators vis-a-vis Power Domains Sundar R IYER
2010-04-04 13:10 ` Mark Brown
2010-04-04 13:10 ` Mark Brown
2010-04-06 15:58   ` Ben Dooks
2010-04-06 20:44     ` Liam Girdwood
2010-04-06 20:44     ` Liam Girdwood
2010-04-06 21:57       ` Mark Brown
2010-04-06 21:57         ` Mark Brown
2010-04-07  9:38         ` Liam Girdwood
2010-04-07  9:38         ` Liam Girdwood
2010-04-06 15:58   ` Ben Dooks
  -- strict thread matches above, loose matches on Subject: below --
2010-04-03 18:12 Sundar R IYER

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.