summaryrefslogtreecommitdiffstats
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorGeert Uytterhoeven2014-09-25 18:28:28 +0200
committerRafael J. Wysocki2014-09-25 22:08:41 +0200
commitd79b6fe17aa279c7015a9c4ee88809dad4be9959 (patch)
tree243cdfa1fc71557e944e99e023993961cdb778e8 /REPORTING-BUGS
parentPM / Domains: add debugfs listing of struct generic_pm_domain-s (diff)
downloadkernel-qcow2-linux-d79b6fe17aa279c7015a9c4ee88809dad4be9959.tar.gz
kernel-qcow2-linux-d79b6fe17aa279c7015a9c4ee88809dad4be9959.tar.xz
kernel-qcow2-linux-d79b6fe17aa279c7015a9c4ee88809dad4be9959.zip
PM / Domains: Add genpd attach/detach callbacks
While a PM domain can enable PM runtime management of its devices' module clocks by setting genpd->dev_ops.stop = pm_clk_suspend; genpd->dev_ops.start = pm_clk_resume; this also requires registering the clocks with the pm_clk subsystem. In the legacy case, this is handled by the platform code, after attaching the device to its PM domain. When the devices are instantiated from DT, devices are attached to their PM domains by generic code, leaving no method for the platform-specific PM domain code to register their clocks. Add two callbacks, allowing a PM domain to perform platform-specific tasks when a device is attached to or detached from a PM domain. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions