Lines Matching +full:temperature +full:- +full:sensor

17 This how-to focuses on enabling new thermal zone and cooling devices to
25 inputs from thermal zone attributes (the current temperature and trip point
26 temperature) and throttle appropriate devices.
28 - `[0-*]` denotes any positive number starting from 0
29 - `[1-*]` denotes any positive number starting from 1
35 ---------------------------------
48 This interface function adds a new thermal zone device (sensor) to the
49 /sys/class/thermal folder as `thermal_zone[0-*]`. It tries to bind all the
59 thermal zone device call-backs.
65 get the current temperature of the thermal zone.
67 set the trip points window. Whenever the current temperature
69 current temperature are found.
73 set the temperature of a given trip point.
75 get the critical temperature for this thermal zone.
77 set the emulation temperature which helps in debugging
78 different threshold temperature points.
80 get the trend of most recent zone temperature changes.
109 This interface adds a new sensor to a DT thermal zone.
111 device tree and look for the zone that refer to the sensor device
112 pointed by dev->of_node as temperature providers. For the zone
113 pointing to the sensor node, the sensor will be added to the DT
119 Device node of sensor containing valid node pointer in
120 dev->of_node.
122 a sensor identifier, in case the sensor IP has more
126 passed back, when a temperature reading is needed.
132 sensor temperature. This is mandatory
133 callback provided by sensor driver.
135 temperature window. When this window is
139 sensor temperature trend.
141 sensor emulated temperature.
144 The thermal zone temperature is provided by the get_temp() function
157 This interface unregisters a sensor from a DT thermal zone which was
159 This function removes the sensor callbacks and private data from the
178 The benefit of using this interface to register sensor is that it
201 drivers for temperature calculations.
209 drivers for temperature calculations.
212 ------------------------------------
222 to /sys/class/thermal/ folder as `cooling_device[0-*]`. It tries to bind itself
230 thermal cooling devices call-backs.
249 ---------------------------
284 /sys/class/thermal/thermal_zone[0-*]:
285 |---type: Type of the thermal zone
286 |---temp: Current temperature
287 |---mode: Working mode of the thermal zone
288 |---policy: Thermal governor used for this zone
289 |---available_policies: Available thermal governors for this zone
290 |---trip_point_[0-*]_temp: Trip point temperature
291 |---trip_point_[0-*]_type: Trip point type
292 |---trip_point_[0-*]_hyst: Hysteresis value for this trip point
293 |---emul_temp: Emulated temperature set node
294 |---sustainable_power: Sustainable dissipatable power
295 |---k_po: Proportional term during temperature overshoot
296 |---k_pu: Proportional term during temperature undershoot
297 |---k_i: PID's integral term in the power allocator gov
298 |---k_d: PID's derivative term in the power allocator
299 |---integral_cutoff: Offset above which errors are accumulated
300 |---slope: Slope constant applied as linear extrapolation
301 |---offset: Offset constant applied as linear extrapolation
305 /sys/class/thermal/cooling_device[0-*]:
306 |---type: Type of the cooling device(processor/fan/...)
307 |---max_state: Maximum cooling state of the cooling device
308 |---cur_state: Current cooling state of the cooling device
309 |---stats: Directory containing cooling device's statistics
310 |---stats/reset: Writing any value resets the statistics
311 |---stats/time_in_state_ms: Time (msec) spent in various cooling states
312 |---stats/total_trans: Total number of times cooling state is changed
313 |---stats/trans_table: Cooling state transition table
321 /sys/class/thermal/thermal_zone[0-*]:
322 |---cdev[0-*]: [0-*]th cooling device in current thermal zone
323 |---cdev[0-*]_trip_point: Trip point that cdev[0-*] is associated with
324 |---cdev[0-*]_weight: Influence of the cooling device in
333 Please read Documentation/ABI/testing/sysfs-class-thermal for thermal
338 /sys/class/hwmon/hwmon[0-*]:
339 |---name: The type of the thermal zone devices
340 |---temp[1-*]_input: The current temperature of thermal zone [1-*]
341 |---temp[1-*]_critical: The critical trip point of thermal zone [1-*]
343 Please read Documentation/hwmon/sysfs-interface.rst for additional information.
361 |---type: acpitz
362 |---temp: 37000
363 |---mode: enabled
364 |---policy: step_wise
365 |---available_policies: step_wise fair_share
366 |---trip_point_0_temp: 100000
367 |---trip_point_0_type: critical
368 |---trip_point_1_temp: 80000
369 |---trip_point_1_type: passive
370 |---trip_point_2_temp: 70000
371 |---trip_point_2_type: active0
372 |---trip_point_3_temp: 60000
373 |---trip_point_3_type: active1
374 |---cdev0: --->/sys/class/thermal/cooling_device0
375 |---cdev0_trip_point: 1 /* cdev0 can be used for passive */
376 |---cdev0_weight: 1024
377 |---cdev1: --->/sys/class/thermal/cooling_device3
378 |---cdev1_trip_point: 2 /* cdev1 can be used for active[0]*/
379 |---cdev1_weight: 1024
382 |---type: Processor
383 |---max_state: 8
384 |---cur_state: 0
387 |---type: Fan
388 |---max_state: 2
389 |---cur_state: 0
393 |---name: acpitz
394 |---temp1_input: 37000
395 |---temp1_crit: 100000
401 -----------------
404 of temperature of the thermal zone. Ideally, the thermal sensor drivers
407 temperature values.
410 ------------------------
419 On an event of critical trip temperature crossing the thermal framework
422 but accepts a delay after which it proceeds doing a forced power-off
429 carefully profiled non-zero positive value is a must for emergency