CONFIG_THERMAL Thermal drivers
Thermal drivers offer a generic mechanism for thermal management. Usually it's made up of one or more thermal zones and cooling devices. Each thermal zone contains its own temperature, trip points, and cooling devices. All platforms with ACPI or Open Firmware thermal support can use this driver. If you want this support, you should say Y here.
If THERMAL
CONFIG_THERMAL_NETLINK Thermal netlink management
The thermal framework has a netlink interface to do thermal zones discovery, temperature readings and events such as trip point crossed, cooling device update or governor change. It is recommended to enable the feature.
CONFIG_THERMAL_STATISTICS Thermal state transition statistics
Export thermal state transition statistics information through sysfs.
If in doubt, say N.
CONFIG_THERMAL_DEBUGFS Thermal subsystem debug support
Say Y to allow the thermal subsystem to collect diagnostic information that can be accessed via debugfs.
CONFIG_THERMAL_CORE_TESTING Thermal core testing facility
- Off
- Module
- Built in
Say Y to add a debugfs-based thermal core testing facility. It allows test thermal zones to be created and populated with trip points in order to exercise the thermal core functionality in a controlled way.
CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS Emergency poweroff delay in milli-seconds
Thermal subsystem will issue a graceful shutdown when critical temperatures are reached using orderly_poweroff(). In case of failure of an orderly_poweroff(), the thermal emergency poweroff kicks in after a delay has elapsed and shuts down the system. This config is number of milliseconds to delay before emergency poweroff kicks in. Similarly to the critical trip point, the delay should be carefully profiled so as to give adequate time for orderly_poweroff() to finish on regular execution. If set to 0 emergency poweroff will not be supported.
In doubt, leave as 0.
CONFIG_THERMAL_HWMON Expose thermal sensors as hwmon device
In case a sensor is registered with the thermal framework, this option will also register it as a hwmon. The sensor will then have the common hwmon sysfs interface.
Say 'Y' here if you want all thermal sensors to have hwmon sysfs interface too.
CONFIG_THERMAL_OF APIs to parse thermal data out of device tree
This options provides helpers to add the support to read and parse thermal data definitions out of the device tree blob.
Say 'Y' here if you need to build thermal infrastructure based on device tree.
Default Thermal governor
This option sets which thermal governor shall be loaded at startup. If in doubt, select 'step_wise'.
CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE step_wise
Use the step_wise governor as default. This throttles the devices one step at a time.
- Selects
THERMAL_GOV_STEP_WISE if THERMAL
CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE fair_share
Use the fair_share governor as default. This throttles the devices based on their 'contribution' to a zone. The contribution should be provided through platform data.
- Selects
THERMAL_GOV_FAIR_SHARE if THERMAL
CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE user_space
The Userspace governor allows to get trip point crossed notification from the kernel via uevents. It is recommended to use the netlink interface instead which gives richer information about the thermal framework events.
- Selects
THERMAL_GOV_USER_SPACE if THERMAL
CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR power_allocator
Select this if you want to control temperature based on system and device power allocation. This governor can only operate on cooling devices that implement the power API.
- Depends on
THERMAL && THERMAL_GOV_POWER_ALLOCATOR
CONFIG_THERMAL_DEFAULT_GOV_BANG_BANG bang_bang
Use the bang_bang governor as default. This throttles the devices one step at the time, taking into account the trip point hysteresis.
- Depends on
THERMAL && THERMAL_GOV_BANG_BANG
CONFIG_THERMAL_GOV_FAIR_SHARE Fair-share thermal governor
Enable this to manage platform thermals using fair-share governor.
CONFIG_THERMAL_GOV_STEP_WISE Step_wise thermal governor
Enable this to manage platform thermals using a simple linear governor.
CONFIG_THERMAL_GOV_BANG_BANG Bang Bang thermal governor
Enable this to manage platform thermals using bang bang governor.
Say 'Y' here if you want to use two point temperature regulation used for fans without throttling. Some fan drivers depend on this governor to be enabled (e.g. acerhdf).
CONFIG_THERMAL_GOV_USER_SPACE User_space thermal governor
Enable this to let the user space manage the platform thermals.
CONFIG_THERMAL_GOV_POWER_ALLOCATOR Power allocator thermal governor
Enable this to manage platform thermals by dynamically allocating and limiting power to devices.
- Depends on
THERMAL && ENERGY_MODEL
CONFIG_CPU_THERMAL Generic cpu cooling support
Enable the CPU cooling features. If the system has no active cooling device available, this option allows to use the CPU as a cooling device.
- Depends on
THERMAL && THERMAL_OF
If CPU_THERMAL
- Depends on
THERMAL && CPU_THERMAL
CONFIG_CPU_FREQ_THERMAL CPU frequency cooling device
This implements the generic cpu cooling mechanism through frequency reduction. An ACPI version of this already exists (drivers/acpi/processor_thermal.c). This will be useful for platforms using the generic thermal interface and not the ACPI interface.
- Depends on
THERMAL && CPU_THERMAL && CPU_FREQ
CONFIG_CPU_IDLE_THERMAL CPU idle cooling device
This implements the CPU cooling mechanism through idle injection. This will throttle the CPU by injecting idle cycle.
- Depends on
THERMAL && CPU_THERMAL && IDLE_INJECT
CONFIG_DEVFREQ_THERMAL Generic device cooling support
This implements the generic devfreq cooling mechanism through frequency reduction for devices using devfreq.
This will throttle the device by limiting the maximum allowed DVFS frequency corresponding to the cooling level.
In order to use the power extensions of the cooling device, devfreq should use the simple_ondemand governor.
If you want this support, you should say Y here.
- Depends on
THERMAL && PM_DEVFREQ && PM_OPP
CONFIG_PCIE_THERMAL PCIe cooling support
This implements PCIe cooling mechanism through bandwidth reduction for PCIe devices.
If you want this support, you should say Y here.
- Depends on
THERMAL && PCIEPORTBUS
CONFIG_THERMAL_EMULATION Thermal emulation mode support
Enable this option to make a emul_temp sysfs node in thermal zone directory to support temperature emulation. With emulation sysfs node, user can manually input temperature and test the different trip threshold behaviour for simulation purpose.
WARNING: Be careful while enabling this option on production systems, because userland can easily disable the thermal policy by simply flooding this sysfs node with low temperature values.
CONFIG_THERMAL_MMIO Generic Thermal MMIO driver
- Off
- Module
- Built in
This option enables the generic thermal MMIO driver that will use memory-mapped reads to get the temperature. Any HW/System that allows temperature reading by a single memory-mapped reading, be it register or shared memory, is a potential candidate to work with this driver.
CONFIG_HISI_THERMAL Hisilicon thermal driver
- Off
- Module
- Built in
Enable this to plug hisilicon's thermal sensor driver into the Linux thermal framework. cpufreq is used as the cooling device to throttle CPUs when the passive trip is crossed.
- Depends on
THERMAL && ( || COMPILE_TEST) && HAS_IOMEM && OF
CONFIG_IMX_THERMAL Temperature sensor driver for Freescale i.MX SoCs
- Off
- Module
- Built in
Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs. It supports one critical trip point and one passive trip point. The cpufreq is used as the cooling device to throttle CPUs when the passive trip is crossed.
- Depends on
THERMAL && ( || COMPILE_TEST) && MFD_SYSCON && OF
CONFIG_IMX_SC_THERMAL Temperature sensor driver for NXP i.MX SoCs with System Controller
- Off
- Module
- Built in
Support for Temperature Monitor (TEMPMON) found on NXP i.MX SoCs with system controller inside, Linux kernel has to communicate with system controller via MU (message unit) IPC to get temperature from thermal sensor. It supports one critical trip point and one passive trip point for each thermal sensor.
CONFIG_IMX8MM_THERMAL Temperature sensor driver for Freescale i.MX8MM SoC
- Off
- Module
- Built in
Support for Thermal Monitoring Unit (TMU) found on Freescale i.MX8MM SoC. It supports one critical trip point and one passive trip point. The cpufreq is used as the cooling device to throttle CPUs when the passive trip is crossed.
- Depends on
THERMAL && ( || COMPILE_TEST) && OF
CONFIG_IMX91_THERMAL Temperature sensor driver for NXP i.MX91 SoC
- Off
- Module
- Built in
Include one sensor and six comparators. Each of them compares the temperature value (from the sensor) against the programmable threshold values. The direction of the comparison is configurable (greater / lesser than).
- Depends on
THERMAL && ( || COMPILE_TEST) && OF
CONFIG_K3_THERMAL Texas Instruments K3 thermal support
- Off
- Module
- Built in
If you say yes here you get thermal support for the Texas Instruments K3 SoC family. The current chip supported is: - AM654
This includes temperature reading functionality.
- Depends on
THERMAL && (ARCH_K3 || COMPILE_TEST)
CONFIG_MAX77620_THERMAL Temperature sensor driver for Maxim MAX77620 PMIC
- Off
- Module
- Built in
Support for die junction temperature warning alarm for Maxim Semiconductor PMIC MAX77620 device. Device generates two alarm interrupts when PMIC die temperature cross the threshold of 120 degC and 140 degC.
- Depends on
THERMAL && MFD_MAX77620 && OF
CONFIG_QORIQ_THERMAL QorIQ Thermal Monitoring Unit
- Off
- Module
- Built in
Support for Thermal Monitoring Unit (TMU) found on QorIQ platforms. It supports one critical trip point and one passive trip point. The cpufreq is used as the cooling device to throttle CPUs when the passive trip is crossed.
- Depends on
THERMAL && THERMAL_OF && HAS_IOMEM && (PPC_E500MC || SOC_LS1021A || ARCH_LAYERSCAPE || && ARM64 || COMPILE_TEST) - Selects
REGMAP_MMIO if THERMAL && THERMAL_OF && HAS_IOMEM && (PPC_E500MC || SOC_LS1021A || ARCH_LAYERSCAPE || && ARM64 || COMPILE_TEST)
CONFIG_AIROHA_THERMAL Airoha thermal sensor driver
- Off
- Module
- Built in
Enable this to plug the Airoha thermal sensor driver into the Linux thermal framework.
- Depends on
THERMAL && ( || COMPILE_TEST) && MFD_SYSCON && OF
CONFIG_SPEAR_THERMAL SPEAr thermal sensor driver
- Off
- Module
- Built in
Enable this to plug the SPEAr thermal sensor driver into the Linux thermal framework.
- Depends on
THERMAL && (PLAT_SPEAR || COMPILE_TEST) && HAS_IOMEM && OF
CONFIG_SUN8I_THERMAL Allwinner sun8i thermal driver
- Off
- Module
- Built in
Support for the sun8i thermal sensor driver into the Linux thermal framework.
To compile this driver as a module, choose M here: the module will be called sun8i-thermal.
- Depends on
THERMAL && ( || COMPILE_TEST) && HAS_IOMEM && NVMEM && OF && RESET_CONTROLLER
CONFIG_ROCKCHIP_THERMAL Rockchip thermal driver
- Off
- Module
- Built in
Rockchip thermal driver provides support for Temperature sensor ADC (TS-ADC) found on Rockchip SoCs. It supports one critical trip point. Cpufreq is used as the cooling device and will throttle CPUs when the Temperature crosses the passive trip point.
- Depends on
THERMAL && ( || COMPILE_TEST) && RESET_CONTROLLER && HAS_IOMEM
CONFIG_KIRKWOOD_THERMAL Temperature sensor on Marvell Kirkwood SoCs
- Off
- Module
- Built in
Support for the Kirkwood thermal sensor driver into the Linux thermal framework. Only kirkwood 88F6282 and 88F6283 have this sensor.
- Depends on
THERMAL && (MACH_KIRKWOOD || COMPILE_TEST) && HAS_IOMEM && OF
CONFIG_DOVE_THERMAL Temperature sensor on Marvell Dove SoCs
- Off
- Module
- Built in
Support for the Dove thermal sensor driver in the Linux thermal framework.
CONFIG_DB8500_THERMAL DB8500 thermal management
- Off
- Module
- Built in
Adds DB8500 thermal management implementation according to the thermal management framework. A thermal zone with several trip points will be created. Cooling devices can be bound to the trip points to cool this thermal zone if trip points reached.
- Depends on
THERMAL && MFD_DB8500_PRCMU && OF
CONFIG_ARMADA_THERMAL Marvell EBU Armada SoCs thermal management
- Off
- Module
- Built in
Enable this option if you want to have support for thermal management controller present in Marvell EBU Armada SoCs (370,375,XP,38x,7K,8K).
- Depends on
THERMAL && ( || COMPILE_TEST) && HAS_IOMEM && OF
CONFIG_DA9062_THERMAL DA9062/DA9061 Dialog Semiconductor thermal driver
- Off
- Module
- Built in
Enable this for the Dialog Semiconductor thermal sensor driver. This will report PMIC junction over-temperature for one thermal trip zone. Compatible with the DA9062 and DA9061 PMICs.
- Depends on
THERMAL && (MFD_DA9062 || COMPILE_TEST) && OF
Mediatek thermal drivers
- Depends on
THERMAL && ( || COMPILE_TEST)
CONFIG_AMLOGIC_THERMAL Amlogic Thermal Support
- Off
- Module
- Built in
If you say yes here you get support for Amlogic Thermal for G12 SoC Family.
This driver can also be built as a module. If so, the module will be called amlogic_thermal.
Intel thermal drivers
- Depends on
THERMAL && (X86 || X86_INTEL_QUARK || COMPILE_TEST)
Broadcom thermal drivers
- Depends on
THERMAL && ( || || || || COMPILE_TEST)
Texas Instruments thermal drivers
- Depends on
THERMAL && (ARCH_HAS_BANDGAP || COMPILE_TEST) && HAS_IOMEM
Samsung thermal drivers
- Depends on
THERMAL && ( || COMPILE_TEST)
STMicroelectronics thermal drivers
- Depends on
THERMAL && (ARCH_STI || ) && THERMAL_OF
CONFIG_GENERIC_ADC_THERMAL Generic ADC based thermal sensor
- Off
- Module
- Built in
This enabled a thermal sysfs driver for the temperature sensor which is connected to the General Purpose ADC. The ADC channel is read via IIO framework and the channel information is provided to this driver. This driver reports the temperature by reading ADC channel and converts it to temperature based on lookup table.
Qualcomm thermal drivers
- Depends on
THERMAL && ( && OF || COMPILE_TEST)
CONFIG_UNIPHIER_THERMAL Socionext UniPhier thermal driver
- Off
- Module
- Built in
Enable this to plug in UniPhier on-chip PVT thermal driver into the thermal framework. The driver supports CPU thermal zone temperature reporting and a couple of trip points.
- Depends on
THERMAL && ( || COMPILE_TEST) && THERMAL_OF && MFD_SYSCON
CONFIG_SPRD_THERMAL Temperature sensor on Spreadtrum SoCs
- Off
- Module
- Built in
Support for the Spreadtrum thermal sensor driver in the Linux thermal framework.
- Depends on
THERMAL && (ARCH_SPRD || COMPILE_TEST)
CONFIG_KHADAS_MCU_FAN_THERMAL Khadas MCU controller FAN cooling support
- Off
- Module
- Built in
If you say yes here you get support for the FAN controlled by the Microcontroller found on the Khadas VIM boards.
- Depends on
THERMAL && OF && MFD_KHADAS_MCU - Selects
MFD_CORE if THERMAL && OF && MFD_KHADAS_MCU - Selects
REGMAP if THERMAL && OF && MFD_KHADAS_MCU
CONFIG_LOONGSON2_THERMAL Loongson-2 SoC series thermal driver
- Off
- Module
- Built in
Support for Thermal driver found on Loongson-2 SoC series platforms. The thermal driver realizes get_temp and set_trips function, which are used to obtain the temperature of the current node and set the temperature range to trigger the interrupt. When the input temperature is higher than the high temperature threshold or lower than the low temperature threshold, the interrupt will occur.
- Depends on
THERMAL && (LOONGARCH || COMPILE_TEST) && OF