blob: 347d9f2c64afe67b53e2031705eed5e2ca34b0b8 [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"
Eugene Seahce52ef22012-07-12 12:40:38 -060078 depends on THERMAL_TSENS8960 || THERMAL_TSENS8974
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
David Collins88365302012-07-17 09:34:57 -070094
95config THERMAL_QPNP
96 tristate "Qualcomm Plug-and-Play PMIC Temperature Alarm"
97 depends on THERMAL
98 depends on OF
99 depends on SPMI
100 depends on OF_SPMI
101 help
102 This enables a thermal Sysfs driver for Qualcomm plug-and-play (QPNP)
103 PMIC devices. It shows up in Sysfs as a thermal zone with multiple
104 trip points. The temperature reported by the thermal zone reflects the
105 real time die temperature if an ADC is present or an estimate of the
106 temperature based upon the over temperature stage value if no ADC is
107 available. If allowed via compile time configuration; enabling the
108 thermal zone device via the mode file results in shifting PMIC over
109 temperature shutdown control from hardware to software.
Siddartha Mohanadoss31f60962012-11-27 14:11:02 -0800110
111config THERMAL_QPNP_ADC_TM
112 tristate "Qualcomm 8974 Thermal Monitor ADC Driver"
113 depends on THERMAL && SPMI
114 help
115 This enables the thermal Sysfs driver for the ADC thermal monitoring
116 device. It shows up in Sysfs as a thermal zone with multiple trip points.
117 Disabling the thermal zone device via the mode file results in disabling
118 the sensor. Also able to set threshold temperature for both hot and cold
119 and update when a threshold is reached.