Merge branch 'acpi-video'
[linux-drm-fsl-dcu.git] / drivers / thermal / Kconfig
1 #
2 # Generic thermal sysfs drivers configuration
3 #
4
5 menuconfig THERMAL
6         tristate "Generic Thermal sysfs driver"
7         help
8           Generic Thermal Sysfs driver offers a generic mechanism for
9           thermal management. Usually it's made up of one or more thermal
10           zone and cooling device.
11           Each thermal zone contains its own temperature, trip points,
12           cooling devices.
13           All platforms with ACPI thermal support can use this driver.
14           If you want this support, you should say Y or M here.
15
16 if THERMAL
17
18 config THERMAL_HWMON
19         bool
20         prompt "Expose thermal sensors as hwmon device"
21         depends on HWMON=y || HWMON=THERMAL
22         default y
23         help
24           In case a sensor is registered with the thermal
25           framework, this option will also register it
26           as a hwmon. The sensor will then have the common
27           hwmon sysfs interface.
28
29           Say 'Y' here if you want all thermal sensors to
30           have hwmon sysfs interface too.
31
32 choice
33         prompt "Default Thermal governor"
34         default THERMAL_DEFAULT_GOV_STEP_WISE
35         help
36           This option sets which thermal governor shall be loaded at
37           startup. If in doubt, select 'step_wise'.
38
39 config THERMAL_DEFAULT_GOV_STEP_WISE
40         bool "step_wise"
41         select THERMAL_GOV_STEP_WISE
42         help
43           Use the step_wise governor as default. This throttles the
44           devices one step at a time.
45
46 config THERMAL_DEFAULT_GOV_FAIR_SHARE
47         bool "fair_share"
48         select THERMAL_GOV_FAIR_SHARE
49         help
50           Use the fair_share governor as default. This throttles the
51           devices based on their 'contribution' to a zone. The
52           contribution should be provided through platform data.
53
54 config THERMAL_DEFAULT_GOV_USER_SPACE
55         bool "user_space"
56         select THERMAL_GOV_USER_SPACE
57         help
58           Select this if you want to let the user space manage the
59           lpatform thermals.
60
61 endchoice
62
63 config THERMAL_GOV_FAIR_SHARE
64         bool "Fair-share thermal governor"
65         help
66           Enable this to manage platform thermals using fair-share governor.
67
68 config THERMAL_GOV_STEP_WISE
69         bool "Step_wise thermal governor"
70         help
71           Enable this to manage platform thermals using a simple linear
72
73 config THERMAL_GOV_USER_SPACE
74         bool "User_space thermal governor"
75         help
76           Enable this to let the user space manage the platform thermals.
77
78 config CPU_THERMAL
79         bool "generic cpu cooling support"
80         depends on CPU_FREQ
81         help
82           This implements the generic cpu cooling mechanism through frequency
83           reduction. An ACPI version of this already exists
84           (drivers/acpi/processor_thermal.c).
85           This will be useful for platforms using the generic thermal interface
86           and not the ACPI interface.
87
88           If you want this support, you should say Y here.
89
90 config THERMAL_EMULATION
91         bool "Thermal emulation mode support"
92         help
93           Enable this option to make a emul_temp sysfs node in thermal zone
94           directory to support temperature emulation. With emulation sysfs node,
95           user can manually input temperature and test the different trip
96           threshold behaviour for simulation purpose.
97
98           WARNING: Be careful while enabling this option on production systems,
99           because userland can easily disable the thermal policy by simply
100           flooding this sysfs node with low temperature values.
101
102 config IMX_THERMAL
103         tristate "Temperature sensor driver for Freescale i.MX SoCs"
104         depends on CPU_THERMAL
105         depends on MFD_SYSCON
106         depends on OF
107         help
108           Support for Temperature Monitor (TEMPMON) found on Freescale i.MX SoCs.
109           It supports one critical trip point and one passive trip point.  The
110           cpufreq is used as the cooling device to throttle CPUs when the
111           passive trip is crossed.
112
113 config SPEAR_THERMAL
114         bool "SPEAr thermal sensor driver"
115         depends on PLAT_SPEAR
116         depends on OF
117         help
118           Enable this to plug the SPEAr thermal sensor driver into the Linux
119           thermal framework
120
121 config RCAR_THERMAL
122         tristate "Renesas R-Car thermal driver"
123         depends on ARCH_SHMOBILE
124         help
125           Enable this to plug the R-Car thermal sensor driver into the Linux
126           thermal framework
127
128 config KIRKWOOD_THERMAL
129         tristate "Temperature sensor on Marvell Kirkwood SoCs"
130         depends on ARCH_KIRKWOOD
131         depends on OF
132         help
133           Support for the Kirkwood thermal sensor driver into the Linux thermal
134           framework. Only kirkwood 88F6282 and 88F6283 have this sensor.
135
136 config DOVE_THERMAL
137         tristate "Temperature sensor on Marvell Dove SoCs"
138         depends on ARCH_DOVE
139         depends on OF
140         help
141           Support for the Dove thermal sensor driver in the Linux thermal
142           framework.
143
144 config DB8500_THERMAL
145         bool "DB8500 thermal management"
146         depends on ARCH_U8500
147         default y
148         help
149           Adds DB8500 thermal management implementation according to the thermal
150           management framework. A thermal zone with several trip points will be
151           created. Cooling devices can be bound to the trip points to cool this
152           thermal zone if trip points reached.
153
154 config ARMADA_THERMAL
155         tristate "Armada 370/XP thermal management"
156         depends on ARCH_MVEBU
157         depends on OF
158         help
159           Enable this option if you want to have support for thermal management
160           controller present in Armada 370 and Armada XP SoC.
161
162 config DB8500_CPUFREQ_COOLING
163         tristate "DB8500 cpufreq cooling"
164         depends on ARCH_U8500
165         depends on CPU_THERMAL
166         default y
167         help
168           Adds DB8500 cpufreq cooling devices, and these cooling devices can be
169           bound to thermal zone trip points. When a trip point reached, the
170           bound cpufreq cooling device turns active to set CPU frequency low to
171           cool down the CPU.
172
173 config INTEL_POWERCLAMP
174         tristate "Intel PowerClamp idle injection driver"
175         depends on THERMAL
176         depends on X86
177         depends on CPU_SUP_INTEL
178         help
179           Enable this to enable Intel PowerClamp idle injection driver. This
180           enforce idle time which results in more package C-state residency. The
181           user interface is exposed via generic thermal framework.
182
183 config X86_PKG_TEMP_THERMAL
184         tristate "X86 package temperature thermal driver"
185         depends on X86_THERMAL_VECTOR
186         select THERMAL_GOV_USER_SPACE
187         default m
188         help
189           Enable this to register CPU digital sensor for package temperature as
190           thermal zone. Each package will have its own thermal zone. There are
191           two trip points which can be set by user to get notifications via thermal
192           notification methods.
193
194 menu "Texas Instruments thermal drivers"
195 source "drivers/thermal/ti-soc-thermal/Kconfig"
196 endmenu
197
198 menu "Samsung thermal drivers"
199 depends on PLAT_SAMSUNG
200 source "drivers/thermal/samsung/Kconfig"
201 endmenu
202
203 endif