]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - drivers/thermal/Kconfig
cpufreq: remove CONFIG_CPU_FREQ_TABLE
[mirror_ubuntu-artful-kernel.git] / drivers / thermal / Kconfig
CommitLineData
203d3d4a
ZR
1#
2# Generic thermal sysfs drivers configuration
3#
4
5menuconfig THERMAL
63c4ec90 6 tristate "Generic Thermal sysfs driver"
203d3d4a
ZR
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.
543a9561 11 Each thermal zone contains its own temperature, trip points,
203d3d4a
ZR
12 cooling devices.
13 All platforms with ACPI thermal support can use this driver.
63c4ec90 14 If you want this support, you should say Y or M here.
16d75239 15
72e19897
ZR
16if THERMAL
17
16d75239 18config THERMAL_HWMON
ab92402a 19 bool
0dd88793 20 prompt "Expose thermal sensors as hwmon device"
16d75239 21 depends on HWMON=y || HWMON=THERMAL
ab92402a 22 default y
0dd88793
EV
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.
6a92c366 31
72e19897
ZR
32choice
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
39config THERMAL_DEFAULT_GOV_STEP_WISE
40 bool "step_wise"
9d185d04 41 select THERMAL_GOV_STEP_WISE
72e19897
ZR
42 help
43 Use the step_wise governor as default. This throttles the
44 devices one step at a time.
45
46config THERMAL_DEFAULT_GOV_FAIR_SHARE
47 bool "fair_share"
9d185d04 48 select THERMAL_GOV_FAIR_SHARE
72e19897
ZR
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
54config THERMAL_DEFAULT_GOV_USER_SPACE
55 bool "user_space"
9d185d04 56 select THERMAL_GOV_USER_SPACE
72e19897
ZR
57 help
58 Select this if you want to let the user space manage the
59 lpatform thermals.
60
61endchoice
62
9d185d04 63config THERMAL_GOV_FAIR_SHARE
72e19897
ZR
64 bool "Fair-share thermal governor"
65 help
66 Enable this to manage platform thermals using fair-share governor.
67
9d185d04 68config THERMAL_GOV_STEP_WISE
72e19897
ZR
69 bool "Step_wise thermal governor"
70 help
71 Enable this to manage platform thermals using a simple linear
72
9d185d04 73config THERMAL_GOV_USER_SPACE
72e19897
ZR
74 bool "User_space thermal governor"
75 help
76 Enable this to let the user space manage the platform thermals.
77
02361418 78config CPU_THERMAL
bbf7fc88 79 bool "generic cpu cooling support"
72e19897 80 depends on CPU_FREQ
02361418
ADK
81 help
82 This implements the generic cpu cooling mechanism through frequency
f7188b3d
EV
83 reduction. An ACPI version of this already exists
84 (drivers/acpi/processor_thermal.c).
02361418
ADK
85 This will be useful for platforms using the generic thermal interface
86 and not the ACPI interface.
f7188b3d 87
02361418
ADK
88 If you want this support, you should say Y here.
89
e6e238c3
ADK
90config 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
8837295a
EV
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
ca3de46b
SG
102config 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
6a92c366
VF
113config SPEAR_THERMAL
114 bool "SPEAr thermal sensor driver"
6a92c366 115 depends on PLAT_SPEAR
b9c7aff4 116 depends on OF
6a92c366
VF
117 help
118 Enable this to plug the SPEAr thermal sensor driver into the Linux
119 thermal framework
1e426ffd
KM
120
121config RCAR_THERMAL
122 tristate "Renesas R-Car thermal driver"
1e426ffd
KM
123 depends on ARCH_SHMOBILE
124 help
125 Enable this to plug the R-Car thermal sensor driver into the Linux
126 thermal framework
c48cbba6 127
7060aa36
NI
128config 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
74ffa64c
AL
136config 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
aa1acb04 144config 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
fa0d654c
EG
154config 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
aa1acb04 162config 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.
a56757af 172
d6d71ee4
JP
173config 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
f1a18a10
SP
183config X86_PKG_TEMP_THERMAL
184 tristate "X86 package temperature thermal driver"
b3ba0206 185 depends on X86_THERMAL_VECTOR
f1a18a10
SP
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
eb982001
EV
194menu "Texas Instruments thermal drivers"
195source "drivers/thermal/ti-soc-thermal/Kconfig"
196endmenu
f157f596 197
c6821378
ADK
198menu "Samsung thermal drivers"
199depends on PLAT_SAMSUNG
200source "drivers/thermal/samsung/Kconfig"
201endmenu
202
72e19897 203endif