summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-12-01 12:50:21 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-12-04 00:44:44 +0100
commitc11f6f5bb1e07db79c4c97d768b32b63378c69e0 (patch)
tree071d91217be2b6f0b41e868be4b85d0f311212b2 /arch/arm/mach-shmobile
parent2ed127697eb1376645cbcfa08a13dda157233c9d (diff)
downloadlwn-c11f6f5bb1e07db79c4c97d768b32b63378c69e0.tar.gz
lwn-c11f6f5bb1e07db79c4c97d768b32b63378c69e0.zip
PM / Domains: Initial PM clock support for genpd
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 patch 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 patches 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. Therefore let's add flag field in the genpd struct to keep this information and define a new GENDP_FLAG_PM_CLK bit for it. Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/arm/mach-shmobile')
0 files changed, 0 insertions, 0 deletions