<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックDifference Between DTS Thermal Configuration and Runtime Thermal Trip Points IMX93</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Difference-Between-DTS-Thermal-Configuration-and-Runtime-Thermal/m-p/2378083#M245549</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;We observed the following thermal configuration in the file:&lt;/P&gt;&lt;P&gt;arch/arm64/boot/dts/freescale/imx93.dtsi&lt;/P&gt;&lt;P&gt;thermal-zones {&lt;BR /&gt;cpu-thermal {&lt;BR /&gt;polling-delay-passive = &amp;lt;250&amp;gt;;&lt;BR /&gt;polling-delay = &amp;lt;2000&amp;gt;;&lt;/P&gt;&lt;P&gt;thermal-sensors = &amp;lt;&amp;amp;tmu 0&amp;gt;;&lt;/P&gt;&lt;P&gt;trips {&lt;BR /&gt;cpu_alert: cpu-alert {&lt;BR /&gt;temperature = &amp;lt;80000&amp;gt;;&lt;BR /&gt;hysteresis = &amp;lt;2000&amp;gt;;&lt;BR /&gt;type = "passive";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;cpu_crit: cpu-crit {&lt;BR /&gt;temperature = &amp;lt;90000&amp;gt;;&lt;BR /&gt;hysteresis = &amp;lt;2000&amp;gt;;&lt;BR /&gt;type = "critical";&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;However, on the running system, the sysfs entries report different values:&lt;/P&gt;&lt;P&gt;cat /sys/class/thermal/thermal_zone0/trip_point_0_temp&lt;BR /&gt;95000&lt;/P&gt;&lt;P&gt;cat /sys/class/thermal/thermal_zone0/trip_point_1_temp&lt;BR /&gt;105000&lt;/P&gt;&lt;P&gt;This indicates that the passive trip point is set to 95°C and the critical trip point is set to 105°C at runtime, which differs from the values defined in the DTS file (80°C and 90°C).&lt;/P&gt;&lt;P&gt;Could you please clarify why these values are different? Is there any other location in the kernel, driver, or platform code where these thermal trip points are being modified or overridden at runtime?&lt;/P&gt;&lt;P&gt;Kindly let us know where we can further investigate this behavior.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jamal Deen&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2026 06:10:16 GMT</pubDate>
    <dc:creator>Jamal</dc:creator>
    <dc:date>2026-06-08T06:10:16Z</dc:date>
    <item>
      <title>Difference Between DTS Thermal Configuration and Runtime Thermal Trip Points IMX93</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Difference-Between-DTS-Thermal-Configuration-and-Runtime-Thermal/m-p/2378083#M245549</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;We observed the following thermal configuration in the file:&lt;/P&gt;&lt;P&gt;arch/arm64/boot/dts/freescale/imx93.dtsi&lt;/P&gt;&lt;P&gt;thermal-zones {&lt;BR /&gt;cpu-thermal {&lt;BR /&gt;polling-delay-passive = &amp;lt;250&amp;gt;;&lt;BR /&gt;polling-delay = &amp;lt;2000&amp;gt;;&lt;/P&gt;&lt;P&gt;thermal-sensors = &amp;lt;&amp;amp;tmu 0&amp;gt;;&lt;/P&gt;&lt;P&gt;trips {&lt;BR /&gt;cpu_alert: cpu-alert {&lt;BR /&gt;temperature = &amp;lt;80000&amp;gt;;&lt;BR /&gt;hysteresis = &amp;lt;2000&amp;gt;;&lt;BR /&gt;type = "passive";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;cpu_crit: cpu-crit {&lt;BR /&gt;temperature = &amp;lt;90000&amp;gt;;&lt;BR /&gt;hysteresis = &amp;lt;2000&amp;gt;;&lt;BR /&gt;type = "critical";&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;However, on the running system, the sysfs entries report different values:&lt;/P&gt;&lt;P&gt;cat /sys/class/thermal/thermal_zone0/trip_point_0_temp&lt;BR /&gt;95000&lt;/P&gt;&lt;P&gt;cat /sys/class/thermal/thermal_zone0/trip_point_1_temp&lt;BR /&gt;105000&lt;/P&gt;&lt;P&gt;This indicates that the passive trip point is set to 95°C and the critical trip point is set to 105°C at runtime, which differs from the values defined in the DTS file (80°C and 90°C).&lt;/P&gt;&lt;P&gt;Could you please clarify why these values are different? Is there any other location in the kernel, driver, or platform code where these thermal trip points are being modified or overridden at runtime?&lt;/P&gt;&lt;P&gt;Kindly let us know where we can further investigate this behavior.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jamal Deen&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2026 06:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Difference-Between-DTS-Thermal-Configuration-and-Runtime-Thermal/m-p/2378083#M245549</guid>
      <dc:creator>Jamal</dc:creator>
      <dc:date>2026-06-08T06:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Between DTS Thermal Configuration and Runtime Thermal Trip Points IMX93</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Difference-Between-DTS-Thermal-Configuration-and-Runtime-Thermal/m-p/2378122#M245551</link>
      <description>&lt;P&gt;On imx93evk board, I checked the following dts configuration.&lt;/P&gt;
&lt;P&gt;root@imx93evk:/tmp# hexdump -C /sys/firmware/devicetree/base/thermal-zones/cpu-thermal/trips/cpu-alert/temperature&lt;/P&gt;
&lt;P&gt;00000000&amp;nbsp; 00 01 73 18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |..s.|&lt;/P&gt;
&lt;P&gt;00000004&lt;/P&gt;
&lt;P&gt;root@imx93evk:/tmp# hexdump -C /sys/firmware/devicetree/base/thermal-zones/cpu-thermal/trips/cpu-crit/temperature&lt;/P&gt;
&lt;P&gt;00000000&amp;nbsp; 00 01 9a 28&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |...(|&lt;/P&gt;
&lt;P&gt;00000004&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HEX 19a28 = 105000(DEC)&lt;/P&gt;
&lt;P&gt;HEX 17318 = 95000(DEC)&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;It means the DTS has already been modified by u-boot before loading by Linux Kernel.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Please refer to function fixup_thermal_trips in arch/arm/mach-imx/fdt.c in u-boot source code.&lt;/P&gt;
&lt;P&gt;get_cpu_temp_grade(&amp;amp;minc, &amp;amp;maxc);&lt;/P&gt;
&lt;P&gt;fdt_for_each_subnode(trip, blob, node) {&lt;BR /&gt;const char *type;&lt;BR /&gt;int temp, ret;&lt;/P&gt;
&lt;P&gt;type = fdt_getprop(blob, trip, "type", NULL);&lt;BR /&gt;if (!type)&lt;BR /&gt;continue;&lt;/P&gt;
&lt;P&gt;temp = 0;&lt;BR /&gt;if (!strcmp(type, "critical"))&lt;BR /&gt;temp = 1000 * maxc;&lt;BR /&gt;else if (!strcmp(type, "passive"))&lt;BR /&gt;temp = 1000 * (maxc - 10);&lt;BR /&gt;if (temp) {&lt;BR /&gt;ret = fdt_setprop_u32(blob, trip, "temperature", temp);&lt;BR /&gt;if (ret)&lt;BR /&gt;return ret;&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2026 07:15:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Difference-Between-DTS-Thermal-Configuration-and-Runtime-Thermal/m-p/2378122#M245551</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2026-06-08T07:15:09Z</dc:date>
    </item>
  </channel>
</rss>

