blob: 5a05db5438d601be74cecd047c79fdda1d6ce633 [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#
3# Generic thermal sysfs drivers configuration
4#
5
6menuconfig THERMAL
Daniel Lezcano554b3522019-04-02 18:12:44 +02007 bool "Generic Thermal sysfs driver"
Zhang Rui203d3d42008-01-17 15:51:08 +08008 help
9 Generic Thermal Sysfs driver offers a generic mechanism for
10 thermal management. Usually it's made up of one or more thermal
11 zone and cooling device.
Len Brown543a9562008-02-07 16:55:08 -050012 Each thermal zone contains its own temperature, trip points,
Zhang Rui203d3d42008-01-17 15:51:08 +080013 cooling devices.
14 All platforms with ACPI thermal support can use this driver.
Daniel Lezcano554b3522019-04-02 18:12:44 +020015 If you want this support, you should say Y here.
Rene Herman16d75232008-06-24 19:38:56 +020016
Zhang Rui72e19892012-11-15 09:16:20 +080017if THERMAL
18
Viresh Kumar8ea22952018-04-02 16:26:25 +053019config THERMAL_STATISTICS
20 bool "Thermal state transition statistics"
21 help
22 Export thermal state transition statistics information through sysfs.
23
24 If in doubt, say N.
25
Keerthyef1d87e2017-04-18 09:59:59 +053026config THERMAL_EMERGENCY_POWEROFF_DELAY_MS
27 int "Emergency poweroff delay in milli-seconds"
Keerthyef1d87e2017-04-18 09:59:59 +053028 default 0
29 help
30 Thermal subsystem will issue a graceful shutdown when
31 critical temperatures are reached using orderly_poweroff(). In
32 case of failure of an orderly_poweroff(), the thermal emergency
33 poweroff kicks in after a delay has elapsed and shuts down the system.
34 This config is number of milliseconds to delay before emergency
35 poweroff kicks in. Similarly to the critical trip point,
36 the delay should be carefully profiled so as to give adequate
37 time for orderly_poweroff() to finish on regular execution.
38 If set to 0 emergency poweroff will not be supported.
39
40 In doubt, leave as 0.
41
Rene Herman16d75232008-06-24 19:38:56 +020042config THERMAL_HWMON
Jean Delvareab924022011-07-28 13:48:40 -070043 bool
Eduardo Valentin0dd88792013-07-03 15:14:28 -040044 prompt "Expose thermal sensors as hwmon device"
Rene Herman16d75232008-06-24 19:38:56 +020045 depends on HWMON=y || HWMON=THERMAL
Jean Delvareab924022011-07-28 13:48:40 -070046 default y
Eduardo Valentin0dd88792013-07-03 15:14:28 -040047 help
48 In case a sensor is registered with the thermal
49 framework, this option will also register it
50 as a hwmon. The sensor will then have the common
51 hwmon sysfs interface.
52
53 Say 'Y' here if you want all thermal sensors to
54 have hwmon sysfs interface too.
Vincenzo Frascino6a92c362012-03-21 12:55:03 -070055
Eduardo Valentin4e5e4702013-07-03 15:35:39 -040056config THERMAL_OF
57 bool
58 prompt "APIs to parse thermal data out of device tree"
59 depends on OF
60 default y
61 help
62 This options provides helpers to add the support to
63 read and parse thermal data definitions out of the
64 device tree blob.
65
66 Say 'Y' here if you need to build thermal infrastructure
67 based on device tree.
68
Punit Agrawal35e94642015-03-03 10:43:03 +000069config THERMAL_WRITABLE_TRIPS
70 bool "Enable writable trip points"
71 help
72 This option allows the system integrator to choose whether
73 trip temperatures can be changed from userspace. The
74 writable trips need to be specified when setting up the
75 thermal zone but the choice here takes precedence.
76
77 Say 'Y' here if you would like to allow userspace tools to
78 change trip temperatures.
79
Durgadoss Ra56757a2012-09-21 14:32:24 +053080choice
81 prompt "Default Thermal governor"
Durgadoss Ra56757a2012-09-21 14:32:24 +053082 default THERMAL_DEFAULT_GOV_STEP_WISE
83 help
84 This option sets which thermal governor shall be loaded at
85 startup. If in doubt, select 'step_wise'.
86
87config THERMAL_DEFAULT_GOV_STEP_WISE
88 bool "step_wise"
Zhang Rui9d185d02013-02-08 20:33:42 +080089 select THERMAL_GOV_STEP_WISE
Durgadoss Ra56757a2012-09-21 14:32:24 +053090 help
91 Use the step_wise governor as default. This throttles the
92 devices one step at a time.
93
94config THERMAL_DEFAULT_GOV_FAIR_SHARE
95 bool "fair_share"
Zhang Rui9d185d02013-02-08 20:33:42 +080096 select THERMAL_GOV_FAIR_SHARE
Durgadoss Ra56757a2012-09-21 14:32:24 +053097 help
98 Use the fair_share governor as default. This throttles the
99 devices based on their 'contribution' to a zone. The
100 contribution should be provided through platform data.
101
102config THERMAL_DEFAULT_GOV_USER_SPACE
103 bool "user_space"
Zhang Rui9d185d02013-02-08 20:33:42 +0800104 select THERMAL_GOV_USER_SPACE
Durgadoss Ra56757a2012-09-21 14:32:24 +0530105 help
106 Select this if you want to let the user space manage the
Regid Ichiraece238f2013-09-09 00:58:53 +0300107 platform thermals.
Zhang Rui72e19892012-11-15 09:16:20 +0800108
Javi Merino6b775e82015-03-02 17:17:19 +0000109config THERMAL_DEFAULT_GOV_POWER_ALLOCATOR
110 bool "power_allocator"
YueHaibing50260612019-11-13 18:53:13 +0800111 depends on THERMAL_GOV_POWER_ALLOCATOR
Javi Merino6b775e82015-03-02 17:17:19 +0000112 help
113 Select this if you want to control temperature based on
114 system and device power allocation. This governor can only
115 operate on cooling devices that implement the power API.
116
Durgadoss Ra56757a2012-09-21 14:32:24 +0530117endchoice
Zhang Rui72e19892012-11-15 09:16:20 +0800118
Zhang Rui9d185d02013-02-08 20:33:42 +0800119config THERMAL_GOV_FAIR_SHARE
Zhang Rui72e19892012-11-15 09:16:20 +0800120 bool "Fair-share thermal governor"
121 help
122 Enable this to manage platform thermals using fair-share governor.
123
Zhang Rui9d185d02013-02-08 20:33:42 +0800124config THERMAL_GOV_STEP_WISE
Zhang Rui72e19892012-11-15 09:16:20 +0800125 bool "Step_wise thermal governor"
126 help
127 Enable this to manage platform thermals using a simple linear
Luka Perkova8227942013-09-27 20:20:33 +0200128 governor.
Zhang Rui72e19892012-11-15 09:16:20 +0800129
Peter Feuerere4dbf982014-07-22 17:37:13 +0200130config THERMAL_GOV_BANG_BANG
131 bool "Bang Bang thermal governor"
132 default n
133 help
134 Enable this to manage platform thermals using bang bang governor.
135
136 Say 'Y' here if you want to use two point temperature regulation
137 used for fans without throttling. Some fan drivers depend on this
138 governor to be enabled (e.g. acerhdf).
139
Zhang Rui9d185d02013-02-08 20:33:42 +0800140config THERMAL_GOV_USER_SPACE
Zhang Rui72e19892012-11-15 09:16:20 +0800141 bool "User_space thermal governor"
142 help
143 Enable this to let the user space manage the platform thermals.
144
Javi Merino6b775e82015-03-02 17:17:19 +0000145config THERMAL_GOV_POWER_ALLOCATOR
146 bool "Power allocator thermal governor"
Quentin Perreta4e893e2019-10-30 15:14:51 +0000147 depends on ENERGY_MODEL
Javi Merino6b775e82015-03-02 17:17:19 +0000148 help
149 Enable this to manage platform thermals by dynamically
150 allocating and limiting power to devices.
151
Zhang Rui72e19892012-11-15 09:16:20 +0800152config CPU_THERMAL
Daniel Lezcano2e31c852019-04-02 18:12:49 +0200153 bool "Generic cpu cooling support"
Eduardo Valentin39d99cf2013-09-12 19:26:45 -0400154 depends on THERMAL_OF
Zhang Rui72e19892012-11-15 09:16:20 +0800155 help
Daniel Lezcano2b586fe2019-12-04 16:39:27 +0100156 Enable the CPU cooling features. If the system has no active
157 cooling device available, this option allows to use the CPU
158 as a cooling device.
159
160if CPU_THERMAL
161
162config CPU_FREQ_THERMAL
163 bool "CPU frequency cooling device"
164 depends on CPU_FREQ
165 default y
166 help
Zhang Rui72e19892012-11-15 09:16:20 +0800167 This implements the generic cpu cooling mechanism through frequency
Eduardo Valentinf7188b32013-04-17 17:12:10 +0000168 reduction. An ACPI version of this already exists
169 (drivers/acpi/processor_thermal.c).
Zhang Rui72e19892012-11-15 09:16:20 +0800170 This will be useful for platforms using the generic thermal interface
171 and not the ACPI interface.
Eduardo Valentinf7188b32013-04-17 17:12:10 +0000172
Daniel Lezcanoa4c428e2019-12-19 23:53:16 +0100173config CPU_IDLE_THERMAL
174 bool "CPU idle cooling device"
175 depends on IDLE_INJECT
176 help
177 This implements the CPU cooling mechanism through
178 idle injection. This will throttle the CPU by injecting
179 idle cycle.
Daniel Lezcano2b586fe2019-12-04 16:39:27 +0100180endif
Zhang Rui72e19892012-11-15 09:16:20 +0800181
Eduardo Valentinf9df89d2014-01-06 09:04:18 -0400182config CLOCK_THERMAL
183 bool "Generic clock cooling support"
184 depends on COMMON_CLK
185 depends on PM_OPP
186 help
187 This entry implements the generic clock cooling mechanism through
188 frequency clipping. Typically used to cool off co-processors. The
189 device that is configured to use this cooling mechanism will be
190 controlled to reduce clock frequency whenever temperature is high.
191
Ørjan Eidea76caf52015-09-10 18:09:30 +0100192config DEVFREQ_THERMAL
193 bool "Generic device cooling support"
194 depends on PM_DEVFREQ
195 depends on PM_OPP
196 help
197 This implements the generic devfreq cooling mechanism through
198 frequency reduction for devices using devfreq.
199
200 This will throttle the device by limiting the maximum allowed DVFS
201 frequency corresponding to the cooling level.
202
203 In order to use the power extensions of the cooling device,
204 devfreq should use the simple_ondemand governor.
205
Eduardo Valentinf9df89d2014-01-06 09:04:18 -0400206 If you want this support, you should say Y here.
207
Amit Daniel Kachhape6e238c2013-02-04 00:30:15 +0000208config THERMAL_EMULATION
209 bool "Thermal emulation mode support"
210 help
211 Enable this option to make a emul_temp sysfs node in thermal zone
212 directory to support temperature emulation. With emulation sysfs node,
213 user can manually input temperature and test the different trip
214 threshold behaviour for simulation purpose.
215
Eduardo Valentin88372952013-03-26 21:38:34 +0000216 WARNING: Be careful while enabling this option on production systems,
217 because userland can easily disable the thermal policy by simply
218 flooding this sysfs node with low temperature values.
219
Talel Shenhar71aa3692019-04-11 13:22:48 +0300220config THERMAL_MMIO
221 tristate "Generic Thermal MMIO driver"
222 depends on OF || COMPILE_TEST
Talel Shenhar6ec80702019-04-29 12:47:36 +0300223 depends on HAS_IOMEM
Talel Shenhar71aa3692019-04-11 13:22:48 +0300224 help
225 This option enables the generic thermal MMIO driver that will use
226 memory-mapped reads to get the temperature. Any HW/System that
227 allows temperature reading by a single memory-mapped reading, be it
228 register or shared memory, is a potential candidate to work with this
229 driver.
230
kongxinwei9a5238a2015-05-20 19:16:37 +0800231config HISI_THERMAL
232 tristate "Hisilicon thermal driver"
Leo Yanf05f4822016-08-31 16:50:16 +0800233 depends on ARCH_HISI || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900234 depends on HAS_IOMEM
Leo Yanf05f4822016-08-31 16:50:16 +0800235 depends on OF
236 default y
kongxinwei9a5238a2015-05-20 19:16:37 +0800237 help
238 Enable this to plug hisilicon's thermal sensor driver into the Linux
239 thermal framework. cpufreq is used as the cooling device to throttle
240 CPUs when the passive trip is crossed.
241
Shawn Guoca3de462013-06-24 14:30:44 +0800242config IMX_THERMAL
243 tristate "Temperature sensor driver for Freescale i.MX SoCs"
Anson Huangc589c562018-11-21 05:49:36 +0000244 depends on ARCH_MXC || COMPILE_TEST
Arnd Bergmann531fcde2017-09-18 22:48:16 +0200245 depends on NVMEM || !NVMEM
Shawn Guoca3de462013-06-24 14:30:44 +0800246 depends on MFD_SYSCON
247 depends on OF
248 help
249 Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs.
250 It supports one critical trip point and one passive trip point. The
251 cpufreq is used as the cooling device to throttle CPUs when the
252 passive trip is crossed.
253
Laxman Dewanganec4664b2016-08-23 13:50:27 +0530254config MAX77620_THERMAL
255 tristate "Temperature sensor driver for Maxim MAX77620 PMIC"
256 depends on MFD_MAX77620
257 depends on OF
258 help
259 Support for die junction temperature warning alarm for Maxim
260 Semiconductor PMIC MAX77620 device. Device generates two alarm
261 interrupts when PMIC die temperature cross the threshold of
262 120 degC and 140 degC.
263
Jia Hongtao43528442016-06-30 11:08:38 +0800264config QORIQ_THERMAL
265 tristate "QorIQ Thermal Monitoring Unit"
266 depends on THERMAL_OF
267 depends on HAS_IOMEM
268 help
269 Support for Thermal Monitoring Unit (TMU) found on QorIQ platforms.
270 It supports one critical trip point and one passive trip point. The
271 cpufreq is used as the cooling device to throttle CPUs when the
272 passive trip is crossed.
273
Zhang Rui72e19892012-11-15 09:16:20 +0800274config SPEAR_THERMAL
Arnd Bergmann4d2f1792016-01-25 17:44:11 +0100275 tristate "SPEAr thermal sensor driver"
Eduardo Valentinaa2937b2015-09-09 20:42:01 -0700276 depends on PLAT_SPEAR || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900277 depends on HAS_IOMEM
Zhang Rui72e19892012-11-15 09:16:20 +0800278 depends on OF
279 help
280 Enable this to plug the SPEAr thermal sensor driver into the Linux
Luka Perkova8227942013-09-27 20:20:33 +0200281 thermal framework.
Zhang Rui72e19892012-11-15 09:16:20 +0800282
Yangtao Lidccc5c32019-12-19 09:28:17 -0800283config SUN8I_THERMAL
284 tristate "Allwinner sun8i thermal driver"
285 depends on ARCH_SUNXI || COMPILE_TEST
286 depends on HAS_IOMEM
287 depends on NVMEM
288 depends on OF
289 depends on RESET_CONTROLLER
290 help
291 Support for the sun8i thermal sensor driver into the Linux thermal
292 framework.
293
294 To compile this driver as a module, choose M here: the
295 module will be called sun8i-thermal.
296
Caesar Wangcbac8f632014-11-24 12:58:59 +0800297config ROCKCHIP_THERMAL
298 tristate "Rockchip thermal driver"
Eduardo Valentin444f9b02015-09-09 20:43:57 -0700299 depends on ARCH_ROCKCHIP || COMPILE_TEST
Caesar Wangcbac8f632014-11-24 12:58:59 +0800300 depends on RESET_CONTROLLER
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900301 depends on HAS_IOMEM
Caesar Wangcbac8f632014-11-24 12:58:59 +0800302 help
303 Rockchip thermal driver provides support for Temperature sensor
304 ADC (TS-ADC) found on Rockchip SoCs. It supports one critical
305 trip point. Cpufreq is used as the cooling device and will throttle
306 CPUs when the Temperature crosses the passive trip point.
307
Zhang Rui72e19892012-11-15 09:16:20 +0800308config RCAR_THERMAL
309 tristate "Renesas R-Car thermal driver"
Simon Horman8255e4e2016-03-02 11:04:26 +0900310 depends on ARCH_RENESAS || COMPILE_TEST
Richard Weinbergerd1c8b042014-01-27 09:40:58 +0100311 depends on HAS_IOMEM
Zhang Rui72e19892012-11-15 09:16:20 +0800312 help
313 Enable this to plug the R-Car thermal sensor driver into the Linux
Luka Perkova8227942013-09-27 20:20:33 +0200314 thermal framework.
Zhang Rui72e19892012-11-15 09:16:20 +0800315
Wolfram Sang564e73d2016-12-22 11:38:21 +0100316config RCAR_GEN3_THERMAL
317 tristate "Renesas R-Car Gen3 thermal driver"
318 depends on ARCH_RENESAS || COMPILE_TEST
319 depends on HAS_IOMEM
320 depends on OF
321 help
322 Enable this to plug the R-Car Gen3 thermal sensor driver into the Linux
323 thermal framework.
324
Nobuhiro Iwamatsu7060aa32013-02-06 06:35:24 +0000325config KIRKWOOD_THERMAL
326 tristate "Temperature sensor on Marvell Kirkwood SoCs"
Eduardo Valentin9c8aa952015-09-09 20:44:46 -0700327 depends on MACH_KIRKWOOD || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900328 depends on HAS_IOMEM
Nobuhiro Iwamatsu7060aa32013-02-06 06:35:24 +0000329 depends on OF
330 help
331 Support for the Kirkwood thermal sensor driver into the Linux thermal
332 framework. Only kirkwood 88F6282 and 88F6283 have this sensor.
333
Andrew Lunn74ffa642013-02-06 06:35:26 +0000334config DOVE_THERMAL
335 tristate "Temperature sensor on Marvell Dove SoCs"
Eduardo Valentin07fffd52015-09-09 20:45:25 -0700336 depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900337 depends on HAS_IOMEM
Andrew Lunn74ffa642013-02-06 06:35:26 +0000338 depends on OF
339 help
340 Support for the Dove thermal sensor driver in the Linux thermal
341 framework.
342
hongbo.zhangaa1acb02012-11-15 18:56:42 +0800343config DB8500_THERMAL
Arnd Bergmann26716ce2016-01-25 17:44:12 +0100344 tristate "DB8500 thermal management"
Linus Walleijcb063a82019-08-28 15:03:18 +0200345 depends on MFD_DB8500_PRCMU && OF
hongbo.zhangaa1acb02012-11-15 18:56:42 +0800346 default y
347 help
348 Adds DB8500 thermal management implementation according to the thermal
349 management framework. A thermal zone with several trip points will be
350 created. Cooling devices can be bound to the trip points to cool this
351 thermal zone if trip points reached.
352
Ezequiel Garciafa0d6542013-04-02 01:37:41 +0000353config ARMADA_THERMAL
Miquel Raynala9d58a12017-12-22 17:14:10 +0100354 tristate "Marvell EBU Armada SoCs thermal management"
Eduardo Valentin1b158262015-09-09 20:48:00 -0700355 depends on ARCH_MVEBU || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900356 depends on HAS_IOMEM
Ezequiel Garciafa0d6542013-04-02 01:37:41 +0000357 depends on OF
358 help
359 Enable this option if you want to have support for thermal management
Miquel Raynala9d58a12017-12-22 17:14:10 +0100360 controller present in Marvell EBU Armada SoCs (370,375,XP,38x,7K,8K).
Ezequiel Garciafa0d6542013-04-02 01:37:41 +0000361
Steve Twiss608567a2017-03-28 15:43:33 +0100362config DA9062_THERMAL
363 tristate "DA9062/DA9061 Dialog Semiconductor thermal driver"
364 depends on MFD_DA9062 || COMPILE_TEST
365 depends on OF
366 help
367 Enable this for the Dialog Semiconductor thermal sensor driver.
368 This will report PMIC junction over-temperature for one thermal trip
369 zone.
370 Compatible with the DA9062 and DA9061 PMICs.
371
Sascha Hauera92db1c2015-11-30 12:42:32 +0100372config MTK_THERMAL
373 tristate "Temperature sensor driver for mediatek SoCs"
374 depends on ARCH_MEDIATEK || COMPILE_TEST
Eduardo Valentin74e50532016-03-08 13:32:48 -0800375 depends on HAS_IOMEM
Randy Dunlap62e14f62016-04-19 09:44:23 -0700376 depends on NVMEM || NVMEM=n
Johannes Berga6f48502016-04-14 15:15:20 +0200377 depends on RESET_CONTROLLER
Sascha Hauera92db1c2015-11-30 12:42:32 +0100378 default y
379 help
380 Enable this option if you want to have support for thermal management
381 controller present in Mediatek SoCs
382
Guillaume La Roque421eda12019-10-04 11:01:09 +0200383config AMLOGIC_THERMAL
384 tristate "Amlogic Thermal Support"
385 default ARCH_MESON
386 depends on OF && ARCH_MESON
387 help
388 If you say yes here you get support for Amlogic Thermal
389 for G12 SoC Family.
390
391 This driver can also be built as a module. If so, the module will
392 be called amlogic_thermal.
393
Amit Kucheria3e8c4d32018-12-07 12:25:26 +0530394menu "Intel thermal drivers"
395depends on X86 || X86_INTEL_QUARK || COMPILE_TEST
396source "drivers/thermal/intel/Kconfig"
397endmenu
398
Rafał Miłeckia94cb7e2017-04-03 17:48:29 +0200399menu "Broadcom thermal drivers"
Pramod Kumar250e2112019-01-03 14:25:33 +0530400depends on ARCH_BCM || ARCH_BRCMSTB || ARCH_BCM2835 || ARCH_BCM_IPROC || \
401 COMPILE_TEST
Rafał Miłeckia94cb7e2017-04-03 17:48:29 +0200402source "drivers/thermal/broadcom/Kconfig"
403endmenu
404
Eduardo Valentineb982002013-05-15 15:46:00 +0000405menu "Texas Instruments thermal drivers"
Eduardo Valentinec2feb42015-09-09 21:13:41 -0700406depends on ARCH_HAS_BANDGAP || COMPILE_TEST
Krzysztof Kozlowskibf82c352016-03-04 10:03:59 +0900407depends on HAS_IOMEM
Eduardo Valentineb982002013-05-15 15:46:00 +0000408source "drivers/thermal/ti-soc-thermal/Kconfig"
409endmenu
Zhang Ruif157f592013-06-18 06:31:26 +0800410
Amit Daniel Kachhapc6821372013-06-24 16:20:22 +0530411menu "Samsung thermal drivers"
Eduardo Valentin2bf42732015-09-09 20:53:35 -0700412depends on ARCH_EXYNOS || COMPILE_TEST
Amit Daniel Kachhapc6821372013-06-24 16:20:22 +0530413source "drivers/thermal/samsung/Kconfig"
414endmenu
415
Lee Jones60aef7c2014-06-05 16:06:55 +0100416menu "STMicroelectronics thermal drivers"
David HERNANDEZ SANCHEZ1d693152018-10-05 10:08:46 +0000417depends on (ARCH_STI || ARCH_STM32) && OF
Lee Jones60aef7c2014-06-05 16:06:55 +0100418source "drivers/thermal/st/Kconfig"
419endmenu
420
Marc Gonzalez0b58c082016-04-19 16:21:16 +0200421config TANGO_THERMAL
422 tristate "Tango thermal management"
423 depends on ARCH_TANGO || COMPILE_TEST
424 help
425 Enable the Tango thermal driver, which supports the primitive
426 temperature sensor embedded in Tango chips since the SMP8758.
427 This sensor only generates a 1-bit signal to indicate whether
428 the die temperature exceeds a programmable threshold.
429
Wei Nia4dff942016-03-29 18:29:11 +0800430source "drivers/thermal/tegra/Kconfig"
431
Laxman Dewanganb3aef782016-04-19 12:52:01 +0530432config GENERIC_ADC_THERMAL
433 tristate "Generic ADC based thermal sensor"
434 depends on IIO
435 help
436 This enabled a thermal sysfs driver for the temperature sensor
437 which is connected to the General Purpose ADC. The ADC channel
438 is read via IIO framework and the channel information is provided
439 to this driver. This driver reports the temperature by reading ADC
440 channel and converts it to temperature based on lookup table.
441
Rajendra Nayak90660732016-05-05 14:21:39 +0530442menu "Qualcomm thermal drivers"
443depends on (ARCH_QCOM && OF) || COMPILE_TEST
444source "drivers/thermal/qcom/Kconfig"
445endmenu
446
Baoyou Xie50fdd362017-02-07 08:56:41 +0800447config ZX2967_THERMAL
448 tristate "Thermal sensors on zx2967 SoC"
449 depends on ARCH_ZX || COMPILE_TEST
450 help
451 Enable the zx2967 thermal sensors driver, which supports
452 the primitive temperature sensor embedded in zx2967 SoCs.
453 This sensor generates the real time die temperature.
454
Kunihiko Hayashi86da4392017-08-01 17:04:51 +0900455config UNIPHIER_THERMAL
456 tristate "Socionext UniPhier thermal driver"
457 depends on ARCH_UNIPHIER || COMPILE_TEST
458 depends on THERMAL_OF && MFD_SYSCON
459 help
460 Enable this to plug in UniPhier on-chip PVT thermal driver into the
461 thermal framework. The driver supports CPU thermal zone temperature
462 reporting and a couple of trip points.
Zhang Rui72e19892012-11-15 09:16:20 +0800463endif