int340X/processor_thermal_device: add support for MMIO RAPL
authorZhang Rui <rui.zhang@intel.com>
Wed, 10 Jul 2019 13:44:33 +0000 (21:44 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 11 Jul 2019 13:08:58 +0000 (15:08 +0200)
commit555c45fe0d04bd817e245a125d242b6a86af4593
treedface1f9bea5141e581e2ff44ba864cf367d9e6e
parent0c2ddedd8bcb88c4100acb9e0fc5ac8752d09501
int340X/processor_thermal_device: add support for MMIO RAPL

Introduce MMIO RAPL support as Intel processor_thermal device exposes the
capability to do RAPL control via MMIO registers.

Reviewed-by: Pandruvada, Srinivas <srinivas.pandruvada@intel.com>
Tested-by: Pandruvada, Srinivas <srinivas.pandruvada@intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/thermal/intel/int340x_thermal/Kconfig
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c