blob: b2d2f74a8e475d509c68bfd2cc7f40b62bf7bca7 [file] [log] [blame]
Zhang Rui203d3d42008-01-17 15:51:08 +08001#
2# Generic thermal sysfs drivers configuration
3#
4
5menuconfig THERMAL
Zhang Rui63c4ec92008-04-21 16:07:13 +08006 tristate "Generic Thermal sysfs driver"
Zhang Rui203d3d42008-01-17 15:51:08 +08007 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.
Len Brown543a9562008-02-07 16:55:08 -050011 Each thermal zone contains its own temperature, trip points,
Zhang Rui203d3d42008-01-17 15:51:08 +080012 cooling devices.
13 All platforms with ACPI thermal support can use this driver.
Zhang Rui63c4ec92008-04-21 16:07:13 +080014 If you want this support, you should say Y or M here.
Rene Herman16d75232008-06-24 19:38:56 +020015
16config THERMAL_HWMON
Jean Delvareab924022011-07-28 13:48:40 -070017 bool
Jan Beulichdf431762009-09-18 12:41:10 -070018 depends on THERMAL
Rene Herman16d75232008-06-24 19:38:56 +020019 depends on HWMON=y || HWMON=THERMAL
Jean Delvareab924022011-07-28 13:48:40 -070020 default y
Vincenzo Frascino6a92c362012-03-21 12:55:03 -070021
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070022config THERMAL_MSM_POPMEM
23 tristate "Qualcomm MSM POP memory temperature sensor"
24 depends on THERMAL
25 default n
26 help
27 This enables a thermal sysfs driver for MSM POP memory. It shows up in
28 sysfs as a thermal zone with one trip point. Due to hardware
29 limitations, the temperatures are reported as "Low Temperature" (20 C)
30 "Normal Temperature" (50 C) and "Out of Spec High Temperature" (85 C).
31 This driver is designed to be used in conjunction with a user space
32 application to make all policy decisions.
33
34config THERMAL_TSENS
35 tristate "Qualcomm Tsens Temperature Alarm"
36 depends on THERMAL
37 default n
38 help
39 This enables the thermal sysfs driver for the Tsens device. It shows
40 up in Sysfs as a thermal zone with mutiple trip points. Disabling the
41 thermal zone device via the mode file results in disabling the sensor.
42 Also able to set threshold temperature for both hot and cold and update
43 when a threshold is reached.
44
Siddartha Mohanadossacd24262011-08-18 11:19:00 -070045config THERMAL_TSENS8960
46 tristate "Qualcomm 8960 Tsens Temperature Alarm"
47 depends on THERMAL
48 help
49 This enables the thermal sysfs driver for the Tsens device. It shows
50 up in Sysfs as a thermal zone with mutiple trip points. Disabling the
51 thermal zone device via the mode file results in disabling the sensor.
52 Also able to set threshold temperature for both hot and cold and update
53 when a threshold is reached.
54
Siddartha Mohanadoss05a6e382012-05-14 15:13:37 -070055config THERMAL_TSENS8974
56 tristate "Qualcomm 8974 TSENS Temperature driver"
57 depends on THERMAL
58 help
59 This enables the thermal sysfs driver for the TSENS device. It shows
60 up in Sysfs as a thermal zone with multiple trip points. Also able
61 to set threshold temperature for both warm and cool and update
62 thermal userspace client when a threshold is reached. Warm/Cool
63 temperature thresholds can be set independently for each sensor.
64
Bryan Huntsman3f2bc4d2011-08-16 17:27:22 -070065config THERMAL_PM8XXX
66 tristate "Qualcomm PMIC PM8xxx Temperature Alarm"
67 depends on THERMAL
68 depends on MFD_PM8XXX
69 help
70 This enables a thermal Sysfs driver for the PMIC PM8xxx devices. It
71 shows up in Sysfs as a thermal zone with multiple trip points.
72 Enabling the thermal zone device via the mode file results in
73 shifting over temperature shutdown control of the PMIC from hardware
74 to software.
Praveen Chidambaramf248bb72012-01-20 11:38:44 -070075
76config THERMAL_MONITOR
77 bool "Monitor thermal state and limit CPU Frequency"
78 depends on THERMAL_TSENS8960
Praveen Chidambaram91814362012-05-25 17:36:07 -060079 depends on CPU_FREQ_MSM
Praveen Chidambaramf248bb72012-01-20 11:38:44 -070080 default n
81 help
82 This enables thermal monitoring capability in the kernel in the
83 absence of a system wide thermal monitoring entity or until such an
84 entity starts running in the userspace. Monitors TSENS temperature
85 and limits the max frequency of the cores.
Steve Mucklef132c6c2012-06-06 18:30:57 -070086
Vincenzo Frascino6a92c362012-03-21 12:55:03 -070087config SPEAR_THERMAL
88 bool "SPEAr thermal sensor driver"
89 depends on THERMAL
90 depends on PLAT_SPEAR
91 help
92 Enable this to plug the SPEAr thermal sensor driver into the Linux
93 thermal framework