powercap / RAPL: add support for ValleyView Soc
authorJacob Pan <jacob.jun.pan@linux.intel.com>
Wed, 11 Dec 2013 22:39:27 +0000 (14:39 -0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 22 Dec 2013 00:27:51 +0000 (01:27 +0100)
commited93b71492da3464b4798613aa8a99bed914251b
tree11d3936bfdcc4fb7e462b7c5b7c43274b4e47f60
parent319e2e3f63c348a9b66db4667efa73178e18b17d
powercap / RAPL: add support for ValleyView Soc

This patch adds support for RAPL on Intel ValleyView based SoC
platforms, such as Baytrail.

Besides adding CPU ID, special energy unit encoding is handled
for ValleyView.

Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl.c