diff options
author | 2019-07-10 21:44:33 +0800 | |
---|---|---|
committer | 2019-07-11 15:08:58 +0200 | |
commit | 555c45fe0d04bd817e245a125d242b6a86af4593 (patch) | |
tree | dface1f9bea5141e581e2ff44ba864cf367d9e6e /drivers/thermal/intel/int340x_thermal/Kconfig | |
parent | intel_rapl: support two power limits for every RAPL domain (diff) | |
download | linux-555c45fe0d04bd817e245a125d242b6a86af4593.tar.gz linux-555c45fe0d04bd817e245a125d242b6a86af4593.tar.bz2 linux-555c45fe0d04bd817e245a125d242b6a86af4593.zip |
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>
Diffstat (limited to 'drivers/thermal/intel/int340x_thermal/Kconfig')
-rw-r--r-- | drivers/thermal/intel/int340x_thermal/Kconfig | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/thermal/intel/int340x_thermal/Kconfig b/drivers/thermal/intel/int340x_thermal/Kconfig index 5333e018c88c..797907542e43 100644 --- a/drivers/thermal/intel/int340x_thermal/Kconfig +++ b/drivers/thermal/intel/int340x_thermal/Kconfig @@ -40,4 +40,10 @@ config INT3406_THERMAL brightness in order to address a thermal condition or to reduce power consumed by display device. +config PROC_THERMAL_MMIO_RAPL + bool + depends on 64BIT + depends on POWERCAP + select INTEL_RAPL_CORE + default y endif |