PM / Domains: Add residency property to genpd states
authorLina Iyer <lina.iyer@linaro.org>
Fri, 14 Oct 2016 17:47:50 +0000 (10:47 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 21 Oct 2016 20:20:07 +0000 (22:20 +0200)
commit405f7226014093a2809f27ba32a8230e770ac876
tree3be18d857524e1466cbc296dbb1dd83329f44a37
parent59d65b73a23cee48e6f3e44686f199d79b7ee854
PM / Domains: Add residency property to genpd states

Residency of a domain's idle state indicates that the minimum idle time
for the domain's idle state to be beneficial for power. Add the
parameter to the state node. Future patches, will use the residency
value in the genpd governor to determine if it is worth while to enter
an idle 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>
include/linux/pm_domain.h