This message will disappear after all relevant tasks have been resolved.
Semantic MediaWiki
There are 1 incomplete or pending task to finish installation of Semantic MediaWiki. An administrator or user with sufficient rights can complete it. This should be done before adding new data to avoid inconsistencies.![]() |
This article is under construction and will be available end of 2022 |
1. Framework purpose[edit source]
The purpose of this article is to introduce the Thermal framework.
Thermal framework is a subsystem made for handling thermal sensors and cooling devices, it is made of 3 subsystems:
- thermal zone
- cooling device
- thermal-sensor via hwmon API or thermal API
2. System Overview[edit source]
2.1. Component description[edit source]
- thermal-zone is a container used to describe all thermal data for the platform
- thermal framework offers an API to read temperature, and to handle thresholds with interrupts.
- hwmon framework offers an API to read temperature for polling usage, a sysfs but, no threshold.
- cooling-device device is used to dissipate heat either
- actively for example with a FAN controlled by GPIOs
- passively via OPP by forcing a lower CPU voltage or frequencies as a cooling state.
2.2. thermal-zone details[edit source]
The thermal zone is also responsible for
- driving cooling devices depending on thermal sensor information,
- handling a critical trip point that consist of calling shutdown,
- polling thermal sensors that does not handle trips points with IRQs (that are implemented under hwmon framework).
A system may contains several thermal zones. For example one for CPU, one for GPU. Each zone is made of:
- a thermal sensor with some polling periods descriptions,
- some active or passive trip points with a temperature and hysteresis for each,
- a cooling map that describe the action for each trip point.