diff options
author | Preeti U Murthy <preeti@linux.vnet.ibm.com> | 2015-02-18 06:34:17 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-02-18 06:34:17 +0100 |
commit | 92c83ff5b42b109c94fdeee53cb31f674f776d75 (patch) | |
tree | e8ca5ef30cc1bd687496139d9905452798dde8c8 /drivers/hwmon/i5500_temp.c | |
parent | 5177a94aea6fbffc897aaee29c7cde57f951b541 (diff) |
cpuidle: powernv: Read target_residency value of idle states from DT if available
The device tree now exposes the residency values for different idle states. Read
these values instead of calculating residency from the latency values. The values
exposed in the DT are validated for optimal power efficiency. However to maintain
compatibility with the older firmware code which does not expose residency
values, use default values as a fallback mechanism. While at it, use better
APIs to parse the powermgmt device tree node.
Signed-off-by: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Acked-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Acked-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/hwmon/i5500_temp.c')
0 files changed, 0 insertions, 0 deletions