intel_pstate: Add setting voltage value for baytrail P states.
authorDirk Brandewie <dirk.j.brandewie@intel.com>
Wed, 18 Dec 2013 18:32:39 +0000 (10:32 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 22 Dec 2013 00:02:12 +0000 (01:02 +0100)
commit007bea098b869945a462420a1f9d442ff169f722
tree5aa1524f9ecfa26460e2d534133dd565b36a165f
parent189c9b8d925691cc58823ffdc3bf75dc8630ccdf
intel_pstate: Add setting voltage value for baytrail P states.

Baytrail requires setting P state and voltage pairs when adjusting the
requested P state.  Add function for retrieving the valid voltage
values and modify *_set_pstate() functions to caluclate the
appropriate voltage for the requested P state.

Signed-off-by: Dirk Brandewie <dirk.j.brandewie@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c