Configure a thermal zone
For optimal performance of your product or application, it’s important to customize and control its thermal behavior. You can configure a new thermal zone for a newly added external thermistor to control the surface temperature of Qualcomm Linux.
The following sample code shows how to configure a thermal zone using a device tree.
For example, monitor a temperature threshold of 50°C and apply mitigation to the CPU cooling devices.
Note: By default, the system configures a stepwise thermal governor.
Parameters that are specific to the thermal zone are explained in Linux Kernel Thermal Zones Documentation.

