xref: /linux/drivers/thermal/Kconfig (revision a4e893e802e6a807df2e2f3f660f7399bc7e104e)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
2203d3d4aSZhang Rui#
3203d3d4aSZhang Rui# Generic thermal sysfs drivers configuration
4203d3d4aSZhang Rui#
5203d3d4aSZhang Rui
6203d3d4aSZhang Ruimenuconfig THERMAL
7554b3529SDaniel Lezcano	bool "Generic Thermal sysfs driver"
8203d3d4aSZhang Rui	help
9203d3d4aSZhang Rui	  Generic Thermal Sysfs driver offers a generic mechanism for
10203d3d4aSZhang Rui	  thermal management. Usually it's made up of one or more thermal
11203d3d4aSZhang Rui	  zone and cooling device.
12543a9561SLen Brown	  Each thermal zone contains its own temperature, trip points,
13203d3d4aSZhang Rui	  cooling devices.
14203d3d4aSZhang Rui	  All platforms with ACPI thermal support can use this driver.
15554b3529SDaniel Lezcano	  If you want this support, you should say Y here.
1616d75239SRene Herman
1772e19897SZhang Ruiif THERMAL
1872e19897SZhang Rui
198ea22951SViresh Kumarconfig THERMAL_STATISTICS
208ea22951SViresh Kumar	bool "Thermal state transition statistics"
218ea22951SViresh Kumar	help
228ea22951SViresh Kumar	  Export thermal state transition statistics information through sysfs.
238ea22951SViresh Kumar
248ea22951SViresh Kumar	  If in doubt, say N.
258ea22951SViresh Kumar
26ef1d87e0SKeerthyconfig THERMAL_EMERGENCY_POWEROFF_DELAY_MS
27ef1d87e0SKeerthy	int "Emergency poweroff delay in milli-seconds"
28ef1d87e0SKeerthy	default 0
29ef1d87e0SKeerthy	help
30ef1d87e0SKeerthy	  Thermal subsystem will issue a graceful shutdown when
31ef1d87e0SKeerthy	  critical temperatures are reached using orderly_poweroff(). In
32ef1d87e0SKeerthy	  case of failure of an orderly_poweroff(), the thermal emergency
33ef1d87e0SKeerthy	  poweroff kicks in after a delay has elapsed and shuts down the system.
34ef1d87e0SKeerthy	  This config is number of milliseconds to delay before emergency
35ef1d87e0SKeerthy	  poweroff kicks in. Similarly to the critical trip point,
36ef1d87e0SKeerthy	  the delay should be carefully profiled so as to give adequate
37ef1d87e0SKeerthy	  time for orderly_poweroff() to finish on regular execution.
38ef1d87e0SKeerthy	  If set to 0 emergency poweroff will not be supported.
39ef1d87e0SKeerthy
40ef1d87e0SKeerthy	  In doubt, leave as 0.
41ef1d87e0SKeerthy
4216d75239SRene Hermanconfig THERMAL_HWMON
43ab92402aSJean Delvare	bool
440dd88793SEduardo Valentin	prompt "Expose thermal sensors as hwmon device"
4516d75239SRene Herman	depends on HWMON=y || HWMON=THERMAL
46ab92402aSJean Delvare	default y
470dd88793SEduardo Valentin	help
480dd88793SEduardo Valentin	  In case a sensor is registered with the thermal
490dd88793SEduardo Valentin	  framework, this option will also register it
500dd88793SEduardo Valentin	  as a hwmon. The sensor will then have the common
510dd88793SEduardo Valentin	  hwmon sysfs interface.
520dd88793SEduardo Valentin
530dd88793SEduardo Valentin	  Say 'Y' here if you want all thermal sensors to
540dd88793SEduardo Valentin	  have hwmon sysfs interface too.
556a92c366SVincenzo Frascino
564e5e4705SEduardo Valentinconfig THERMAL_OF
574e5e4705SEduardo Valentin	bool
584e5e4705SEduardo Valentin	prompt "APIs to parse thermal data out of device tree"
594e5e4705SEduardo Valentin	depends on OF
604e5e4705SEduardo Valentin	default y
614e5e4705SEduardo Valentin	help
624e5e4705SEduardo Valentin	  This options provides helpers to add the support to
634e5e4705SEduardo Valentin	  read and parse thermal data definitions out of the
644e5e4705SEduardo Valentin	  device tree blob.
654e5e4705SEduardo Valentin
664e5e4705SEduardo Valentin	  Say 'Y' here if you need to build thermal infrastructure
674e5e4705SEduardo Valentin	  based on device tree.
684e5e4705SEduardo Valentin
6935e94644SPunit Agrawalconfig THERMAL_WRITABLE_TRIPS
7035e94644SPunit Agrawal	bool "Enable writable trip points"
7135e94644SPunit Agrawal	help
7235e94644SPunit Agrawal	  This option allows the system integrator to choose whether
7335e94644SPunit Agrawal	  trip temperatures can be changed from userspace. The
7435e94644SPunit Agrawal	  writable trips need to be specified when setting up the
7535e94644SPunit Agrawal	  thermal zone but the choice here takes precedence.
7635e94644SPunit Agrawal
7735e94644SPunit Agrawal	  Say 'Y' here if you would like to allow userspace tools to
7835e94644SPunit Agrawal	  change trip temperatures.
7935e94644SPunit Agrawal
80a56757afSDurgadoss Rchoice
81a56757afSDurgadoss R	prompt "Default Thermal governor"
82a56757afSDurgadoss R	default THERMAL_DEFAULT_GOV_STEP_WISE
83a56757afSDurgadoss R	help
84a56757afSDurgadoss R	  This option sets which thermal governor shall be loaded at
85a56757afSDurgadoss R	  startup. If in doubt, select 'step_wise'.
86a56757afSDurgadoss R
87a56757afSDurgadoss Rconfig THERMAL_DEFAULT_GOV_STEP_WISE
88a56757afSDurgadoss R	bool "step_wise"
899d185d04SZhang Rui	select THERMAL_GOV_STEP_WISE
90a56757afSDurgadoss R	help
91a56757afSDurgadoss R	  Use the step_wise governor as default. This throttles the
92a56757afSDurgadoss R	  devices one step at a time.
93a56757afSDurgadoss R
94a56757afSDurgadoss Rconfig THERMAL_DEFAULT_GOV_FAIR_SHARE
95a56757afSDurgadoss R	bool "fair_share"
969d185d04SZhang Rui	select THERMAL_GOV_FAIR_SHARE
97a56757afSDurgadoss R	help
98a56757afSDurgadoss R	  Use the fair_share governor as default. This throttles the
99a56757afSDurgadoss R	  devices based on their 'contribution' to a zone. The
100a56757afSDurgadoss R	  contribution should be provided through platform data.
101a56757afSDurgadoss R
102a56757afSDurgadoss Rconfig THERMAL_DEFAULT_GOV_USER_SPACE
103a56757afSDurgadoss R	bool "user_space"
1049d185d04SZhang Rui	select THERMAL_GOV_USER_SPACE
105a56757afSDurgadoss R	help
106a56757afSDurgadoss R	  Select this if you want to let the user space manage the
107ece238feSRegid Ichira	  platform thermals.
10872e19897SZhang Rui
1096b775e87SJavi Merinoconfig THERMAL_DEFAULT_GOV_POWER_ALLOCATOR
1106b775e87SJavi Merino	bool "power_allocator"
1116b775e87SJavi Merino	select THERMAL_GOV_POWER_ALLOCATOR
1126b775e87SJavi Merino	help
1136b775e87SJavi Merino	  Select this if you want to control temperature based on
1146b775e87SJavi Merino	  system and device power allocation. This governor can only
1156b775e87SJavi Merino	  operate on cooling devices that implement the power API.
1166b775e87SJavi Merino
117a56757afSDurgadoss Rendchoice
11872e19897SZhang Rui
1199d185d04SZhang Ruiconfig THERMAL_GOV_FAIR_SHARE
12072e19897SZhang Rui	bool "Fair-share thermal governor"
12172e19897SZhang Rui	help
12272e19897SZhang Rui	  Enable this to manage platform thermals using fair-share governor.
12372e19897SZhang Rui
1249d185d04SZhang Ruiconfig THERMAL_GOV_STEP_WISE
12572e19897SZhang Rui	bool "Step_wise thermal governor"
12672e19897SZhang Rui	help
12772e19897SZhang Rui	  Enable this to manage platform thermals using a simple linear
128a8227948SLuka Perkov	  governor.
12972e19897SZhang Rui
130e4dbf98fSPeter Feuererconfig THERMAL_GOV_BANG_BANG
131e4dbf98fSPeter Feuerer	bool "Bang Bang thermal governor"
132e4dbf98fSPeter Feuerer	default n
133e4dbf98fSPeter Feuerer	help
134e4dbf98fSPeter Feuerer	  Enable this to manage platform thermals using bang bang governor.
135e4dbf98fSPeter Feuerer
136e4dbf98fSPeter Feuerer	  Say 'Y' here if you want to use two point temperature regulation
137e4dbf98fSPeter Feuerer	  used for fans without throttling.  Some fan drivers depend on this
138e4dbf98fSPeter Feuerer	  governor to be enabled (e.g. acerhdf).
139e4dbf98fSPeter Feuerer
1409d185d04SZhang Ruiconfig THERMAL_GOV_USER_SPACE
14172e19897SZhang Rui	bool "User_space thermal governor"
14272e19897SZhang Rui	help
14372e19897SZhang Rui	  Enable this to let the user space manage the platform thermals.
14472e19897SZhang Rui
1456b775e87SJavi Merinoconfig THERMAL_GOV_POWER_ALLOCATOR
1466b775e87SJavi Merino	bool "Power allocator thermal governor"
147*a4e893e8SQuentin Perret	depends on ENERGY_MODEL
1486b775e87SJavi Merino	help
1496b775e87SJavi Merino	  Enable this to manage platform thermals by dynamically
1506b775e87SJavi Merino	  allocating and limiting power to devices.
1516b775e87SJavi Merino
15272e19897SZhang Ruiconfig CPU_THERMAL
1532e31c856SDaniel Lezcano	bool "Generic cpu cooling support"
15472e19897SZhang Rui	depends on CPU_FREQ
15539d99cffSEduardo Valentin	depends on THERMAL_OF
15672e19897SZhang Rui	help
15772e19897SZhang Rui	  This implements the generic cpu cooling mechanism through frequency
158f7188b3dSEduardo Valentin	  reduction. An ACPI version of this already exists
159f7188b3dSEduardo Valentin	  (drivers/acpi/processor_thermal.c).
16072e19897SZhang Rui	  This will be useful for platforms using the generic thermal interface
16172e19897SZhang Rui	  and not the ACPI interface.
162f7188b3dSEduardo Valentin
16372e19897SZhang Rui	  If you want this support, you should say Y here.
16472e19897SZhang Rui
165f9df89d8SEduardo Valentinconfig CLOCK_THERMAL
166f9df89d8SEduardo Valentin	bool "Generic clock cooling support"
167f9df89d8SEduardo Valentin	depends on COMMON_CLK
168f9df89d8SEduardo Valentin	depends on PM_OPP
169f9df89d8SEduardo Valentin	help
170f9df89d8SEduardo Valentin	  This entry implements the generic clock cooling mechanism through
171f9df89d8SEduardo Valentin	  frequency clipping. Typically used to cool off co-processors. The
172f9df89d8SEduardo Valentin	  device that is configured to use this cooling mechanism will be
173f9df89d8SEduardo Valentin	  controlled to reduce clock frequency whenever temperature is high.
174f9df89d8SEduardo Valentin
175a76caf55SØrjan Eideconfig DEVFREQ_THERMAL
176a76caf55SØrjan Eide	bool "Generic device cooling support"
177a76caf55SØrjan Eide	depends on PM_DEVFREQ
178a76caf55SØrjan Eide	depends on PM_OPP
179a76caf55SØrjan Eide	help
180a76caf55SØrjan Eide	  This implements the generic devfreq cooling mechanism through
181a76caf55SØrjan Eide	  frequency reduction for devices using devfreq.
182a76caf55SØrjan Eide
183a76caf55SØrjan Eide	  This will throttle the device by limiting the maximum allowed DVFS
184a76caf55SØrjan Eide	  frequency corresponding to the cooling level.
185a76caf55SØrjan Eide
186a76caf55SØrjan Eide	  In order to use the power extensions of the cooling device,
187a76caf55SØrjan Eide	  devfreq should use the simple_ondemand governor.
188a76caf55SØrjan Eide
189f9df89d8SEduardo Valentin	  If you want this support, you should say Y here.
190f9df89d8SEduardo Valentin
191e6e238c3SAmit Daniel Kachhapconfig THERMAL_EMULATION
192e6e238c3SAmit Daniel Kachhap	bool "Thermal emulation mode support"
193e6e238c3SAmit Daniel Kachhap	help
194e6e238c3SAmit Daniel Kachhap	  Enable this option to make a emul_temp sysfs node in thermal zone
195e6e238c3SAmit Daniel Kachhap	  directory to support temperature emulation. With emulation sysfs node,
196e6e238c3SAmit Daniel Kachhap	  user can manually input temperature and test the different trip
197e6e238c3SAmit Daniel Kachhap	  threshold behaviour for simulation purpose.
198e6e238c3SAmit Daniel Kachhap
1998837295aSEduardo Valentin	  WARNING: Be careful while enabling this option on production systems,
2008837295aSEduardo Valentin	  because userland can easily disable the thermal policy by simply
2018837295aSEduardo Valentin	  flooding this sysfs node with low temperature values.
2028837295aSEduardo Valentin
20371aa3693STalel Shenharconfig THERMAL_MMIO
20471aa3693STalel Shenhar	tristate "Generic Thermal MMIO driver"
20571aa3693STalel Shenhar	depends on OF || COMPILE_TEST
2066ec8070bSTalel Shenhar	depends on HAS_IOMEM
20771aa3693STalel Shenhar	help
20871aa3693STalel Shenhar	  This option enables the generic thermal MMIO driver that will use
20971aa3693STalel Shenhar	  memory-mapped reads to get the temperature.  Any HW/System that
21071aa3693STalel Shenhar	  allows temperature reading by a single memory-mapped reading, be it
21171aa3693STalel Shenhar	  register or shared memory, is a potential candidate to work with this
21271aa3693STalel Shenhar	  driver.
21371aa3693STalel Shenhar
2149a5238a9Skongxinweiconfig HISI_THERMAL
2159a5238a9Skongxinwei	tristate "Hisilicon thermal driver"
216f05f4821SLeo Yan	depends on ARCH_HISI || COMPILE_TEST
217bf82c350SKrzysztof Kozlowski	depends on HAS_IOMEM
218f05f4821SLeo Yan	depends on OF
219f05f4821SLeo Yan	default y
2209a5238a9Skongxinwei	help
2219a5238a9Skongxinwei	  Enable this to plug hisilicon's thermal sensor driver into the Linux
2229a5238a9Skongxinwei	  thermal framework. cpufreq is used as the cooling device to throttle
2239a5238a9Skongxinwei	  CPUs when the passive trip is crossed.
2249a5238a9Skongxinwei
225ca3de46bSShawn Guoconfig IMX_THERMAL
226ca3de46bSShawn Guo	tristate "Temperature sensor driver for Freescale i.MX SoCs"
227c589c566SAnson Huang	depends on ARCH_MXC || COMPILE_TEST
228531fcdebSArnd Bergmann	depends on NVMEM || !NVMEM
229ca3de46bSShawn Guo	depends on MFD_SYSCON
230ca3de46bSShawn Guo	depends on OF
231ca3de46bSShawn Guo	help
232ca3de46bSShawn Guo	  Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs.
233ca3de46bSShawn Guo	  It supports one critical trip point and one passive trip point.  The
234ca3de46bSShawn Guo	  cpufreq is used as the cooling device to throttle CPUs when the
235ca3de46bSShawn Guo	  passive trip is crossed.
236ca3de46bSShawn Guo
237ec4664b3SLaxman Dewanganconfig MAX77620_THERMAL
238ec4664b3SLaxman Dewangan	tristate "Temperature sensor driver for Maxim MAX77620 PMIC"
239ec4664b3SLaxman Dewangan	depends on MFD_MAX77620
240ec4664b3SLaxman Dewangan	depends on OF
241ec4664b3SLaxman Dewangan	help
242ec4664b3SLaxman Dewangan	  Support for die junction temperature warning alarm for Maxim
243ec4664b3SLaxman Dewangan	  Semiconductor PMIC MAX77620 device. Device generates two alarm
244ec4664b3SLaxman Dewangan	  interrupts when PMIC die temperature cross the threshold of
245ec4664b3SLaxman Dewangan	  120 degC and 140 degC.
246ec4664b3SLaxman Dewangan
24743528445SJia Hongtaoconfig QORIQ_THERMAL
24843528445SJia Hongtao	tristate "QorIQ Thermal Monitoring Unit"
24943528445SJia Hongtao	depends on THERMAL_OF
25043528445SJia Hongtao	depends on HAS_IOMEM
25143528445SJia Hongtao	help
25243528445SJia Hongtao	  Support for Thermal Monitoring Unit (TMU) found on QorIQ platforms.
25343528445SJia Hongtao	  It supports one critical trip point and one passive trip point. The
25443528445SJia Hongtao	  cpufreq is used as the cooling device to throttle CPUs when the
25543528445SJia Hongtao	  passive trip is crossed.
25643528445SJia Hongtao
25772e19897SZhang Ruiconfig SPEAR_THERMAL
2584d2f1794SArnd Bergmann	tristate "SPEAr thermal sensor driver"
259aa2937b7SEduardo Valentin	depends on PLAT_SPEAR || COMPILE_TEST
260bf82c350SKrzysztof Kozlowski	depends on HAS_IOMEM
26172e19897SZhang Rui	depends on OF
26272e19897SZhang Rui	help
26372e19897SZhang Rui	  Enable this to plug the SPEAr thermal sensor driver into the Linux
264a8227948SLuka Perkov	  thermal framework.
26572e19897SZhang Rui
266cbac8f63SCaesar Wangconfig ROCKCHIP_THERMAL
267cbac8f63SCaesar Wang	tristate "Rockchip thermal driver"
268444f9b00SEduardo Valentin	depends on ARCH_ROCKCHIP || COMPILE_TEST
269cbac8f63SCaesar Wang	depends on RESET_CONTROLLER
270bf82c350SKrzysztof Kozlowski	depends on HAS_IOMEM
271cbac8f63SCaesar Wang	help
272cbac8f63SCaesar Wang	  Rockchip thermal driver provides support for Temperature sensor
273cbac8f63SCaesar Wang	  ADC (TS-ADC) found on Rockchip SoCs. It supports one critical
274cbac8f63SCaesar Wang	  trip point. Cpufreq is used as the cooling device and will throttle
275cbac8f63SCaesar Wang	  CPUs when the Temperature crosses the passive trip point.
276cbac8f63SCaesar Wang
27772e19897SZhang Ruiconfig RCAR_THERMAL
27872e19897SZhang Rui	tristate "Renesas R-Car thermal driver"
2798255e4e2SSimon Horman	depends on ARCH_RENESAS || COMPILE_TEST
280d1c8b041SRichard Weinberger	depends on HAS_IOMEM
28172e19897SZhang Rui	help
28272e19897SZhang Rui	  Enable this to plug the R-Car thermal sensor driver into the Linux
283a8227948SLuka Perkov	  thermal framework.
28472e19897SZhang Rui
285564e73d2SWolfram Sangconfig RCAR_GEN3_THERMAL
286564e73d2SWolfram Sang	tristate "Renesas R-Car Gen3 thermal driver"
287564e73d2SWolfram Sang	depends on ARCH_RENESAS || COMPILE_TEST
288564e73d2SWolfram Sang	depends on HAS_IOMEM
289564e73d2SWolfram Sang	depends on OF
290564e73d2SWolfram Sang	help
291564e73d2SWolfram Sang	  Enable this to plug the R-Car Gen3 thermal sensor driver into the Linux
292564e73d2SWolfram Sang	  thermal framework.
293564e73d2SWolfram Sang
2947060aa36SNobuhiro Iwamatsuconfig KIRKWOOD_THERMAL
2957060aa36SNobuhiro Iwamatsu	tristate "Temperature sensor on Marvell Kirkwood SoCs"
2969c8aa959SEduardo Valentin	depends on MACH_KIRKWOOD || COMPILE_TEST
297bf82c350SKrzysztof Kozlowski	depends on HAS_IOMEM
2987060aa36SNobuhiro Iwamatsu	depends on OF
2997060aa36SNobuhiro Iwamatsu	help
3007060aa36SNobuhiro Iwamatsu	  Support for the Kirkwood thermal sensor driver into the Linux thermal
3017060aa36SNobuhiro Iwamatsu	  framework. Only kirkwood 88F6282 and 88F6283 have this sensor.
3027060aa36SNobuhiro Iwamatsu
30374ffa64cSAndrew Lunnconfig DOVE_THERMAL
30474ffa64cSAndrew Lunn	tristate "Temperature sensor on Marvell Dove SoCs"
30507fffd5cSEduardo Valentin	depends on ARCH_DOVE || MACH_DOVE || COMPILE_TEST
306bf82c350SKrzysztof Kozlowski	depends on HAS_IOMEM
30774ffa64cSAndrew Lunn	depends on OF
30874ffa64cSAndrew Lunn	help
30974ffa64cSAndrew Lunn	  Support for the Dove thermal sensor driver in the Linux thermal
31074ffa64cSAndrew Lunn	  framework.
31174ffa64cSAndrew Lunn
312aa1acb04Shongbo.zhangconfig DB8500_THERMAL
31326716ce1SArnd Bergmann	tristate "DB8500 thermal management"
314cb063a83SLinus Walleij	depends on MFD_DB8500_PRCMU && OF
315aa1acb04Shongbo.zhang	default y
316aa1acb04Shongbo.zhang	help
317aa1acb04Shongbo.zhang	  Adds DB8500 thermal management implementation according to the thermal
318aa1acb04Shongbo.zhang	  management framework. A thermal zone with several trip points will be
319aa1acb04Shongbo.zhang	  created. Cooling devices can be bound to the trip points to cool this
320aa1acb04Shongbo.zhang	  thermal zone if trip points reached.
321aa1acb04Shongbo.zhang
322fa0d654cSEzequiel Garciaconfig ARMADA_THERMAL
323a9d58a1aSMiquel Raynal	tristate "Marvell EBU Armada SoCs thermal management"
3241b158267SEduardo Valentin	depends on ARCH_MVEBU || COMPILE_TEST
325bf82c350SKrzysztof Kozlowski	depends on HAS_IOMEM
326fa0d654cSEzequiel Garcia	depends on OF
327fa0d654cSEzequiel Garcia	help
328fa0d654cSEzequiel Garcia	  Enable this option if you want to have support for thermal management
329a9d58a1aSMiquel Raynal	  controller present in Marvell EBU Armada SoCs (370,375,XP,38x,7K,8K).
330fa0d654cSEzequiel Garcia
331608567aaSSteve Twissconfig DA9062_THERMAL
332608567aaSSteve Twiss	tristate "DA9062/DA9061 Dialog Semiconductor thermal driver"
333608567aaSSteve Twiss	depends on MFD_DA9062 || COMPILE_TEST
334608567aaSSteve Twiss	depends on OF
335608567aaSSteve Twiss	help
336608567aaSSteve Twiss	  Enable this for the Dialog Semiconductor thermal sensor driver.
337608567aaSSteve Twiss	  This will report PMIC junction over-temperature for one thermal trip
338608567aaSSteve Twiss	  zone.
339608567aaSSteve Twiss	  Compatible with the DA9062 and DA9061 PMICs.
340608567aaSSteve Twiss
341a92db1c8SSascha Hauerconfig MTK_THERMAL
342a92db1c8SSascha Hauer	tristate "Temperature sensor driver for mediatek SoCs"
343a92db1c8SSascha Hauer	depends on ARCH_MEDIATEK || COMPILE_TEST
34474e5053cSEduardo Valentin	depends on HAS_IOMEM
34562e14f6fSRandy Dunlap	depends on NVMEM || NVMEM=n
346a6f4850dSJohannes Berg	depends on RESET_CONTROLLER
347a92db1c8SSascha Hauer	default y
348a92db1c8SSascha Hauer	help
349a92db1c8SSascha Hauer	  Enable this option if you want to have support for thermal management
350a92db1c8SSascha Hauer	  controller present in Mediatek SoCs
351a92db1c8SSascha Hauer
352421eda10SGuillaume La Roqueconfig AMLOGIC_THERMAL
353421eda10SGuillaume La Roque	tristate "Amlogic Thermal Support"
354421eda10SGuillaume La Roque	default ARCH_MESON
355421eda10SGuillaume La Roque	depends on OF && ARCH_MESON
356421eda10SGuillaume La Roque	help
357421eda10SGuillaume La Roque	  If you say yes here you get support for Amlogic Thermal
358421eda10SGuillaume La Roque	  for G12 SoC Family.
359421eda10SGuillaume La Roque
360421eda10SGuillaume La Roque	  This driver can also be built as a module. If so, the module will
361421eda10SGuillaume La Roque	  be called amlogic_thermal.
362421eda10SGuillaume La Roque
3633e8c4d31SAmit Kucheriamenu "Intel thermal drivers"
3643e8c4d31SAmit Kucheriadepends on X86 || X86_INTEL_QUARK || COMPILE_TEST
3653e8c4d31SAmit Kucheriasource "drivers/thermal/intel/Kconfig"
3663e8c4d31SAmit Kucheriaendmenu
3673e8c4d31SAmit Kucheria
368a94cb7eeSRafał Miłeckimenu "Broadcom thermal drivers"
369250e2110SPramod Kumardepends on ARCH_BCM || ARCH_BRCMSTB || ARCH_BCM2835 || ARCH_BCM_IPROC || \
370250e2110SPramod Kumar		COMPILE_TEST
371a94cb7eeSRafał Miłeckisource "drivers/thermal/broadcom/Kconfig"
372a94cb7eeSRafał Miłeckiendmenu
373a94cb7eeSRafał Miłecki
374eb982001SEduardo Valentinmenu "Texas Instruments thermal drivers"
375ec2feb47SEduardo Valentindepends on ARCH_HAS_BANDGAP || COMPILE_TEST
376bf82c350SKrzysztof Kozlowskidepends on HAS_IOMEM
377eb982001SEduardo Valentinsource "drivers/thermal/ti-soc-thermal/Kconfig"
378eb982001SEduardo Valentinendmenu
379f157f596SZhang Rui
380c6821378SAmit Daniel Kachhapmenu "Samsung thermal drivers"
3812bf42735SEduardo Valentindepends on ARCH_EXYNOS || COMPILE_TEST
382c6821378SAmit Daniel Kachhapsource "drivers/thermal/samsung/Kconfig"
383c6821378SAmit Daniel Kachhapendmenu
384c6821378SAmit Daniel Kachhap
38560aef7ceSLee Jonesmenu "STMicroelectronics thermal drivers"
3861d693155SDavid HERNANDEZ SANCHEZdepends on (ARCH_STI || ARCH_STM32) && OF
38760aef7ceSLee Jonessource "drivers/thermal/st/Kconfig"
38860aef7ceSLee Jonesendmenu
38960aef7ceSLee Jones
3900b58c08bSMarc Gonzalezconfig TANGO_THERMAL
3910b58c08bSMarc Gonzalez	tristate "Tango thermal management"
3920b58c08bSMarc Gonzalez	depends on ARCH_TANGO || COMPILE_TEST
3930b58c08bSMarc Gonzalez	help
3940b58c08bSMarc Gonzalez	  Enable the Tango thermal driver, which supports the primitive
3950b58c08bSMarc Gonzalez	  temperature sensor embedded in Tango chips since the SMP8758.
3960b58c08bSMarc Gonzalez	  This sensor only generates a 1-bit signal to indicate whether
3970b58c08bSMarc Gonzalez	  the die temperature exceeds a programmable threshold.
3980b58c08bSMarc Gonzalez
399a4dff94fSWei Nisource "drivers/thermal/tegra/Kconfig"
400a4dff94fSWei Ni
401b3aef78fSLaxman Dewanganconfig GENERIC_ADC_THERMAL
402b3aef78fSLaxman Dewangan	tristate "Generic ADC based thermal sensor"
403b3aef78fSLaxman Dewangan	depends on IIO
404b3aef78fSLaxman Dewangan	help
405b3aef78fSLaxman Dewangan	  This enabled a thermal sysfs driver for the temperature sensor
406b3aef78fSLaxman Dewangan	  which is connected to the General Purpose ADC. The ADC channel
407b3aef78fSLaxman Dewangan	  is read via IIO framework and the channel information is provided
408b3aef78fSLaxman Dewangan	  to this driver. This driver reports the temperature by reading ADC
409b3aef78fSLaxman Dewangan	  channel and converts it to temperature based on lookup table.
410b3aef78fSLaxman Dewangan
4119066073cSRajendra Nayakmenu "Qualcomm thermal drivers"
4129066073cSRajendra Nayakdepends on (ARCH_QCOM && OF) || COMPILE_TEST
4139066073cSRajendra Nayaksource "drivers/thermal/qcom/Kconfig"
4149066073cSRajendra Nayakendmenu
4159066073cSRajendra Nayak
41650fdd36fSBaoyou Xieconfig ZX2967_THERMAL
41750fdd36fSBaoyou Xie	tristate "Thermal sensors on zx2967 SoC"
41850fdd36fSBaoyou Xie	depends on ARCH_ZX || COMPILE_TEST
41950fdd36fSBaoyou Xie	help
42050fdd36fSBaoyou Xie	  Enable the zx2967 thermal sensors driver, which supports
42150fdd36fSBaoyou Xie	  the primitive temperature sensor embedded in zx2967 SoCs.
42250fdd36fSBaoyou Xie	  This sensor generates the real time die temperature.
42350fdd36fSBaoyou Xie
42486da4391SKunihiko Hayashiconfig UNIPHIER_THERMAL
42586da4391SKunihiko Hayashi	tristate "Socionext UniPhier thermal driver"
42686da4391SKunihiko Hayashi	depends on ARCH_UNIPHIER || COMPILE_TEST
42786da4391SKunihiko Hayashi	depends on THERMAL_OF && MFD_SYSCON
42886da4391SKunihiko Hayashi	help
42986da4391SKunihiko Hayashi	  Enable this to plug in UniPhier on-chip PVT thermal driver into the
43086da4391SKunihiko Hayashi	  thermal framework. The driver supports CPU thermal zone temperature
43186da4391SKunihiko Hayashi	  reporting and a couple of trip points.
43272e19897SZhang Ruiendif
433