SOC Thermal: Difference between revisions
(Add Debian Platform Customization) |
(Add template COMPAT_DEBIAN_LST_MODEL) |
||
Line 3: | Line 3: | ||
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | --> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | ||
--> {{#lst:B2QT_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | --> {{#lst:B2QT_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | ||
--> {{#lst:Debian_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | --> {{#lst:Debian_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- | ||
--> {{COMPAT_DEBIAN_LST_MODEL}} <!-- | |||
--> {{COMMON_YOCTO_VARS}} <!-- Include common yocto variables | --> {{COMMON_YOCTO_VARS}} <!-- Include common yocto variables | ||
-->{{PageHeader|SoC Thermal Temperature}} | -->{{PageHeader|SoC Thermal Temperature}} |
Latest revision as of 22:01, 6 June 2023
This page is using the default release mx93-yocto-kirkstone-5.15.71_2.2.0-v1.0.
To view this page for a specific Variscite SoM and software release, please follow these steps:
- Visit variwiki.com
- Select your SoM
- Select the software release
Reading the SOC Temperature
The mx93 SOC has an internal temperature sensor that can be read. The temperature is reported in millidegrees Celsius:
root@imx93-var-som:~# cat /sys/class/thermal/thermal_zone0/temp 43000
Thermal Setpoints
The Linux kernel will throttle the CPU and GPU based on setpoints configured in the Linux device tree.
The following demonstrates how to read the setpoints for the imx8mp-var-dart with the 5.15-2.0.x-imx_var01 kernel branch, but is similar for all platforms and kernel versions:
root@imx8mp-var-dart:~# cat /sys/class/thermal/thermal_zone0/trip_point_0_temp 85000 root@imx8mp-var-dart:~# cat /sys/class/thermal/thermal_zone0/trip_point_1_temp 95000
As shown above, there are two thermal setpoints, 85C and 95C. The setpoints are configured in the device tree: https://github.com/varigit/linux-imx/blob/5.15-2.0.x-imx_var01/arch/arm64/boot/dts/freescale/imx8mp.dtsi#L507-L567.