aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/pm_domain.h
diff options
context:
space:
mode:
authorLina Iyer <lina.iyer@linaro.org>2016-10-14 10:47:52 -0700
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-10-21 22:20:27 +0200
commit0c9b694a8a7d4853318c4f2ce315afa2bd3664b6 (patch)
treeef7ff510c3b1ef6b06dd7979d5ed30193d2a0838 /include/linux/pm_domain.h
parentPM / Domains: Allow domain power states to be read from DT (diff)
downloadwireguard-linux-0c9b694a8a7d4853318c4f2ce315afa2bd3664b6.tar.xz
wireguard-linux-0c9b694a8a7d4853318c4f2ce315afa2bd3664b6.zip
PM / Domains: Save the fwnode in genpd_power_state
Save the fwnode for the genpd state in the state node. PM Domain clients may use the fwnode to read in the platform specific domain state properties and associate them with the state. Signed-off-by: Lina Iyer <lina.iyer@linaro.org> Acked-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/pm_domain.h')
-rw-r--r--include/linux/pm_domain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index b4894969fbec..6a8988166899 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -39,6 +39,7 @@ struct genpd_power_state {
s64 power_off_latency_ns;
s64 power_on_latency_ns;
s64 residency_ns;
+ struct fwnode_handle *fwnode;
};
struct generic_pm_domain {