diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-11 15:26:08 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-07-11 15:26:08 -0400 |
commit | 8cbd0eefcaf8cc32ded2bf229f0fc379b2ad69f2 (patch) | |
tree | 08cc79685a888470509b969a2c079249ee28b69f /Documentation/thermal | |
parent | 1466b77a7be75144dee1cb09839be3435854dd0b (diff) | |
parent | e8d39240d635ed9bcaddbec898b1c9f063c5dbb2 (diff) |
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
Pull thermal management updates from Zhang Rui:
"There are not too many changes this time, except two new platform
thermal drivers, ti-soc-thermal driver and x86_pkg_temp_thermal
driver, and a couple of small fixes.
Highlights:
- move the ti-soc-thermal driver out of the staging tree to the
thermal tree.
- introduce the x86_pkg_temp_thermal driver. This driver registers
CPU digital temperature package level sensor as a thermal zone.
- small fixes/cleanups including removing redundant use of
platform_set_drvdata() and of_match_ptr for all platform thermal
drivers"
* 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux: (34 commits)
thermal: cpu_cooling: fix stub function
thermal: ti-soc-thermal: use standard GPIO DT bindings
thermal: MAINTAINERS: Add git tree path for SoC specific updates
thermal: fix x86_pkg_temp_thermal.c build and Kconfig
Thermal: Documentation for x86 package temperature thermal driver
Thermal: CPU Package temperature thermal
thermal: consider emul_temperature while computing trend
thermal: ti-soc-thermal: add DT example for DRA752 chip
thermal: ti-soc-thermal: add dra752 chip to device table
thermal: ti-soc-thermal: add thermal data for DRA752 chips
thermal: ti-soc-thermal: remove usage of IS_ERR_OR_NULL
thermal: ti-soc-thermal: freeze FSM while computing trend
thermal: ti-soc-thermal: remove external heat while extrapolating hotspot
thermal: ti-soc-thermal: update DT reference for OMAP5430
x86, mcheck, therm_throt: Process package thresholds
thermal: cpu_cooling: fix 'descend' check in get_property()
Thermal: spear: Remove redundant use of of_match_ptr
Thermal: kirkwood: Remove redundant use of of_match_ptr
Thermal: dove: Remove redundant use of of_match_ptr
Thermal: armada: Remove redundant use of of_match_ptr
...
Diffstat (limited to 'Documentation/thermal')
-rw-r--r-- | Documentation/thermal/x86_pkg_temperature_thermal | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/Documentation/thermal/x86_pkg_temperature_thermal b/Documentation/thermal/x86_pkg_temperature_thermal new file mode 100644 index 000000000000..17a3a4c0a0ca --- /dev/null +++ b/Documentation/thermal/x86_pkg_temperature_thermal | |||
@@ -0,0 +1,47 @@ | |||
1 | Kernel driver: x86_pkg_temp_thermal | ||
2 | =================== | ||
3 | |||
4 | Supported chips: | ||
5 | * x86: with package level thermal management | ||
6 | (Verify using: CPUID.06H:EAX[bit 6] =1) | ||
7 | |||
8 | Authors: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | ||
9 | |||
10 | Reference | ||
11 | --- | ||
12 | Intel® 64 and IA-32 Architectures Software Developer’s Manual (Jan, 2013): | ||
13 | Chapter 14.6: PACKAGE LEVEL THERMAL MANAGEMENT | ||
14 | |||
15 | Description | ||
16 | --------- | ||
17 | |||
18 | This driver register CPU digital temperature package level sensor as a thermal | ||
19 | zone with maximum two user mode configurable trip points. Number of trip points | ||
20 | depends on the capability of the package. Once the trip point is violated, | ||
21 | user mode can receive notification via thermal notification mechanism and can | ||
22 | take any action to control temperature. | ||
23 | |||
24 | |||
25 | Threshold management | ||
26 | -------------------- | ||
27 | Each package will register as a thermal zone under /sys/class/thermal. | ||
28 | Example: | ||
29 | /sys/class/thermal/thermal_zone1 | ||
30 | |||
31 | This contains two trip points: | ||
32 | - trip_point_0_temp | ||
33 | - trip_point_1_temp | ||
34 | |||
35 | User can set any temperature between 0 to TJ-Max temperature. Temperature units | ||
36 | are in milli-degree Celsius. Refer to "Documentation/thermal/sysfs-api.txt" for | ||
37 | thermal sys-fs details. | ||
38 | |||
39 | Any value other than 0 in these trip points, can trigger thermal notifications. | ||
40 | Setting 0, stops sending thermal notifications. | ||
41 | |||
42 | Thermal notifications: To get kobject-uevent notifications, set the thermal zone | ||
43 | policy to "user_space". For example: echo -n "user_space" > policy | ||
44 | |||
45 | |||
46 | |||
47 | |||