xref: /linux/drivers/thermal/intel/Kconfig (revision 955fb8719efbb8e914dc03f192e9a0bded3bae77)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
23e8c4d31SAmit Kucheriaconfig INTEL_POWERCLAMP
33e8c4d31SAmit Kucheria	tristate "Intel PowerClamp idle injection driver"
43e8c4d31SAmit Kucheria	depends on X86
53e8c4d31SAmit Kucheria	depends on CPU_SUP_INTEL
63e8c4d31SAmit Kucheria	help
73e8c4d31SAmit Kucheria	  Enable this to enable Intel PowerClamp idle injection driver. This
83e8c4d31SAmit Kucheria	  enforce idle time which results in more package C-state residency. The
93e8c4d31SAmit Kucheria	  user interface is exposed via generic thermal framework.
103e8c4d31SAmit Kucheria
119223d0dcSBorislav Petkovconfig X86_THERMAL_VECTOR
129223d0dcSBorislav Petkov	def_bool y
139223d0dcSBorislav Petkov	depends on X86 && CPU_SUP_INTEL && X86_LOCAL_APIC
149223d0dcSBorislav Petkov
15a3c1f066SZhang Ruiconfig INTEL_TCC
16a3c1f066SZhang Rui	bool
17a3c1f066SZhang Rui	depends on X86
18a3c1f066SZhang Rui
193e8c4d31SAmit Kucheriaconfig X86_PKG_TEMP_THERMAL
203e8c4d31SAmit Kucheria	tristate "X86 package temperature thermal driver"
213e8c4d31SAmit Kucheria	depends on X86_THERMAL_VECTOR
223e8c4d31SAmit Kucheria	select THERMAL_GOV_USER_SPACE
233e8c4d31SAmit Kucheria	select THERMAL_WRITABLE_TRIPS
243e8c4d31SAmit Kucheria	default m
253e8c4d31SAmit Kucheria	help
263e8c4d31SAmit Kucheria	  Enable this to register CPU digital sensor for package temperature as
273e8c4d31SAmit Kucheria	  thermal zone. Each package will have its own thermal zone. There are
283e8c4d31SAmit Kucheria	  two trip points which can be set by user to get notifications via thermal
293e8c4d31SAmit Kucheria	  notification methods.
303e8c4d31SAmit Kucheria
313e8c4d31SAmit Kucheriaconfig INTEL_SOC_DTS_IOSF_CORE
323e8c4d31SAmit Kucheria	tristate
333e8c4d31SAmit Kucheria	depends on X86 && PCI
343e8c4d31SAmit Kucheria	select IOSF_MBI
35*955fb871SZhang Rui	select INTEL_TCC
363e8c4d31SAmit Kucheria	help
373e8c4d31SAmit Kucheria	  This is becoming a common feature for Intel SoCs to expose the additional
383e8c4d31SAmit Kucheria	  digital temperature sensors (DTSs) using side band interface (IOSF). This
393e8c4d31SAmit Kucheria	  implements the common set of helper functions to register, get temperature
403e8c4d31SAmit Kucheria	  and get/set thresholds on DTSs.
413e8c4d31SAmit Kucheria
423e8c4d31SAmit Kucheriaconfig INTEL_SOC_DTS_THERMAL
433e8c4d31SAmit Kucheria	tristate "Intel SoCs DTS thermal driver"
443e8c4d31SAmit Kucheria	depends on X86 && PCI && ACPI
453e8c4d31SAmit Kucheria	select INTEL_SOC_DTS_IOSF_CORE
463e8c4d31SAmit Kucheria	select THERMAL_WRITABLE_TRIPS
473e8c4d31SAmit Kucheria	help
483e8c4d31SAmit Kucheria	  Enable this to register Intel SoCs (e.g. Bay Trail) platform digital
493e8c4d31SAmit Kucheria	  temperature sensor (DTS). These SoCs have two additional DTSs in
503e8c4d31SAmit Kucheria	  addition to DTSs on CPU cores. Each DTS will be registered as a
513e8c4d31SAmit Kucheria	  thermal zone. There are two trip points. One of the trip point can
523e8c4d31SAmit Kucheria	  be set by user mode programs to get notifications via Linux thermal
533e8c4d31SAmit Kucheria	  notification methods.The other trip is a critical trip point, which
543e8c4d31SAmit Kucheria	  was set by the driver based on the TJ MAX temperature.
553e8c4d31SAmit Kucheria
563e8c4d31SAmit Kucheriaconfig INTEL_QUARK_DTS_THERMAL
573e8c4d31SAmit Kucheria	tristate "Intel Quark DTS thermal driver"
583e8c4d31SAmit Kucheria	depends on X86_INTEL_QUARK
593e8c4d31SAmit Kucheria	help
603e8c4d31SAmit Kucheria	  Enable this to register Intel Quark SoC (e.g. X1000) platform digital
613e8c4d31SAmit Kucheria	  temperature sensor (DTS). For X1000 SoC, it has one on-die DTS.
623e8c4d31SAmit Kucheria	  The DTS will be registered as a thermal zone. There are two trip points:
633e8c4d31SAmit Kucheria	  hot & critical. The critical trip point default value is set by
643e8c4d31SAmit Kucheria	  underlying BIOS/Firmware.
653e8c4d31SAmit Kucheria
663e8c4d31SAmit Kucheriamenu "ACPI INT340X thermal drivers"
6724ef9ec8SStephen Rothwellsource "drivers/thermal/intel/int340x_thermal/Kconfig"
683e8c4d31SAmit Kucheriaendmenu
693e8c4d31SAmit Kucheria
703e8c4d31SAmit Kucheriaconfig INTEL_BXT_PMIC_THERMAL
713e8c4d31SAmit Kucheria	tristate "Intel Broxton PMIC thermal driver"
723e8c4d31SAmit Kucheria	depends on X86 && INTEL_SOC_PMIC_BXTWC && REGMAP
733e8c4d31SAmit Kucheria	help
743e8c4d31SAmit Kucheria	  Select this driver for Intel Broxton PMIC with ADC channels monitoring
753e8c4d31SAmit Kucheria	  system temperature measurements and alerts.
763e8c4d31SAmit Kucheria	  This driver is used for monitoring the ADC channels of PMIC and handles
773e8c4d31SAmit Kucheria	  the alert trip point interrupts and notifies the thermal framework with
783e8c4d31SAmit Kucheria	  the trip point and temperature details of the zone.
793e8c4d31SAmit Kucheria
803e8c4d31SAmit Kucheriaconfig INTEL_PCH_THERMAL
813e8c4d31SAmit Kucheria	tristate "Intel PCH Thermal Reporting Driver"
823e8c4d31SAmit Kucheria	depends on X86 && PCI
833e8c4d31SAmit Kucheria	help
843e8c4d31SAmit Kucheria	  Enable this to support thermal reporting on certain intel PCHs.
853e8c4d31SAmit Kucheria	  Thermal reporting device will provide temperature reading,
863e8c4d31SAmit Kucheria	  programmable trip points and other information.
872eb87d75SZhang Rui
882eb87d75SZhang Ruiconfig INTEL_TCC_COOLING
892eb87d75SZhang Rui	tristate "Intel TCC offset cooling Driver"
902eb87d75SZhang Rui	depends on X86
912eb87d75SZhang Rui	help
922eb87d75SZhang Rui	  Enable this to support system cooling by adjusting the effective TCC
932eb87d75SZhang Rui	  activation temperature via the TCC Offset register, which is widely
942eb87d75SZhang Rui	  supported on modern Intel platforms.
952eb87d75SZhang Rui	  Note that, on different platforms, the behavior might be different
962eb87d75SZhang Rui	  on how fast the setting takes effect, and how much the CPU frequency
972eb87d75SZhang Rui	  is reduced.
982010319bSSrinivas Pandruvada
992010319bSSrinivas Pandruvadaconfig INTEL_MENLOW
1002010319bSSrinivas Pandruvada	tristate "Thermal Management driver for Intel menlow platform"
1012010319bSSrinivas Pandruvada	depends on ACPI_THERMAL
1022010319bSSrinivas Pandruvada	help
1032010319bSSrinivas Pandruvada	  ACPI thermal management enhancement driver on
1042010319bSSrinivas Pandruvada	  Intel Menlow platform.
1052010319bSSrinivas Pandruvada
1062010319bSSrinivas Pandruvada	  If unsure, say N.
1071cb19cabSRicardo Neri
1081cb19cabSRicardo Nericonfig INTEL_HFI_THERMAL
1091cb19cabSRicardo Neri	bool "Intel Hardware Feedback Interface"
110c95aa2baSRandy Dunlap	depends on NET
1111cb19cabSRicardo Neri	depends on CPU_SUP_INTEL
1121cb19cabSRicardo Neri	depends on X86_THERMAL_VECTOR
113bd30cdfdSSrinivas Pandruvada	select THERMAL_NETLINK
1141cb19cabSRicardo Neri	help
1151cb19cabSRicardo Neri	  Select this option to enable the Hardware Feedback Interface. If
1161cb19cabSRicardo Neri	  selected, hardware provides guidance to the operating system on
1171cb19cabSRicardo Neri	  the performance and energy efficiency capabilities of each CPU.
1181cb19cabSRicardo Neri	  These capabilities may change as a result of changes in the operating
1191cb19cabSRicardo Neri	  conditions of the system such power and thermal limits. If selected,
1201cb19cabSRicardo Neri	  the kernel relays updates in CPUs' capabilities to userspace.
121