]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Oct 2025 11:35:45 +0000 (13:35 +0200)
[ Upstream commit a50342f976d25aace73ff551845ce89406f48f35 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp.dtsi

index 0186b3992b95f43c3ee3b74c45af6e9a436165df..8b02ead72a88cb78a1967055aa6f0df76578f215 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>;