Skip to content

Commit bda9e77

Browse files
committed
Add IntelliThermal v3.1 with Updates and Optimizations
1 parent eaa3262 commit bda9e77

File tree

4 files changed

+5680
-2
lines changed

4 files changed

+5680
-2
lines changed

drivers/thermal/Kconfig

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,30 @@ config LIMITS_LITE_HW
118118
supported by LMH Lite, their throttling intensity and the operating
119119
profiles.
120120

121+
choice
122+
prompt "MSM Thermal Monitor Types"
123+
default THERMAL_MONITOR
124+
121125
config THERMAL_MONITOR
122126
bool "Monitor thermal state and limit CPU Frequency"
123127
depends on THERMAL_TSENS8960 || THERMAL_TSENS8974
124128
depends on CPU_FREQ || CPU_FREQ_MSM
125-
default n
126129
help
127130
This enables thermal monitoring capability in the kernel in the
128131
absence of a system wide thermal monitoring entity or until such an
129132
entity starts running in the userspace. Monitors TSENS temperature
130133
and limits the max frequency of the cores.
131134

135+
config INTELLI_THERMAL
136+
bool "Better thermal monitor for MSM"
137+
depends on THERMAL_TSENS8974
138+
depends on CPU_FREQ_MSM
139+
help
140+
This enables thermal monitoring capability in the kernel replacing
141+
userspace thermal monitoring altogether.
142+
143+
endchoice
144+
132145
config SUPPLY_LM_MONITOR
133146
bool "SUPPLY current monitor driver"
134147
depends on THERMAL && PM_OPP && CPU_FREQ

drivers/thermal/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ obj-$(CONFIG_DB8500_THERMAL) += db8500_thermal.o
2323
obj-$(CONFIG_ARMADA_THERMAL) += armada_thermal.o
2424
obj-$(CONFIG_DB8500_CPUFREQ_COOLING) += db8500_cpufreq_cooling.o
2525
obj-$(CONFIG_INTEL_POWERCLAMP) += intel_powerclamp.o
26+
obj-$(CONFIG_INTELLI_THERMAL) += intelli/msm_thermal.o
2627
obj-$(CONFIG_THERMAL_TSENS8974) += msm8974-tsens.o
2728
obj-$(CONFIG_THERMAL_QPNP) += qpnp-temp-alarm.o
2829
obj-$(CONFIG_THERMAL_QPNP_ADC_TM) += qpnp-adc-tm.o

0 commit comments

Comments
 (0)