blob: 91af271e9bb02475b304dc7e5ae39f278d1d247e [file] [log] [blame]
Thomas Gleixnerec8f24b2019-05-19 13:07:45 +01001# SPDX-License-Identifier: GPL-2.0-only
Zhang Rui203d3d42008-01-17 15:51:08 +08002#
Linus Walleijeb850462020-02-29 21:45:27 +01003# Generic thermal drivers configuration
Zhang Rui203d3d42008-01-17 15:51:08 +08004#
5
6menuconfig THERMAL
Linus Walleijeb850462020-02-29 21:45:27 +01007 bool "Thermal drivers"
Zhang Rui203d3d42008-01-17 15:51:08 +08008 help
Linus Walleijeb850462020-02-29 21:45:27 +01009 Thermal drivers offer a generic mechanism for
Zhang Rui203d3d42008-01-17 15:51:08 +080010 thermal management. Usually it's made up of one or more thermal
Linus Walleijeb850462020-02-29 21:45:27 +010011 zones and cooling devices.
Len Brown543a9562008-02-07 16:55:08 -050012 Each thermal zone contains its own temperature, trip points,
Linus Walleijeb850462020-02-29 21:45:27 +010013 and cooling devices.
14 All platforms with ACPI or Open Firmware thermal support can use
15 this driver.
Daniel Lezcano554b3522019-04-02 18:12:44 +020016 If you want this support, you should say Y here.
Rene Herman16d75232008-06-24 19:38:56 +020017
Zhang Rui72e19892012-11-15 09:16:20 +080018if THERMAL
19
Viresh Kumar8ea22952018-04-02 16:26:25 +053020config THERMAL_STATISTICS
21 bool "Thermal state transition statistics"
22 help
23 Export thermal state transition statistics information through sysfs.
24
25 If in doubt, say N.
26
Keerthyef1d87e2017-04-18 09:59:59 +053027config THERMAL_EMERGENCY_POWEROFF_DELAY_MS
28 int "Emergency poweroff delay in milli-seconds"
Keerthyef1d87e2017-04-18 09:59:59 +053029 default 0
30 help
31 Thermal subsystem will issue a graceful shutdown when
32 critical temperatures are reached using orderly_poweroff(). In
33 case of failure of an orderly_poweroff(), the thermal emergency
34 poweroff kicks in after a delay has elapsed and shuts down the system.
35 This config is number of milliseconds to delay before emergency
36 poweroff kicks in. Similarly to the critical trip point,
37 the delay should be carefully profiled so as to give adequate
38 time for orderly_poweroff() to finish on regular execution.
39 If set to 0 emergency poweroff will not be supported.
40
41 In doubt, leave as 0.
42
Rene Herman16d75232008-06-24 19:38:56 +020043config THERMAL_HWMON
Jean Delvareab924022011-07-28 13:48:40 -070044 bool
Eduardo Valentin0dd88792013-07-03 15:14:28 -040045 prompt "Expose thermal sensors as hwmon device"
Rene Herman16d75232008-06-24 19:38:56 +020046 depends on HWMON=y || HWMON=THERMAL
Jean Delvareab924022011-07-28 13:48:40 -070047 default y
Eduardo Valentin0dd88792013-07-03 15:14:28 -040048 help
49 In case a sensor is registered with the thermal
50 framework, this option will also register it
51 as a hwmon. The sensor will then have the common
52 hwmon sysfs interface.
53
54 Say 'Y' here if you want all thermal sensors to
55 have hwmon sysfs interface too.
Vincenzo Frascino6a92c362012-03-21 12:55:03 -070056
Eduardo Valentin4e5e4702013-07-03 15:35:39 -040057config THERMAL_OF
58 bool
59 prompt "APIs to parse thermal data out of device tree"
60 depends on OF
61 default y
62 help
63 This options provides helpers to add the support to
64 read and parse thermal data definitions out of the
65 device tree blob.
66
67 Say 'Y' here if you need to build thermal infrastructure
68 based on device tree.
69
Punit Agrawal35e94642015-03-03 10:43:03 +000070config THERMAL_WRITABLE_TRIPS
71 bool "Enable writable trip points"
72 help
73 This option allows the system integrator to choose whether
74 trip temperatures can be changed from userspace. The
75 writable trips need to be specified when setting up the
76 thermal zone but the choice here takes precedence.
77
78 Say 'Y' here if you would like to allow userspace tools to
79 change trip temperatures.
80
Durgadoss Ra56757a2012-09-21 14:32:24 +053081choice
82 prompt "Default Thermal governor"
Durgadoss Ra56757a2012-09-21 14:32:24 +053083 default THERMAL_DEFAULT_GOV_STEP_WISE
84 help
85 This option sets which thermal governor shall be loaded at
86 startup. If in doubt, select 'step_wise'.
87
88config THERMAL_DEFAULT_GOV_STEP_WISE
89 bool "step_wise"
Zhang Rui9d185d02013-02-08 20:33:42 +080090 select THERMAL_GOV_STEP_WISE
Durgadoss Ra56757a2012-09-21 14:32:24 +053091 help
92 Use the step_wise governor as default. This throttles the
93 devices one step at a time.
94
95config THERMAL_DEFAULT_GOV_FAIR_SHARE
96 bool "fair_share"
Zhang Rui9d185d02013-02-08 20:33:42 +080097 select THERMAL_GOV_FAIR_SHARE
Durgadoss Ra56757a2012-09-21 14:32:24 +053098 help
99 Use the fair_share governor as default. This throttles the
100 devices based on their 'contribution' to a zone. The
101 contribution should be provided through platform data.
102
103config THERMAL_DEFAULT_GOV_USER_SPACE
104 bool "user_space"
Zhang Rui9d185d02013-02-08 20:33:42 +0800105 select THERMAL_GOV_USER_SPACE
Durgadoss Ra56757a2012-09-21 14:32:24 +0530106 help
107 Select this if you want to let the user space manage the
Regid Ichiraece238f2013-09-09 00:58:53 +0300108 platform thermals.
Zhang Rui72e19892012-11-15 09:16:20 +0800109
Javi Merino6b775e82015-03-02 17:17:19 +0000110config THERMAL_DEFAULT_GOV_POWER_ALLOCATOR
111 bool "power_allocator"
YueHaibing50260612019-11-13 18:53:13 +0800112 depends on THERMAL_GOV_POWER_ALLOCATOR
Javi Merino6b775e82015-03-02 17:17:19 +0000113 help
114 Select this if you want to control temperature based on
115 system and device power allocation. This governor can only
116 operate on cooling devices that implement the power API.
117
Durgadoss Ra56757a2012-09-21 14:32:24 +0530118endchoice
Zhang Rui72e19892012-11-15 09:16:20 +0800119
Zhang Rui9d185d02013-02-08 20:33:42 +0800120config THERMAL_GOV_FAIR_SHARE
Zhang Rui72e19892012-11-15 09:16:20 +0800121 bool "Fair-share thermal governor"
122 help
123 Enable this to manage platform thermals using fair-share governor.
124
Zhang Rui9d185d02013-02-08 20:33:42 +0800125config THERMAL_GOV_STEP_WISE
Zhang Rui72e19892012-11-15 09:16:20 +0800126 bool "Step_wise thermal governor"
127 help
128 Enable this to manage platform thermals using a simple linear
Luka Perkova8227942013-09-27 20:20:33 +0200129 governor.
Zhang Rui72e19892012-11-15 09:16:20 +0800130
Peter Feuerere4dbf982014-07-22 17:37:13 +0200131config THERMAL_GOV_BANG_BANG
132 bool "Bang Bang thermal governor"
133 default n
134 help
135 Enable this to manage platform thermals using bang bang governor.
136
137 Say 'Y' here if you want to use two point temperature regulation
138 used for fans without throttling. Some fan drivers depend on this
139 governor to be enabled (e.g. acerhdf).
140
Zhang Rui9d185d02013-02-08 20:33:42 +0800141config THERMAL_GOV_USER_SPACE
Zhang Rui72e19892012-11-15 09:16:20 +0800142 bool "User_space thermal governor"
143 help
144 Enable this to let the user space manage the platform thermals.
145
Javi Merino6b775e82015-03-02 17:17:19 +0000146config THERMAL_GOV_POWER_ALLOCATOR
147 bool "Power allocator thermal governor"
Quentin Perreta4e893e2019-10-30 15:14:51 +0000148 depends on ENERGY_MODEL
Javi Merino6b775e82015-03-02 17:17:19 +0000149 help
150 Enable this to manage platform thermals by dynamically
151 allocating and limiting power to devices.
152
Zhang Rui72e19892012-11-15 09:16:20 +0800153config CPU_THERMAL
Daniel Lezcano2e31c852019-04-02 18:12:49 +0200154 bool "Generic cpu cooling support"
Eduardo Valentin39d99cf2013-09-12 19:26:45 -0400155 depends on THERMAL_OF
Zhang Rui72e19892012-11-15 09:16:20 +0800156 help
Daniel Lezcano2b586fe2019-12-04 16:39:27 +0100157 Enable the CPU cooling features. If the system has no active
158 cooling device available, this option allows to use the CPU
159 as a cooling device.
160
161if CPU_THERMAL
162
163config CPU_FREQ_THERMAL
164 bool "CPU frequency cooling device"
165 depends on CPU_FREQ
166 default y
167 help
Zhang Rui72e19892012-11-15 09:16:20 +0800168 This implements the generic cpu cooling mechanism through frequency
Eduardo Valentinf7188b32013-04-17 17:12:10 +0000169 reduction. An ACPI version of this already exists
170 (drivers/acpi/processor_thermal.c).
Zhang Rui72e19892012-11-15 09:16:20 +0800171 This will be useful for platforms using the generic thermal interface
172 and not the ACPI interface.
Eduardo Valentinf7188b32013-04-17 17:12:10 +0000173
Daniel Lezcanoa4c428e2019-12-19 23:53:16 +0100174config CPU_IDLE_THERMAL
175 bool "CPU idle cooling device"
176 depends on IDLE_INJECT
177 help
178 This implements the CPU cooling mechanism through
179 idle injection. This will throttle the CPU by injecting
180 idle cycle.
Daniel Lezcano2b586fe2019-12-04 16:39:27 +0100181endif
Zhang Rui72e19892012-11-15 09:16:20 +0800182
Eduardo Valentinf9df89d2014-01-06 09:04:18 -0400183config CLOCK_THERMAL
184 bool "Generic clock cooling support"
185 depends on COMMON_CLK
186 depends on PM_OPP
187 help
188 This entry implements the generic clock cooling mechanism through
189 frequency clipping. Typically used to cool off co-processors. The
190 device that is configured to use this cooling mechanism will be
191 controlled to reduce clock frequency whenever temperature is high.
192
Ørjan Eidea76caf52015-09-10 18:09:30 +0100193config DEVFREQ_THERMAL
194 bool "Generic device cooling support"
195 depends on PM_DEVFREQ
196 depends on PM_OPP
197 help
198 This implements the generic devfreq cooling mechanism through
199 frequency reduction for devices using devfreq.
200
201 This will throttle the device by limiting the maximum allowed DVFS
202 frequency corresponding to the cooling level.
203
204 In order to use the power extensions of the cooling device,
205 devfreq should use the simple_ondemand governor.
206
Eduardo Valentinf9df89d2014-01-06 09:04:18 -0400207 If you want this support, you should say Y here.
208
Amit Daniel Kachhape6e238c2013-02-04 00:30:15 +0000209config THERMAL_EMULATION
210 bool "Thermal emulation mode support"
211 help
212 Enable this option to make a emul_temp sysfs node in thermal zone
213 directory to support temperature emulation. With emulation sysfs node,
214 user can manually input temperature and test the different trip
215 threshold behaviour for simulation purpose.
216
Eduardo Valentin88372952013-03-26 21:38:34 +0000217 WARNING: Be careful while enabling this option on production systems,
218 because userland can easily disable the thermal policy by simply
219 flooding this sysfs node with low temperature values.
220
Talel Shenhar71aa3692019-04-11 13:22:48 +0300221config THERMAL_MMIO
222 tristate "Generic Thermal MMIO driver"
223 depends on OF || COMPILE_TEST
Talel Shenhar6ec80702019-04-29 12:47:36 +0300224 depends on HAS_IOMEM
Talel Shenhar71aa3692019-04-11 13:22:48 +0300225 help
226 This option enables the generic thermal MMIO driver that will use
227 memory-mapped reads to get the temperature. Any HW/System that
228 allows temperature reading by a single memory-mapped reading, be it
229 register or shared memory, is a potential candidate to work with this
230 driver.
231
kongxinwei9a5238a2015-05-20 19:16:37 +0800232config HISI_THERMAL
233 tristate "Hisilicon thermal driver"
Leo Yanf05f4822016-08-31 16:50:16 +0800234 depends on ARCH_HISI || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900235 depends on HAS_IOMEM
Leo Yanf05f4822016-08-31 16:50:16 +0800236 depends on OF
237 default y
kongxinwei9a5238a2015-05-20 19:16:37 +0800238 help
239 Enable this to plug hisilicon's thermal sensor driver into the Linux
240 thermal framework. cpufreq is used as the cooling device to throttle
241 CPUs when the passive trip is crossed.
242
Shawn Guoca3de462013-06-24 14:30:44 +0800243config IMX_THERMAL
244 tristate "Temperature sensor driver for Freescale i.MX SoCs"
Anson Huangc589c562018-11-21 05:49:36 +0000245 depends on ARCH_MXC || COMPILE_TEST
Arnd Bergmann531fcde2017-09-18 22:48:16 +0200246 depends on NVMEM || !NVMEM
Shawn Guoca3de462013-06-24 14:30:44 +0800247 depends on MFD_SYSCON
248 depends on OF
249 help
250 Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs.
251 It supports one critical trip point and one passive trip point. The
252 cpufreq is used as the cooling device to throttle CPUs when the
253 passive trip is crossed.
254
Anson Huange20db702020-02-22 08:08:50 +0800255config IMX_SC_THERMAL
256 tristate "Temperature sensor driver for NXP i.MX SoCs with System Controller"
Anson Huangef502fc2020-03-03 16:04:44 +0800257 depends on IMX_SCU
Anson Huange20db702020-02-22 08:08:50 +0800258 depends on OF
259 help
260 Support for Temperature Monitor (TEMPMON) found on NXP i.MX SoCs with
261 system controller inside, Linux kernel has to communicate with system
262 controller via MU (message unit) IPC to get temperature from thermal
263 sensor. It supports one critical trip point and one
264 passive trip point for each thermal sensor.
265
Anson Huang5eed8002020-02-29 11:44:20 +0800266config IMX8MM_THERMAL
267 tristate "Temperature sensor driver for Freescale i.MX8MM SoC"
Anson Huang52cbc582020-03-06 23:37:37 +0800268 depends on ARCH_MXC || COMPILE_TEST
Anson Huang5eed8002020-02-29 11:44:20 +0800269 depends on OF
270 help
271 Support for Thermal Monitoring Unit (TMU) found on Freescale i.MX8MM SoC.
272 It supports one critical trip point and one passive trip point. The
273 cpufreq is used as the cooling device to throttle CPUs when the passive
274 trip is crossed.
275
Laxman Dewanganec4664b2016-08-23 13:50:27 +0530276config MAX77620_THERMAL
277 tristate "Temperature sensor driver for Maxim MAX77620 PMIC"
278 depends on MFD_MAX77620
279 depends on OF
280 help
281 Support for die junction temperature warning alarm for Maxim
282 Semiconductor PMIC MAX77620 device. Device generates two alarm
283 interrupts when PMIC die temperature cross the threshold of
284 120 degC and 140 degC.
285
Jia Hongtao43528442016-06-30 11:08:38 +0800286config QORIQ_THERMAL
287 tristate "QorIQ Thermal Monitoring Unit"
288 depends on THERMAL_OF
289 depends on HAS_IOMEM
Yuantian Tangcbe259f2020-03-03 16:46:41 +0800290 select REGMAP_MMIO
Jia Hongtao43528442016-06-30 11:08:38 +0800291 help
292 Support for Thermal Monitoring Unit (TMU) found on QorIQ platforms.
293 It supports one critical trip point and one passive trip point. The
294 cpufreq is used as the cooling device to throttle CPUs when the
295 passive trip is crossed.
296
Zhang Rui72e19892012-11-15 09:16:20 +0800297config SPEAR_THERMAL
Arnd Bergmann4d2f1792016-01-25 17:44:11 +0100298 tristate "SPEAr thermal sensor driver"
Eduardo Valentinaa2937b2015-09-09 20:42:01 -0700299 depends on PLAT_SPEAR || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900300 depends on HAS_IOMEM
Zhang Rui72e19892012-11-15 09:16:20 +0800301 depends on OF
302 help
303 Enable this to plug the SPEAr thermal sensor driver into the Linux
Luka Perkova8227942013-09-27 20:20:33 +0200304 thermal framework.
Zhang Rui72e19892012-11-15 09:16:20 +0800305
Yangtao Lidccc5c32019-12-19 09:28:17 -0800306config SUN8I_THERMAL
307 tristate "Allwinner sun8i thermal driver"
308 depends on ARCH_SUNXI || COMPILE_TEST
309 depends on HAS_IOMEM
310 depends on NVMEM
311 depends on OF
312 depends on RESET_CONTROLLER
313 help
314 Support for the sun8i thermal sensor driver into the Linux thermal
315 framework.
316
317 To compile this driver as a module, choose M here: the
318 module will be called sun8i-thermal.
319
Caesar Wangcbac8f632014-11-24 12:58:59 +0800320config ROCKCHIP_THERMAL
321 tristate "Rockchip thermal driver"
Eduardo Valentin444f9b02015-09-09 20:43:57 -0700322 depends on ARCH_ROCKCHIP || COMPILE_TEST
Caesar Wangcbac8f632014-11-24 12:58:59 +0800323 depends on RESET_CONTROLLER
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900324 depends on HAS_IOMEM
Caesar Wangcbac8f632014-11-24 12:58:59 +0800325 help
326 Rockchip thermal driver provides support for Temperature sensor
327 ADC (TS-ADC) found on Rockchip SoCs. It supports one critical
328 trip point. Cpufreq is used as the cooling device and will throttle
329 CPUs when the Temperature crosses the passive trip point.
330
Zhang Rui72e19892012-11-15 09:16:20 +0800331config RCAR_THERMAL
332 tristate "Renesas R-Car thermal driver"
Simon Horman8255e4e2016-03-02 11:04:26 +0900333 depends on ARCH_RENESAS || COMPILE_TEST
Richard Weinbergerd1c8b042014-01-27 09:40:58 +0100334 depends on HAS_IOMEM
Zhang Rui72e19892012-11-15 09:16:20 +0800335 help
336 Enable this to plug the R-Car thermal sensor driver into the Linux
Luka Perkova8227942013-09-27 20:20:33 +0200337 thermal framework.
Zhang Rui72e19892012-11-15 09:16:20 +0800338
Wolfram Sang564e73d2016-12-22 11:38:21 +0100339config RCAR_GEN3_THERMAL
340 tristate "Renesas R-Car Gen3 thermal driver"
341 depends on ARCH_RENESAS || COMPILE_TEST
342 depends on HAS_IOMEM
343 depends on OF
344 help
345 Enable this to plug the R-Car Gen3 thermal sensor driver into the Linux
346 thermal framework.
347
Nobuhiro Iwamatsu7060aa32013-02-06 06:35:24 +0000348config KIRKWOOD_THERMAL
349 tristate "Temperature sensor on Marvell Kirkwood SoCs"
Eduardo Valentin9c8aa952015-09-09 20:44:46 -0700350 depends on MACH_KIRKWOOD || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900351 depends on HAS_IOMEM
Nobuhiro Iwamatsu7060aa32013-02-06 06:35:24 +0000352 depends on OF
353 help
354 Support for the Kirkwood thermal sensor driver into the Linux thermal
355 framework. Only kirkwood 88F6282 and 88F6283 have this sensor.
356
Andrew Lunn74ffa642013-02-06 06:35:26 +0000357config DOVE_THERMAL
358 tristate "Temperature sensor on Marvell Dove SoCs"
Eduardo Valentin07fffd52015-09-09 20:45:25 -0700359 depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900360 depends on HAS_IOMEM
Andrew Lunn74ffa642013-02-06 06:35:26 +0000361 depends on OF
362 help
363 Support for the Dove thermal sensor driver in the Linux thermal
364 framework.
365
hongbo.zhangaa1acb02012-11-15 18:56:42 +0800366config DB8500_THERMAL
Arnd Bergmann26716ce2016-01-25 17:44:12 +0100367 tristate "DB8500 thermal management"
Linus Walleijcb063a82019-08-28 15:03:18 +0200368 depends on MFD_DB8500_PRCMU && OF
hongbo.zhangaa1acb02012-11-15 18:56:42 +0800369 default y
370 help
371 Adds DB8500 thermal management implementation according to the thermal
372 management framework. A thermal zone with several trip points will be
373 created. Cooling devices can be bound to the trip points to cool this
374 thermal zone if trip points reached.
375
Ezequiel Garciafa0d6542013-04-02 01:37:41 +0000376config ARMADA_THERMAL
Miquel Raynala9d58a12017-12-22 17:14:10 +0100377 tristate "Marvell EBU Armada SoCs thermal management"
Eduardo Valentin1b158262015-09-09 20:48:00 -0700378 depends on ARCH_MVEBU || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900379 depends on HAS_IOMEM
Ezequiel Garciafa0d6542013-04-02 01:37:41 +0000380 depends on OF
381 help
382 Enable this option if you want to have support for thermal management
Miquel Raynala9d58a12017-12-22 17:14:10 +0100383 controller present in Marvell EBU Armada SoCs (370,375,XP,38x,7K,8K).
Ezequiel Garciafa0d6542013-04-02 01:37:41 +0000384
Steve Twiss608567a2017-03-28 15:43:33 +0100385config DA9062_THERMAL
386 tristate "DA9062/DA9061 Dialog Semiconductor thermal driver"
387 depends on MFD_DA9062 || COMPILE_TEST
388 depends on OF
389 help
390 Enable this for the Dialog Semiconductor thermal sensor driver.
391 This will report PMIC junction over-temperature for one thermal trip
392 zone.
393 Compatible with the DA9062 and DA9061 PMICs.
394
Sascha Hauera92db1c2015-11-30 12:42:32 +0100395config MTK_THERMAL
396 tristate "Temperature sensor driver for mediatek SoCs"
397 depends on ARCH_MEDIATEK || COMPILE_TEST
Eduardo Valentin74e50532016-03-08 13:32:48 -0800398 depends on HAS_IOMEM
Randy Dunlap62e14f62016-04-19 09:44:23 -0700399 depends on NVMEM || NVMEM=n
Johannes Berga6f48502016-04-14 15:15:20 +0200400 depends on RESET_CONTROLLER
Sascha Hauera92db1c2015-11-30 12:42:32 +0100401 default y
402 help
403 Enable this option if you want to have support for thermal management
404 controller present in Mediatek SoCs
405
Guillaume La Roque421eda12019-10-04 11:01:09 +0200406config AMLOGIC_THERMAL
407 tristate "Amlogic Thermal Support"
408 default ARCH_MESON
409 depends on OF && ARCH_MESON
410 help
411 If you say yes here you get support for Amlogic Thermal
412 for G12 SoC Family.
413
414 This driver can also be built as a module. If so, the module will
415 be called amlogic_thermal.
416
Amit Kucheria3e8c4d32018-12-07 12:25:26 +0530417menu "Intel thermal drivers"
418depends on X86 || X86_INTEL_QUARK || COMPILE_TEST
419source "drivers/thermal/intel/Kconfig"
420endmenu
421
Rafał Miłeckia94cb7e2017-04-03 17:48:29 +0200422menu "Broadcom thermal drivers"
Pramod Kumar250e2112019-01-03 14:25:33 +0530423depends on ARCH_BCM || ARCH_BRCMSTB || ARCH_BCM2835 || ARCH_BCM_IPROC || \
424 COMPILE_TEST
Rafał Miłeckia94cb7e2017-04-03 17:48:29 +0200425source "drivers/thermal/broadcom/Kconfig"
426endmenu
427
Eduardo Valentineb982002013-05-15 15:46:00 +0000428menu "Texas Instruments thermal drivers"
Eduardo Valentinec2feb42015-09-09 21:13:41 -0700429depends on ARCH_HAS_BANDGAP || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900430depends on HAS_IOMEM
Eduardo Valentineb982002013-05-15 15:46:00 +0000431source "drivers/thermal/ti-soc-thermal/Kconfig"
432endmenu
Zhang Ruif157f592013-06-18 06:31:26 +0800433
Amit Daniel Kachhapc6821372013-06-24 16:20:22 +0530434menu "Samsung thermal drivers"
Eduardo Valentin2bf42732015-09-09 20:53:35 -0700435depends on ARCH_EXYNOS || COMPILE_TEST
Amit Daniel Kachhapc6821372013-06-24 16:20:22 +0530436source "drivers/thermal/samsung/Kconfig"
437endmenu
438
Lee Jones60aef7c2014-06-05 16:06:55 +0100439menu "STMicroelectronics thermal drivers"
David HERNANDEZ SANCHEZ1d693152018-10-05 10:08:46 +0000440depends on (ARCH_STI || ARCH_STM32) && OF
Lee Jones60aef7c2014-06-05 16:06:55 +0100441source "drivers/thermal/st/Kconfig"
442endmenu
443
Marc Gonzalez0b58c082016-04-19 16:21:16 +0200444config TANGO_THERMAL
445 tristate "Tango thermal management"
446 depends on ARCH_TANGO || COMPILE_TEST
447 help
448 Enable the Tango thermal driver, which supports the primitive
449 temperature sensor embedded in Tango chips since the SMP8758.
450 This sensor only generates a 1-bit signal to indicate whether
451 the die temperature exceeds a programmable threshold.
452
Wei Nia4dff942016-03-29 18:29:11 +0800453source "drivers/thermal/tegra/Kconfig"
454
Laxman Dewanganb3aef782016-04-19 12:52:01 +0530455config GENERIC_ADC_THERMAL
456 tristate "Generic ADC based thermal sensor"
457 depends on IIO
458 help
459 This enabled a thermal sysfs driver for the temperature sensor
460 which is connected to the General Purpose ADC. The ADC channel
461 is read via IIO framework and the channel information is provided
462 to this driver. This driver reports the temperature by reading ADC
463 channel and converts it to temperature based on lookup table.
464
Rajendra Nayak90660732016-05-05 14:21:39 +0530465menu "Qualcomm thermal drivers"
466depends on (ARCH_QCOM && OF) || COMPILE_TEST
467source "drivers/thermal/qcom/Kconfig"
468endmenu
469
Baoyou Xie50fdd362017-02-07 08:56:41 +0800470config ZX2967_THERMAL
471 tristate "Thermal sensors on zx2967 SoC"
472 depends on ARCH_ZX || COMPILE_TEST
473 help
474 Enable the zx2967 thermal sensors driver, which supports
475 the primitive temperature sensor embedded in zx2967 SoCs.
476 This sensor generates the real time die temperature.
477
Kunihiko Hayashi86da4392017-08-01 17:04:51 +0900478config UNIPHIER_THERMAL
479 tristate "Socionext UniPhier thermal driver"
480 depends on ARCH_UNIPHIER || COMPILE_TEST
481 depends on THERMAL_OF && MFD_SYSCON
482 help
483 Enable this to plug in UniPhier on-chip PVT thermal driver into the
484 thermal framework. The driver supports CPU thermal zone temperature
485 reporting and a couple of trip points.
Freeman Liu554fdba2020-02-18 16:10:28 +0800486
487config SPRD_THERMAL
488 tristate "Temperature sensor on Spreadtrum SoCs"
489 depends on ARCH_SPRD || COMPILE_TEST
490 help
491 Support for the Spreadtrum thermal sensor driver in the Linux thermal
492 framework.
Zhang Rui72e19892012-11-15 09:16:20 +0800493endif