--- zzzz-none-000/linux-4.4.271/drivers/thermal/Kconfig 2021-06-03 06:22:09.000000000 +0000 +++ hawkeye-5590-750/linux-4.4.271/drivers/thermal/Kconfig 2023-04-19 10:22:29.000000000 +0000 @@ -183,6 +183,17 @@ thermal framework. cpufreq is used as the cooling device to throttle CPUs when the passive trip is crossed. +config THERMAL_MONITOR + bool "Monitor thermal state and limit CPU Frequency" + depends on THERMAL_TSENS8974 + depends on CPU_FREQ || CPU_FREQ_MSM + default n + help + This enables thermal monitoring capability in the kernel in the + absence of a system wide thermal monitoring entity or until such an + entity starts running in the userspace. Monitors TSENS temperature + and limits the max frequency of the cores. + config IMX_THERMAL tristate "Temperature sensor driver for Freescale i.MX SoCs" depends on CPU_THERMAL @@ -391,4 +402,9 @@ real time die temperature if an ADC is present or an estimate of the temperature based upon the over temperature stage value. +menu "Qualcomm thermal drivers" +depends on (ARCH_QCOM && OF) || COMPILE_TEST +source "drivers/thermal/qcom/Kconfig" +endmenu + endif