diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-04-22 14:59:10 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2016-04-28 10:32:55 +0200 |
commit | d04a75af450782db2937603bb6706bf6fa7c6f37 (patch) | |
tree | 15127d5d96c2e682254a1ab0b9c1fc20c629b2de /drivers/clk/renesas | |
parent | 93662500a1fcc9c8085ac3f056b537d093fd4d20 (diff) | |
download | blackbird-op-linux-d04a75af450782db2937603bb6706bf6fa7c6f37.tar.gz blackbird-op-linux-d04a75af450782db2937603bb6706bf6fa7c6f37.zip |
clk: renesas: cpg-mssr: Use always-on governor for Clock Domain
As a pure Clock Domain does not have the concept of powering the domain
itself, the CPG/MSTP driver does not provide power_off() and power_on()
callbacks.
However, the genpd core may still perform a dummy power down, causing
/sys/kernel/debug/pm_genpd/pm_genpd_summary to report the domain's
status being "off-0".
Use the always-on governor to make sure the domain is never powered
down, and always shows up as "on" in pm_genpd_summary.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/clk/renesas')
-rw-r--r-- | drivers/clk/renesas/renesas-cpg-mssr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/renesas/renesas-cpg-mssr.c b/drivers/clk/renesas/renesas-cpg-mssr.c index 0d595311c659..210cd744a7a9 100644 --- a/drivers/clk/renesas/renesas-cpg-mssr.c +++ b/drivers/clk/renesas/renesas-cpg-mssr.c @@ -495,7 +495,7 @@ static int __init cpg_mssr_add_clk_domain(struct device *dev, genpd->flags = GENPD_FLAG_PM_CLK; genpd->attach_dev = cpg_mssr_attach_dev; genpd->detach_dev = cpg_mssr_detach_dev; - pm_genpd_init(genpd, &simple_qos_governor, false); + pm_genpd_init(genpd, &pm_domain_always_on_gov, false); cpg_mssr_clk_domain = pd; of_genpd_add_provider_simple(np, genpd); |