xref: /linux/drivers/thermal/intel/Kconfig (revision 619f4edc8d4f785dcabf564786e787fa8108deb4)
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
68526eb7fSSrinivas Pandruvada	depends on CPU_IDLE
78526eb7fSSrinivas Pandruvada	select POWERCAP
88526eb7fSSrinivas Pandruvada	select IDLE_INJECT
93e8c4d31SAmit Kucheria	help
103e8c4d31SAmit Kucheria	  Enable this to enable Intel PowerClamp idle injection driver. This
113e8c4d31SAmit Kucheria	  enforce idle time which results in more package C-state residency. The
123e8c4d31SAmit Kucheria	  user interface is exposed via generic thermal framework.
133e8c4d31SAmit Kucheria
149223d0dcSBorislav Petkovconfig X86_THERMAL_VECTOR
159223d0dcSBorislav Petkov	def_bool y
169223d0dcSBorislav Petkov	depends on X86 && CPU_SUP_INTEL && X86_LOCAL_APIC
179223d0dcSBorislav Petkov
18a3c1f066SZhang Ruiconfig INTEL_TCC
19a3c1f066SZhang Rui	bool
20a3c1f066SZhang Rui	depends on X86
21a3c1f066SZhang Rui
223e8c4d31SAmit Kucheriaconfig X86_PKG_TEMP_THERMAL
233e8c4d31SAmit Kucheria	tristate "X86 package temperature thermal driver"
24207a792dSSrinivas Pandruvada	depends on X86_THERMAL_VECTOR && NET
254596cbeaSSrinivas Pandruvada	select THERMAL_NETLINK
26983eb370SZhang Rui	select INTEL_TCC
273e8c4d31SAmit Kucheria	default m
283e8c4d31SAmit Kucheria	help
293e8c4d31SAmit Kucheria	  Enable this to register CPU digital sensor for package temperature as
303e8c4d31SAmit Kucheria	  thermal zone. Each package will have its own thermal zone. There are
313e8c4d31SAmit Kucheria	  two trip points which can be set by user to get notifications via thermal
323e8c4d31SAmit Kucheria	  notification methods.
333e8c4d31SAmit Kucheria
343e8c4d31SAmit Kucheriaconfig INTEL_SOC_DTS_IOSF_CORE
353e8c4d31SAmit Kucheria	tristate
363e8c4d31SAmit Kucheria	depends on X86 && PCI
373e8c4d31SAmit Kucheria	select IOSF_MBI
38955fb871SZhang Rui	select INTEL_TCC
393e8c4d31SAmit Kucheria	help
403e8c4d31SAmit Kucheria	  This is becoming a common feature for Intel SoCs to expose the additional
413e8c4d31SAmit Kucheria	  digital temperature sensors (DTSs) using side band interface (IOSF). This
423e8c4d31SAmit Kucheria	  implements the common set of helper functions to register, get temperature
433e8c4d31SAmit Kucheria	  and get/set thresholds on DTSs.
443e8c4d31SAmit Kucheria
453e8c4d31SAmit Kucheriaconfig INTEL_SOC_DTS_THERMAL
463e8c4d31SAmit Kucheria	tristate "Intel SoCs DTS thermal driver"
47*13a96342SSlawomir Rosek	depends on X86_64 && PCI && ACPI && NET
48*13a96342SSlawomir Rosek	select INT340X_THERMAL
493e8c4d31SAmit Kucheria	select INTEL_SOC_DTS_IOSF_CORE
503e8c4d31SAmit Kucheria	help
513e8c4d31SAmit Kucheria	  Enable this to register Intel SoCs (e.g. Bay Trail) platform digital
523e8c4d31SAmit Kucheria	  temperature sensor (DTS). These SoCs have two additional DTSs in
533e8c4d31SAmit Kucheria	  addition to DTSs on CPU cores. Each DTS will be registered as a
543e8c4d31SAmit Kucheria	  thermal zone. There are two trip points. One of the trip point can
553e8c4d31SAmit Kucheria	  be set by user mode programs to get notifications via Linux thermal
563e8c4d31SAmit Kucheria	  notification methods.The other trip is a critical trip point, which
573e8c4d31SAmit Kucheria	  was set by the driver based on the TJ MAX temperature.
583e8c4d31SAmit Kucheria
593e8c4d31SAmit Kucheriaconfig INTEL_QUARK_DTS_THERMAL
603e8c4d31SAmit Kucheria	tristate "Intel Quark DTS thermal driver"
613e8c4d31SAmit Kucheria	depends on X86_INTEL_QUARK
623e8c4d31SAmit Kucheria	help
633e8c4d31SAmit Kucheria	  Enable this to register Intel Quark SoC (e.g. X1000) platform digital
643e8c4d31SAmit Kucheria	  temperature sensor (DTS). For X1000 SoC, it has one on-die DTS.
653e8c4d31SAmit Kucheria	  The DTS will be registered as a thermal zone. There are two trip points:
663e8c4d31SAmit Kucheria	  hot & critical. The critical trip point default value is set by
673e8c4d31SAmit Kucheria	  underlying BIOS/Firmware.
683e8c4d31SAmit Kucheria
693e8c4d31SAmit Kucheriamenu "ACPI INT340X thermal drivers"
7024ef9ec8SStephen Rothwellsource "drivers/thermal/intel/int340x_thermal/Kconfig"
713e8c4d31SAmit Kucheriaendmenu
723e8c4d31SAmit Kucheria
733e8c4d31SAmit Kucheriaconfig INTEL_BXT_PMIC_THERMAL
743e8c4d31SAmit Kucheria	tristate "Intel Broxton PMIC thermal driver"
751467fb96SRandy Dunlap	depends on X86 && INTEL_SOC_PMIC_BXTWC
761467fb96SRandy Dunlap	select REGMAP
773e8c4d31SAmit Kucheria	help
783e8c4d31SAmit Kucheria	  Select this driver for Intel Broxton PMIC with ADC channels monitoring
793e8c4d31SAmit Kucheria	  system temperature measurements and alerts.
803e8c4d31SAmit Kucheria	  This driver is used for monitoring the ADC channels of PMIC and handles
813e8c4d31SAmit Kucheria	  the alert trip point interrupts and notifies the thermal framework with
823e8c4d31SAmit Kucheria	  the trip point and temperature details of the zone.
833e8c4d31SAmit Kucheria
843e8c4d31SAmit Kucheriaconfig INTEL_PCH_THERMAL
853e8c4d31SAmit Kucheria	tristate "Intel PCH Thermal Reporting Driver"
863e8c4d31SAmit Kucheria	depends on X86 && PCI
87f4750798SRafael J. Wysocki	select ACPI_THERMAL_LIB if ACPI
883e8c4d31SAmit Kucheria	help
893e8c4d31SAmit Kucheria	  Enable this to support thermal reporting on certain intel PCHs.
903e8c4d31SAmit Kucheria	  Thermal reporting device will provide temperature reading,
913e8c4d31SAmit Kucheria	  programmable trip points and other information.
922eb87d75SZhang Rui
932eb87d75SZhang Ruiconfig INTEL_TCC_COOLING
942eb87d75SZhang Rui	tristate "Intel TCC offset cooling Driver"
952eb87d75SZhang Rui	depends on X86
964e3ecc28SZhang Rui	select INTEL_TCC
972eb87d75SZhang Rui	help
982eb87d75SZhang Rui	  Enable this to support system cooling by adjusting the effective TCC
992eb87d75SZhang Rui	  activation temperature via the TCC Offset register, which is widely
1002eb87d75SZhang Rui	  supported on modern Intel platforms.
1012eb87d75SZhang Rui	  Note that, on different platforms, the behavior might be different
1022eb87d75SZhang Rui	  on how fast the setting takes effect, and how much the CPU frequency
1032eb87d75SZhang Rui	  is reduced.
1042010319bSSrinivas Pandruvada
1051cb19cabSRicardo Nericonfig INTEL_HFI_THERMAL
1061cb19cabSRicardo Neri	bool "Intel Hardware Feedback Interface"
107c95aa2baSRandy Dunlap	depends on NET
1081cb19cabSRicardo Neri	depends on CPU_SUP_INTEL
1091cb19cabSRicardo Neri	depends on X86_THERMAL_VECTOR
110bd30cdfdSSrinivas Pandruvada	select THERMAL_NETLINK
1111cb19cabSRicardo Neri	help
1121cb19cabSRicardo Neri	  Select this option to enable the Hardware Feedback Interface. If
1131cb19cabSRicardo Neri	  selected, hardware provides guidance to the operating system on
1141cb19cabSRicardo Neri	  the performance and energy efficiency capabilities of each CPU.
1151cb19cabSRicardo Neri	  These capabilities may change as a result of changes in the operating
1161cb19cabSRicardo Neri	  conditions of the system such power and thermal limits. If selected,
1171cb19cabSRicardo Neri	  the kernel relays updates in CPUs' capabilities to userspace.
118