Lines Matching refs:thermal

13 The generic thermal sysfs provides a set of interfaces for thermal zone
14 devices (sensors) and thermal cooling devices (fan, processor...) to register
15 with the thermal management solution and to be a part of it.
17 This how-to focuses on enabling new thermal zone and cooling devices to
18 participate in thermal management.
19 This solution is platform independent and any type of thermal zone devices
22 The main task of the thermal sysfs driver is to expose thermal zone attributes
24 An intelligent thermal management application can make decisions based on
25 inputs from thermal zone attributes (the current temperature and trip point
31 1. thermal sysfs driver interface functions
33 1.1 thermal zone device interface
40 This interface function adds a new thermal zone device (sensor) to
41 /sys/class/thermal folder as thermal_zone[0-*]. It tries to bind all the
42 thermal cooling devices registered at the same time.
44 type: the thermal zone type.
45 trips: the total number of trip points this thermal zone supports.
48 ops: thermal zone device call-backs.
49 .bind: bind the thermal zone device with a thermal cooling device.
50 .unbind: unbind the thermal zone device with a thermal cooling device.
51 .get_temp: get the current temperature of the thermal zone.
52 .get_mode: get the current mode (enabled/disabled) of the thermal zone.
53 - "enabled" means the kernel thermal management is enabled.
54 - "disabled" will prevent kernel thermal driver action upon trip points
55 so that user applications can take charge of thermal management.
56 .set_mode: set the mode (enabled/disabled) of the thermal zone.
62 tzp: thermal zone platform parameters.
71 This interface function removes the thermal zone device.
72 It deletes the corresponding entry form /sys/class/thermal folder and
73 unbind all the thermal cooling devices it uses.
75 1.2 thermal cooling device interface
79 This interface function adds a new thermal cooling device (fan/processor/...)
80 to /sys/class/thermal/ folder as cooling_device[0-*]. It tries to bind itself
81 to all the thermal zone devices register at the same time.
84 ops: thermal cooling devices call-backs.
91 This interface function remove the thermal cooling device.
92 It deletes the corresponding entry form /sys/class/thermal folder and
93 unbind itself from all the thermal zone devices using it.
95 1.3 interface for binding a thermal zone device with a thermal cooling device
100 This interface function bind a thermal cooling device to the certain trip
101 point of a thermal zone device.
102 This function is usually called in the thermal zone device .bind callback.
103 tz: the thermal zone device
104 cdev: thermal cooling device
106 in this thermal zone.
117 This interface function unbind a thermal cooling device from the certain
118 trip point of a thermal zone device. This function is usually called in
119 the thermal zone device .unbind callback.
120 tz: the thermal zone device
121 cdev: thermal cooling device
123 in this thermal zone.
134 this thermal zone and cdev, for a particular trip point.
135 If nth bit is set, then the cdev and thermal zone are bound
147 This structure defines the platform level parameters for a thermal zone.
148 This data, for each thermal zone should come from the platform layer.
151 .governor_name: Name of the thermal governor used for this zone
152 .no_hwmon: a boolean to indicate if the thermal to hwmon sysfs interface
165 Thermal sysfs attributes will be represented under /sys/class/thermal.
170 /sys/class/thermal/thermal_zone[0-*]:
171 |---type: Type of the thermal zone
173 |---mode: Working mode of the thermal zone
181 /sys/class/thermal/cooling_device[0-*]:
188 the relationship between a thermal zone and its associated cooling device.
192 /sys/class/thermal/thermal_zone[0-*]:
193 |---cdev[0-*]: [0-*]th cooling device in current thermal zone
196 Besides the thermal zone device sysfs I/F and cooling device sysfs I/F,
197 the generic thermal driver also creates a hwmon sysfs I/F for each _type_
198 of thermal zone device. E.g. the generic thermal driver registers one hwmon
200 ACPI thermal zones.
203 |---name: The type of the thermal zone devices
204 |---temp[1-*]_input: The current temperature of thermal zone [1-*]
205 |---temp[1-*]_critical: The critical trip point of thermal zone [1-*]
214 Strings which represent the thermal zone type.
215 This is given by thermal zone driver as part of registration.
216 E.g: "acpitz" indicates it's an ACPI thermal device.
222 Current temperature as reported by thermal zone (sensor).
229 managing the thermal zone. It can be either default kernel based
232 disabled = Preventing kernel thermal zone driver actions upon
234 charge of the thermal management.
238 One of the various thermal governors used for a particular zone.
249 thermal zone.
258 Sysfs link to the thermal cooling device node where the sys I/F
263 The trip point with which cdev[0-*] is associated in this thermal
270 policy is not supported by native thermal driver. Default is zero
279 Interface to set the emulated temperature method in thermal zone
280 (sensor). After setting this temperature, the thermal zone may pass
289 because userland can easily disable the thermal policy by simply
316 ACPI thermal zone may support multiple trip points like critical, hot,
317 passive, active. If an ACPI thermal zone supports critical, passive,
326 /sys/class/thermal:
341 |---cdev0: --->/sys/class/thermal/cooling_device0
343 |---cdev1: --->/sys/class/thermal/cooling_device3
371 thermal zone device will be used in the message to identify the zone. The
379 This function returns the trend of a thermal zone, i.e the rate of change
380 of temperature of the thermal zone. Ideally, the thermal sensor drivers
381 are supposed to implement the callback. If they don't, the thermal