commit | 52b3672c135416d8ccc3c92f475b983a201fc6f5 | [log] [tgz] |
---|---|---|
author | Zhen Han <zhen.han@intel.com> | Wed Jan 10 08:38:23 2018 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Wed Jan 10 01:33:10 2018 +0100 |
tree | 4c23511d7435077b119b9dcec9ef37aed6cda8a9 | |
parent | 7f6344896d3e5be3ccfef1c5c98ef24940e5f229 [diff] |
powercap: add suspend and resume mechanism for SOC power limit PL1 and PL2 could be throlled or de-throttled by Thermal management to control SOC temperature. However, currently, their value will be reset to default value after once system suspend and resume. Add pm_notifier to save PL1, PL2 before system suspect and restore PL1, PL2 after system resume. Signed-off-by: Zhen Han <zhen.han@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>