]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: imx8mp: Correct thermal sensor index
authorPeng Fan <peng.fan@nxp.com>
Fri, 5 Sep 2025 03:01:09 +0000 (11:01 +0800)
committerShawn Guo <shawnguo@kernel.org>
Thu, 11 Sep 2025 03:25:04 +0000 (11:25 +0800)
The TMU has two temperature measurement sites located on the chip. The
probe 0 is located inside of the ANAMIX, while the probe 1 is located near
the ARM core. This has been confirmed by checking with HW design team and
checking RTL code.

So correct the {cpu,soc}-thermal sensor index.

Fixes: 30cdd62dce6b ("arm64: dts: imx8mp: Add thermal zones support")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp.dtsi

index bb24dba7338ea00dd50c5f7e409d72ecb7d790b9..d6d21e8498dcf9f9e3848316cbc9dd15d3bad605 100644 (file)
                cpu-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <2000>;
-                       thermal-sensors = <&tmu 0>;
+                       thermal-sensors = <&tmu 1>;
                        trips {
                                cpu_alert0: trip0 {
                                        temperature = <85000>;
                soc-thermal {
                        polling-delay-passive = <250>;
                        polling-delay = <2000>;
-                       thermal-sensors = <&tmu 1>;
+                       thermal-sensors = <&tmu 0>;
                        trips {
                                soc_alert0: trip0 {
                                        temperature = <85000>;