Thread (16 messages) 16 messages, 3 authors, 2017-03-14
STALE3412d

[PATCH V5 7/9] PM / Domains: allow platform specific data for genpd states

From: Lina Iyer <hidden>
Date: 2017-03-03 20:42:54
Also in: linux-arm-msm, linux-pm
Subsystem: generic pm domains, power management core, the rest · Maintainers: Ulf Hansson, "Rafael J. Wysocki", Linus Torvalds

Allow platforms to save a state specific parameter for the genpd state.
The parameter would be used to identify the state when the platform is
called to power off the domain.

Signed-off-by: Lina Iyer <redacted>
---
 include/linux/pm_domain.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index 5339ed5..183995a 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -42,6 +42,7 @@ struct genpd_power_state {
 	s64 power_on_latency_ns;
 	s64 residency_ns;
 	struct fwnode_handle *fwnode;
+	u32 param;
 };
 
 struct genpd_lock_ops;
-- 
2.7.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help