aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorDurgadoss R <dugardoss.r@intel.com>2012-07-24 22:10:59 -0400
committerLen Brown <len.brown@intel.com>2012-07-24 23:19:26 -0400
commit27365a6c7d64a3bba22ee62109e4a071bbd7f933 (patch)
treed8a5c1bf246171e2983b7f801b64a758fa6f62e3 /Documentation
parentc56f5c0342dfee11a1a13d2f5bb7618de5b17590 (diff)
Thermal: Add Hysteresis attributes
The Linux Thermal Framework does not support hysteresis attributes. Most thermal sensors, today, have a hysteresis value associated with trip points. This patch adds hysteresis attributes on a per-trip-point basis, to the Thermal Framework. These attributes are optionally writable. Signed-off-by: Durgadoss R <durgadoss.r@intel.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/thermal/sysfs-api.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/thermal/sysfs-api.txt b/Documentation/thermal/sysfs-api.txt
index 4c105934c599..2ba4c9bb790a 100644
--- a/Documentation/thermal/sysfs-api.txt
+++ b/Documentation/thermal/sysfs-api.txt
@@ -121,6 +121,7 @@ Thermal zone device sys I/F, created once it's registered:
121 |---mode: Working mode of the thermal zone 121 |---mode: Working mode of the thermal zone
122 |---trip_point_[0-*]_temp: Trip point temperature 122 |---trip_point_[0-*]_temp: Trip point temperature
123 |---trip_point_[0-*]_type: Trip point type 123 |---trip_point_[0-*]_type: Trip point type
124 |---trip_point_[0-*]_hyst: Hysteresis value for this trip point
124 125
125Thermal cooling device sys I/F, created once it's registered: 126Thermal cooling device sys I/F, created once it's registered:
126/sys/class/thermal/cooling_device[0-*]: 127/sys/class/thermal/cooling_device[0-*]:
@@ -190,6 +191,11 @@ trip_point_[0-*]_type
190 thermal zone. 191 thermal zone.
191 RO, Optional 192 RO, Optional
192 193
194trip_point_[0-*]_hyst
195 The hysteresis value for a trip point, represented as an integer
196 Unit: Celsius
197 RW, Optional
198
193cdev[0-*] 199cdev[0-*]
194 Sysfs link to the thermal cooling device node where the sys I/F 200 Sysfs link to the thermal cooling device node where the sys I/F
195 for cooling device throttling control represents. 201 for cooling device throttling control represents.