# Architecture
Source: [https://docs.qualcomm.com/doc/80-70014-30/topic/thermal architecture.html](https://docs.qualcomm.com/doc/80-70014-30/topic/thermal%20architecture.html)
The thermal architecture illustrates how the platform's thermal framework interacts
with Tsens hardware, cooling map interfaces, and user space clients.

Figure : Thermal architecture
Table : Description of the components of thermal architecture
| Components of thermal architecture | Description |
| --- | --- |
| Thermal device tree | A Tsens is configured for every thermal zone. Each thermal zone
consists of sensor hardware information, different levels of
thermal thresholds, and their respective cooling actions. All
rules for thermal zone are defined in the device tree. |
| Thermal framework | Thermal framework parses thermal zone rules from the device tree,
and configures Tsens hardware to generate interrupts when
temperature crosses the thresholds. |
| Thermal governor | Governor is a temperature monitor algorithm that controls the
temperature of a thermal zone. It mitigates the cooling devices
associated with the zone and keeps the temperature of the
platform within the limit.
Upon receipt of interrupt notification from Tsens hardware,
thermal framework uses stepwise thermal governor to communicate
the cooling actions to cooling map interface (CPU frequency
driver). |
| Cooling map interface | Cooling map interface defines the devices that can be throttled
to reduce the temperature of the platform. Every trip instance
of the thermal zone is associated with a cooling device.
Thermal core framework aggregates all the cooling device instance
requests and places the aggregated requests to cooling
device. |
The figure shows the following:
1. Thermal framework parses thermal zone rules from the device tree, and configures
Tsens hardware to generate interrupts when temperature crosses the
thresholds.
2. Upon receipt of interrupt notification from Tsens hardware, thermal framework
uses stepwise thermal governor to communicate the cooling actions to cooling map
interface (CPU frequency driver).
User space clients can use the following:
- The `sysfs` interface to communicate to the cooling map through the
thermal framework
- The `Netlink` interface to get information of Tsens temperature
through thermal framework notifications
**Parent Topic:** [Thermal management](https://docs.qualcomm.com/doc/80-70014-30/topic/thermalmanagement.html)
Last Published: Jul 15, 2024
[Previous Topic
Getting started](https://docs.qualcomm.com/bundle/publicresource/80-70014-30/topics/get-started-thermal.md) [Next Topic
Interfaces](https://docs.qualcomm.com/bundle/publicresource/80-70014-30/topics/thermal-interfaces.md)