xref: /linux/drivers/thermal/intel/Kconfig (revision d78794d4f4dbeac0a39e15d2fbc8e917741b5b7c)
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"
24*207a792dSSrinivas 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"
473e8c4d31SAmit Kucheria	depends on X86 && PCI && ACPI
483e8c4d31SAmit Kucheria	select INTEL_SOC_DTS_IOSF_CORE
493e8c4d31SAmit Kucheria	help
503e8c4d31SAmit Kucheria	  Enable this to register Intel SoCs (e.g. Bay Trail) platform digital
513e8c4d31SAmit Kucheria	  temperature sensor (DTS). These SoCs have two additional DTSs in
523e8c4d31SAmit Kucheria	  addition to DTSs on CPU cores. Each DTS will be registered as a
533e8c4d31SAmit Kucheria	  thermal zone. There are two trip points. One of the trip point can
543e8c4d31SAmit Kucheria	  be set by user mode programs to get notifications via Linux thermal
553e8c4d31SAmit Kucheria	  notification methods.The other trip is a critical trip point, which
563e8c4d31SAmit Kucheria	  was set by the driver based on the TJ MAX temperature.
573e8c4d31SAmit Kucheria
583e8c4d31SAmit Kucheriaconfig INTEL_QUARK_DTS_THERMAL
593e8c4d31SAmit Kucheria	tristate "Intel Quark DTS thermal driver"
603e8c4d31SAmit Kucheria	depends on X86_INTEL_QUARK
613e8c4d31SAmit Kucheria	help
623e8c4d31SAmit Kucheria	  Enable this to register Intel Quark SoC (e.g. X1000) platform digital
633e8c4d31SAmit Kucheria	  temperature sensor (DTS). For X1000 SoC, it has one on-die DTS.
643e8c4d31SAmit Kucheria	  The DTS will be registered as a thermal zone. There are two trip points:
653e8c4d31SAmit Kucheria	  hot & critical. The critical trip point default value is set by
663e8c4d31SAmit Kucheria	  underlying BIOS/Firmware.
673e8c4d31SAmit Kucheria
683e8c4d31SAmit Kucheriamenu "ACPI INT340X thermal drivers"
6924ef9ec8SStephen Rothwellsource "drivers/thermal/intel/int340x_thermal/Kconfig"
703e8c4d31SAmit Kucheriaendmenu
713e8c4d31SAmit Kucheria
723e8c4d31SAmit Kucheriaconfig INTEL_BXT_PMIC_THERMAL
733e8c4d31SAmit Kucheria	tristate "Intel Broxton PMIC thermal driver"
741467fb96SRandy Dunlap	depends on X86 && INTEL_SOC_PMIC_BXTWC
751467fb96SRandy Dunlap	select REGMAP
763e8c4d31SAmit Kucheria	help
773e8c4d31SAmit Kucheria	  Select this driver for Intel Broxton PMIC with ADC channels monitoring
783e8c4d31SAmit Kucheria	  system temperature measurements and alerts.
793e8c4d31SAmit Kucheria	  This driver is used for monitoring the ADC channels of PMIC and handles
803e8c4d31SAmit Kucheria	  the alert trip point interrupts and notifies the thermal framework with
813e8c4d31SAmit Kucheria	  the trip point and temperature details of the zone.
823e8c4d31SAmit Kucheria
833e8c4d31SAmit Kucheriaconfig INTEL_PCH_THERMAL
843e8c4d31SAmit Kucheria	tristate "Intel PCH Thermal Reporting Driver"
853e8c4d31SAmit Kucheria	depends on X86 && PCI
86f4750798SRafael J. Wysocki	select ACPI_THERMAL_LIB if ACPI
873e8c4d31SAmit Kucheria	help
883e8c4d31SAmit Kucheria	  Enable this to support thermal reporting on certain intel PCHs.
893e8c4d31SAmit Kucheria	  Thermal reporting device will provide temperature reading,
903e8c4d31SAmit Kucheria	  programmable trip points and other information.
912eb87d75SZhang Rui
922eb87d75SZhang Ruiconfig INTEL_TCC_COOLING
932eb87d75SZhang Rui	tristate "Intel TCC offset cooling Driver"
942eb87d75SZhang Rui	depends on X86
954e3ecc28SZhang Rui	select INTEL_TCC
962eb87d75SZhang Rui	help
972eb87d75SZhang Rui	  Enable this to support system cooling by adjusting the effective TCC
982eb87d75SZhang Rui	  activation temperature via the TCC Offset register, which is widely
992eb87d75SZhang Rui	  supported on modern Intel platforms.
1002eb87d75SZhang Rui	  Note that, on different platforms, the behavior might be different
1012eb87d75SZhang Rui	  on how fast the setting takes effect, and how much the CPU frequency
1022eb87d75SZhang Rui	  is reduced.
1032010319bSSrinivas Pandruvada
1041cb19cabSRicardo Nericonfig INTEL_HFI_THERMAL
1051cb19cabSRicardo Neri	bool "Intel Hardware Feedback Interface"
106c95aa2baSRandy Dunlap	depends on NET
1071cb19cabSRicardo Neri	depends on CPU_SUP_INTEL
1081cb19cabSRicardo Neri	depends on X86_THERMAL_VECTOR
109bd30cdfdSSrinivas Pandruvada	select THERMAL_NETLINK
1101cb19cabSRicardo Neri	help
1111cb19cabSRicardo Neri	  Select this option to enable the Hardware Feedback Interface. If
1121cb19cabSRicardo Neri	  selected, hardware provides guidance to the operating system on
1131cb19cabSRicardo Neri	  the performance and energy efficiency capabilities of each CPU.
1141cb19cabSRicardo Neri	  These capabilities may change as a result of changes in the operating
1151cb19cabSRicardo Neri	  conditions of the system such power and thermal limits. If selected,
1161cb19cabSRicardo Neri	  the kernel relays updates in CPUs' capabilities to userspace.
117