Kconfig

CONFIG_THERMAL Thermal drivers

On

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_STATISTICS Thermal state transition statistics

On

Export thermal state transition statistics information through sysfs.

If in doubt, say N.

CONFIG_THERMAL_DEBUGFS Thermal subsystem debug support

On

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

Unknown

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

On

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

On

Use the step_wise governor as default. This throttles the devices one step at a time.

CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE fair_share

Off

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.

CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE user_space

Off

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.

CONFIG_THERMAL_DEFAULT_GOV_POWER_ALLOCATOR power_allocator

Off

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.

CONFIG_THERMAL_DEFAULT_GOV_BANG_BANG bang_bang

Off

Use the bang_bang governor as default. This throttles the devices one step at the time, taking into account the trip point hysteresis.

End of Default Thermal governor

CONFIG_THERMAL_GOV_FAIR_SHARE Fair-share thermal governor

On

Enable this to manage platform thermals using fair-share governor.

CONFIG_THERMAL_GOV_STEP_WISE Step_wise thermal governor

On

Enable this to manage platform thermals using a simple linear governor.

CONFIG_THERMAL_GOV_BANG_BANG Bang Bang thermal governor

On

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

On

Enable this to let the user space manage the platform thermals.

CONFIG_THERMAL_GOV_POWER_ALLOCATOR Power allocator thermal governor

On

Enable this to manage platform thermals by dynamically allocating and limiting power to devices.

CONFIG_CPU_THERMAL Generic cpu cooling support

On

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.

If CPU_THERMAL

CONFIG_CPU_IDLE_THERMAL CPU idle cooling device

On

This implements the CPU cooling mechanism through idle injection. This will throttle the CPU by injecting idle cycle.

CONFIG_DEVFREQ_THERMAL Generic device cooling support

On

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.

CONFIG_PCIE_THERMAL PCIe cooling support

On

This implements PCIe cooling mechanism through bandwidth reduction for PCIe devices.

If you want this support, you should say Y here.

CONFIG_THERMAL_EMULATION Thermal emulation mode support

On

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.

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.

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.

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).

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.

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.

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.

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.

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.

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.

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.

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.

CONFIG_DB8500_THERMAL DB8500 thermal management

  • Off
  • Module
  • Built in
Unknown

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.

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).

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.

Mediatek thermal drivers

Includedrivers/thermal/mediatek/Kconfig Open file
End of Mediatek thermal drivers

CONFIG_AMLOGIC_THERMAL Amlogic Thermal Support

  • Off
  • Module
  • Built in
Unknown

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

Includedrivers/thermal/intel/Kconfig Open file
End of Intel thermal drivers

Broadcom thermal drivers

  • Depends onTHERMAL && ( || || || || COMPILE_TEST)
Includedrivers/thermal/broadcom/Kconfig Open file
End of Broadcom thermal drivers

Texas Instruments thermal drivers

Includedrivers/thermal/ti-soc-thermal/Kconfig Open file
End of Texas Instruments thermal drivers

Samsung thermal drivers

Includedrivers/thermal/samsung/Kconfig Open file
End of Samsung thermal drivers

STMicroelectronics thermal drivers

Includedrivers/thermal/st/Kconfig Open file
End of STMicroelectronics thermal drivers
Includedrivers/thermal/renesas/Kconfig Open file
Includedrivers/thermal/spacemit/Kconfig Open file
Includedrivers/thermal/tegra/Kconfig Open file

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

Includedrivers/thermal/qcom/Kconfig Open file
End of Qualcomm thermal drivers

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.

CONFIG_SPRD_THERMAL Temperature sensor on Spreadtrum SoCs

  • Off
  • Module
  • Built in

Support for the Spreadtrum thermal sensor driver in the Linux thermal framework.

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.