aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/thermal/sysfs-api.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/thermal/sysfs-api.txt b/Documentation/thermal/sysfs-api.txt
index 526d4b90d6c1..6859661c9d31 100644
--- a/Documentation/thermal/sysfs-api.txt
+++ b/Documentation/thermal/sysfs-api.txt
@@ -55,6 +55,8 @@ temperature) and throttle appropriate devices.
55 .get_trip_type: get the type of certain trip point. 55 .get_trip_type: get the type of certain trip point.
56 .get_trip_temp: get the temperature above which the certain trip point 56 .get_trip_temp: get the temperature above which the certain trip point
57 will be fired. 57 will be fired.
58 .set_emul_temp: set the emulation temperature which helps in debugging
59 different threshold temperature points.
58 60
591.1.2 void thermal_zone_device_unregister(struct thermal_zone_device *tz) 611.1.2 void thermal_zone_device_unregister(struct thermal_zone_device *tz)
60 62
@@ -153,6 +155,7 @@ Thermal zone device sys I/F, created once it's registered:
153 |---trip_point_[0-*]_temp: Trip point temperature 155 |---trip_point_[0-*]_temp: Trip point temperature
154 |---trip_point_[0-*]_type: Trip point type 156 |---trip_point_[0-*]_type: Trip point type
155 |---trip_point_[0-*]_hyst: Hysteresis value for this trip point 157 |---trip_point_[0-*]_hyst: Hysteresis value for this trip point
158 |---emul_temp: Emulated temperature set node
156 159
157Thermal cooling device sys I/F, created once it's registered: 160Thermal cooling device sys I/F, created once it's registered:
158/sys/class/thermal/cooling_device[0-*]: 161/sys/class/thermal/cooling_device[0-*]:
@@ -252,6 +255,16 @@ passive
252 Valid values: 0 (disabled) or greater than 1000 255 Valid values: 0 (disabled) or greater than 1000
253 RW, Optional 256 RW, Optional
254 257
258emul_temp
259 Interface to set the emulated temperature method in thermal zone
260 (sensor). After setting this temperature, the thermal zone may pass
261 this temperature to platform emulation function if registered or
262 cache it locally. This is useful in debugging different temperature
263 threshold and its associated cooling action. This is write only node
264 and writing 0 on this node should disable emulation.
265 Unit: millidegree Celsius
266 WO, Optional
267
255***************************** 268*****************************
256* Cooling device attributes * 269* Cooling device attributes *
257***************************** 270*****************************