linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] PM / Domains: Add initial PM clock support to genpd
@ 2014-11-19 14:00 Ulf Hansson
  2014-11-19 14:00 ` [PATCH 1/3] PM / Domains: Initial PM clock support for genpd Ulf Hansson
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Ulf Hansson @ 2014-11-19 14:00 UTC (permalink / raw)
  To: linux-arm-kernel

It's quite common for PM domains to use PM clocks. Typically from SOC specific
code, the per device PM clock list is created and pm_clk_suspend|resume() are
invoked to handle clock gating/ungating.

A step towards consolidation is to integrate PM clock support into genpd, which
is what this patchset does.

In this initial step, the calls to the pm_clk_suspend|resume() are handled
within genpd, but the per device PM clock list still needs to be created from
SOC specific code. It seems reasonable to have gendp to handle that as well, but
that left to future patchsets to address.

It's not every users of genpd that are keen on using PM clocks thus we need
to provide this a configuration option for genpd.

In patch 2 and patch 3, we convert some of the SH-MOBILE SOCs to start using the
new PM clock support in genpd.


Ulf Hansson (3):
  PM / Domains: Initial PM clock support for genpd
  ARM: shmobile: Convert to genpd flags for PM clocks for r8a7779
  ARM: shmobile: Convert to genpd flags for PM clocks for R-mobile

 arch/arm/mach-shmobile/pm-r8a7779.c | 3 +--
 arch/arm/mach-shmobile/pm-rmobile.c | 3 +--
 drivers/base/power/domain.c         | 7 +++++++
 include/linux/pm_domain.h           | 3 +++
 4 files changed, 12 insertions(+), 4 deletions(-)

-- 
1.9.1

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

end of thread, other threads:[~2014-11-20 11:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-19 14:00 [PATCH 0/3] PM / Domains: Add initial PM clock support to genpd Ulf Hansson
2014-11-19 14:00 ` [PATCH 1/3] PM / Domains: Initial PM clock support for genpd Ulf Hansson
2014-11-19 17:25   ` Dmitry Torokhov
2014-11-20 11:53     ` Ulf Hansson
2014-11-19 14:00 ` [PATCH 2/3] ARM: shmobile: Convert to genpd flags for PM clocks for r8a7779 Ulf Hansson
2014-11-19 14:00 ` [PATCH 3/3] ARM: shmobile: Convert to genpd flags for PM clocks for R-mobile Ulf Hansson
2014-11-19 16:07 ` [PATCH 0/3] PM / Domains: Add initial PM clock support to genpd Geert Uytterhoeven
2014-11-20  0:33 ` Kevin Hilman
2014-11-20 10:23   ` Ulf Hansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).