All of lore.kernel.org
 help / color / mirror / Atom feed
* Power Domain Framework
@ 2010-05-10 13:46 Deepak Sikri
  2010-05-10 14:05 ` [linux-pm] " Mark Brown
  2010-05-10 14:05 ` Mark Brown
  0 siblings, 2 replies; 42+ messages in thread
From: Deepak Sikri @ 2010-05-10 13:46 UTC (permalink / raw)
  To: linux-pm
  Cc: viresh.kumar, rajeev-dlh.kumar, armando.visconti, linux-kernel,
	vipin.kumar, shiraz.hashim


[-- Attachment #1.1: Type: text/plain, Size: 1860 bytes --]

Hi,

In our System on chip we have several power domains. As such there is no
generic framework for the Power Domains in linux , and I find huge potential
in the software to control the domains and exploit the power management
capabilities.

There is one very small model that I could think of, something on the lines
of clock framework.

1. Essentially the model would be based on defining the attributes of a
power domain ( name, current state: on/off, usage count, wake up sources,
list head etc) and the operations to be performed on a typical power domain
( Current State Check, Target State to be moved into etc) maintained in
software data structures, that would be mapped onto hardware registers in
the architecture specific code.
2. Maintain a list of the different power domains present.
3. The devices in a specific power domain, as per the requirements would get
the power domain handler ( which would increment the usage count of the
power domain) and would release it when not in need.
4. Typically a usage count of zero for any power domain -> switch off the
power domain removing static power dissipation.
5. The same could be mapped on to the PM framework, where the devices would
release their power handlers at the time of suspend and reaquire at time of
resume operations.
6. The model could further be build upon to check any dependency in the
power domains, eg DDR in on power domain should have the power domain on, if
any of the devices in other power domain is trying to access DDR. This could
be more architecture specific.
7. The advantages of the framework could be leveraged in the CPU idle time,
by switching off the Power domains with zero usage counts.

The model could be build upon, but seek lot more inputs if there exists any
provision on which we can build upon OR develop a generic power domain
framework.

Regards
Deepak

[-- Attachment #1.2: Type: text/html, Size: 2090 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2010-05-27  6:51 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10 13:46 Power Domain Framework Deepak Sikri
2010-05-10 14:05 ` [linux-pm] " Mark Brown
2010-05-16 11:13   ` Sundar
2010-05-16 11:13   ` [linux-pm] " Sundar
2010-05-17  3:16     ` Mark Brown
     [not found]       ` <AANLkTimDdBCnRFMDiUkuNKanOzuPNwCpfRv9Gsi03Lsy@mail.gmail.com>
2010-05-17 13:33         ` Fwd: " Sundar
2010-05-17 13:33         ` Fwd: [linux-pm] " Sundar
2010-05-17 14:33           ` Mark Brown
2010-05-17 16:23             ` Sundar
2010-05-17 16:35               ` Sundar R Iyer
2010-05-17 17:04                 ` Mark Brown
2010-05-17 17:45                   ` Sundar R Iyer
2010-05-17 20:38                     ` Linus WALLEIJ
2010-05-17 20:38                     ` [linux-pm] " Linus WALLEIJ
2010-05-17 21:18                       ` Mark Brown
2010-05-17 21:18                       ` [linux-pm] " Mark Brown
2010-05-17 21:46                         ` Linus WALLEIJ
2010-05-17 22:17                           ` Mark Brown
2010-05-17 22:17                           ` [linux-pm] " Mark Brown
2010-05-18  6:00                             ` Sundar R Iyer
2010-05-18  6:00                             ` [linux-pm] " Sundar R Iyer
2010-05-22  4:02                               ` Sundar
2010-05-24  3:39                                 ` [linux-pm] " Mark Brown
2010-05-26  8:33                                   ` Sundar R IYER
2010-05-26  8:33                                   ` [linux-pm] " Sundar R IYER
2010-05-26 21:07                                     ` Mark Brown
2010-05-26 21:07                                     ` [linux-pm] " Mark Brown
2010-05-27  3:01                                       ` Paul Mundt
2010-05-27  3:01                                       ` [linux-pm] " Paul Mundt
2010-05-27  6:51                                         ` Mark Brown
2010-05-27  6:51                                         ` [linux-pm] " Mark Brown
2010-05-24  3:39                                 ` Mark Brown
2010-05-17 21:46                         ` Linus WALLEIJ
2010-05-17 17:45                   ` Sundar R Iyer
2010-05-17 17:04                 ` Mark Brown
2010-05-17 16:35               ` Sundar R Iyer
2010-05-17 20:20               ` Fwd: " Mark Brown
2010-05-17 20:20               ` Fwd: [linux-pm] " Mark Brown
2010-05-17 16:23             ` Fwd: " Sundar
2010-05-17 14:33           ` Mark Brown
2010-05-17  3:16     ` Mark Brown
2010-05-10 14:05 ` Mark Brown

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.