clk: renesas: mstp: Use always-on governor for Clock Domain
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 22 Apr 2016 12:57:29 +0000 (14:57 +0200)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 28 Apr 2016 08:32:51 +0000 (10:32 +0200)
commit20729300cabdad60333e52278bd2dd25e5d85518
tree4569b2eb29d3b90c5bb2d96d3dc7b5744fcdf42e
parentb3a52d75bc91d2c7299e721c0fb41c33859c2cdf
clk: renesas: mstp: 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>
drivers/clk/renesas/clk-mstp.c