aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal/Kconfig
diff options
context:
space:
mode:
authorJacob Pan <jacob.jun.pan@linux.intel.com>2014-09-03 03:14:23 -0400
committerZhang Rui <rui.zhang@intel.com>2014-10-10 21:35:48 -0400
commit52b1c69d7e3cd8bdba0e55bde24093f0779bb29d (patch)
tree6b1a0e0da03403896e2b014226b62e8331ff6c9c /drivers/thermal/Kconfig
parent4384b8fe162d8aa03905d02073707bcf364cc7ce (diff)
Thermal: int340x_thermal: expose acpi thermal relationship tables
ACPI 4.0 introduced two thermal relationship tables via _ART (active cooling) and _TRT (passive cooling) objects. These tables contain many to many relationships among thermal sensors and cooling devices. This patch parses _ART and _TRT and makes the result available to the userspace via an misc device interface. At the same time, kernel drivers can also request parsing results from internal kernel APIs. The results include source and target devices, influence, and sampling rate in case of _TRT. For _ART, the result shows source device, target device, and weight percentage. Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal/Kconfig')
-rw-r--r--drivers/thermal/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index 6f93e5c4e1f2..3a8929222cab 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -223,6 +223,7 @@ config INT340X_THERMAL
223 tristate "ACPI INT340X thermal drivers" 223 tristate "ACPI INT340X thermal drivers"
224 depends on X86 && ACPI 224 depends on X86 && ACPI
225 select THERMAL_GOV_USER_SPACE 225 select THERMAL_GOV_USER_SPACE
226 select ACPI_THERMAL_REL
226 help 227 help
227 Newer laptops and tablets that use ACPI may have thermal sensors and 228 Newer laptops and tablets that use ACPI may have thermal sensors and
228 other devices with thermal control capabilities outside the core 229 other devices with thermal control capabilities outside the core
@@ -237,6 +238,10 @@ config INT340X_THERMAL
237 information to allow the user to select his laptop to run without 238 information to allow the user to select his laptop to run without
238 turning on the fans. 239 turning on the fans.
239 240
241config ACPI_THERMAL_REL
242 tristate
243 depends on ACPI
244
240menu "Texas Instruments thermal drivers" 245menu "Texas Instruments thermal drivers"
241source "drivers/thermal/ti-soc-thermal/Kconfig" 246source "drivers/thermal/ti-soc-thermal/Kconfig"
242endmenu 247endmenu