xref: /openbmc/linux/drivers/thermal/intel/Kconfig (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
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"
243e8c4d31SAmit Kucheria	depends on X86_THERMAL_VECTOR
253e8c4d31SAmit Kucheria	select THERMAL_GOV_USER_SPACE
263e8c4d31SAmit Kucheria	select THERMAL_WRITABLE_TRIPS
27983eb370SZhang Rui	select INTEL_TCC
283e8c4d31SAmit Kucheria	default m
293e8c4d31SAmit Kucheria	help
303e8c4d31SAmit Kucheria	  Enable this to register CPU digital sensor for package temperature as
313e8c4d31SAmit Kucheria	  thermal zone. Each package will have its own thermal zone. There are
323e8c4d31SAmit Kucheria	  two trip points which can be set by user to get notifications via thermal
333e8c4d31SAmit Kucheria	  notification methods.
343e8c4d31SAmit Kucheria
353e8c4d31SAmit Kucheriaconfig INTEL_SOC_DTS_IOSF_CORE
363e8c4d31SAmit Kucheria	tristate
373e8c4d31SAmit Kucheria	depends on X86 && PCI
383e8c4d31SAmit Kucheria	select IOSF_MBI
39955fb871SZhang Rui	select INTEL_TCC
403e8c4d31SAmit Kucheria	help
413e8c4d31SAmit Kucheria	  This is becoming a common feature for Intel SoCs to expose the additional
423e8c4d31SAmit Kucheria	  digital temperature sensors (DTSs) using side band interface (IOSF). This
433e8c4d31SAmit Kucheria	  implements the common set of helper functions to register, get temperature
443e8c4d31SAmit Kucheria	  and get/set thresholds on DTSs.
453e8c4d31SAmit Kucheria
463e8c4d31SAmit Kucheriaconfig INTEL_SOC_DTS_THERMAL
473e8c4d31SAmit Kucheria	tristate "Intel SoCs DTS thermal driver"
483e8c4d31SAmit Kucheria	depends on X86 && PCI && ACPI
493e8c4d31SAmit Kucheria	select INTEL_SOC_DTS_IOSF_CORE
503e8c4d31SAmit Kucheria	select THERMAL_WRITABLE_TRIPS
513e8c4d31SAmit Kucheria	help
523e8c4d31SAmit Kucheria	  Enable this to register Intel SoCs (e.g. Bay Trail) platform digital
533e8c4d31SAmit Kucheria	  temperature sensor (DTS). These SoCs have two additional DTSs in
543e8c4d31SAmit Kucheria	  addition to DTSs on CPU cores. Each DTS will be registered as a
553e8c4d31SAmit Kucheria	  thermal zone. There are two trip points. One of the trip point can
563e8c4d31SAmit Kucheria	  be set by user mode programs to get notifications via Linux thermal
573e8c4d31SAmit Kucheria	  notification methods.The other trip is a critical trip point, which
583e8c4d31SAmit Kucheria	  was set by the driver based on the TJ MAX temperature.
593e8c4d31SAmit Kucheria
603e8c4d31SAmit Kucheriaconfig INTEL_QUARK_DTS_THERMAL
613e8c4d31SAmit Kucheria	tristate "Intel Quark DTS thermal driver"
623e8c4d31SAmit Kucheria	depends on X86_INTEL_QUARK
633e8c4d31SAmit Kucheria	help
643e8c4d31SAmit Kucheria	  Enable this to register Intel Quark SoC (e.g. X1000) platform digital
653e8c4d31SAmit Kucheria	  temperature sensor (DTS). For X1000 SoC, it has one on-die DTS.
663e8c4d31SAmit Kucheria	  The DTS will be registered as a thermal zone. There are two trip points:
673e8c4d31SAmit Kucheria	  hot & critical. The critical trip point default value is set by
683e8c4d31SAmit Kucheria	  underlying BIOS/Firmware.
693e8c4d31SAmit Kucheria
703e8c4d31SAmit Kucheriamenu "ACPI INT340X thermal drivers"
7124ef9ec8SStephen Rothwellsource "drivers/thermal/intel/int340x_thermal/Kconfig"
723e8c4d31SAmit Kucheriaendmenu
733e8c4d31SAmit Kucheria
743e8c4d31SAmit Kucheriaconfig INTEL_BXT_PMIC_THERMAL
753e8c4d31SAmit Kucheria	tristate "Intel Broxton PMIC thermal driver"
76*1467fb96SRandy Dunlap	depends on X86 && INTEL_SOC_PMIC_BXTWC
77*1467fb96SRandy Dunlap	select REGMAP
783e8c4d31SAmit Kucheria	help
793e8c4d31SAmit Kucheria	  Select this driver for Intel Broxton PMIC with ADC channels monitoring
803e8c4d31SAmit Kucheria	  system temperature measurements and alerts.
813e8c4d31SAmit Kucheria	  This driver is used for monitoring the ADC channels of PMIC and handles
823e8c4d31SAmit Kucheria	  the alert trip point interrupts and notifies the thermal framework with
833e8c4d31SAmit Kucheria	  the trip point and temperature details of the zone.
843e8c4d31SAmit Kucheria
853e8c4d31SAmit Kucheriaconfig INTEL_PCH_THERMAL
863e8c4d31SAmit Kucheria	tristate "Intel PCH Thermal Reporting Driver"
873e8c4d31SAmit Kucheria	depends on X86 && PCI
88fee19c69SDaniel Lezcano	select THERMAL_ACPI if ACPI
893e8c4d31SAmit Kucheria	help
903e8c4d31SAmit Kucheria	  Enable this to support thermal reporting on certain intel PCHs.
913e8c4d31SAmit Kucheria	  Thermal reporting device will provide temperature reading,
923e8c4d31SAmit Kucheria	  programmable trip points and other information.
932eb87d75SZhang Rui
942eb87d75SZhang Ruiconfig INTEL_TCC_COOLING
952eb87d75SZhang Rui	tristate "Intel TCC offset cooling Driver"
962eb87d75SZhang Rui	depends on X86
974e3ecc28SZhang Rui	select INTEL_TCC
982eb87d75SZhang Rui	help
992eb87d75SZhang Rui	  Enable this to support system cooling by adjusting the effective TCC
1002eb87d75SZhang Rui	  activation temperature via the TCC Offset register, which is widely
1012eb87d75SZhang Rui	  supported on modern Intel platforms.
1022eb87d75SZhang Rui	  Note that, on different platforms, the behavior might be different
1032eb87d75SZhang Rui	  on how fast the setting takes effect, and how much the CPU frequency
1042eb87d75SZhang Rui	  is reduced.
1052010319bSSrinivas Pandruvada
1061cb19cabSRicardo Nericonfig INTEL_HFI_THERMAL
1071cb19cabSRicardo Neri	bool "Intel Hardware Feedback Interface"
108c95aa2baSRandy Dunlap	depends on NET
1091cb19cabSRicardo Neri	depends on CPU_SUP_INTEL
1101cb19cabSRicardo Neri	depends on X86_THERMAL_VECTOR
111bd30cdfdSSrinivas Pandruvada	select THERMAL_NETLINK
1121cb19cabSRicardo Neri	help
1131cb19cabSRicardo Neri	  Select this option to enable the Hardware Feedback Interface. If
1141cb19cabSRicardo Neri	  selected, hardware provides guidance to the operating system on
1151cb19cabSRicardo Neri	  the performance and energy efficiency capabilities of each CPU.
1161cb19cabSRicardo Neri	  These capabilities may change as a result of changes in the operating
1171cb19cabSRicardo Neri	  conditions of the system such power and thermal limits. If selected,
1181cb19cabSRicardo Neri	  the kernel relays updates in CPUs' capabilities to userspace.
119