[PATCH] arm64: dts: imx8mp: Correct thermal sensor index

Frank Li Frank.li at nxp.com
Fri Sep 5 07:25:11 PDT 2025


On Fri, Sep 05, 2025 at 11:01:09AM +0800, Peng Fan wrote:
> 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 at nxp.com>

Reviewed-by: Frank Li <Frank.Li at nxp.com>

> ---
>  arch/arm64/boot/dts/freescale/imx8mp.dtsi | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> index 5d10de3950c3488acc80f574c8c59b55b6fbf575..91e47b1d6902fc22a368511a57522aa7d55ae167 100644
> --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi
> @@ -298,7 +298,7 @@ thermal-zones {
>  		cpu-thermal {
>  			polling-delay-passive = <250>;
>  			polling-delay = <2000>;
> -			thermal-sensors = <&tmu 0>;
> +			thermal-sensors = <&tmu 1>;
>  			trips {
>  				cpu_alert0: trip0 {
>  					temperature = <85000>;
> @@ -331,7 +331,7 @@ map0 {
>  		soc-thermal {
>  			polling-delay-passive = <250>;
>  			polling-delay = <2000>;
> -			thermal-sensors = <&tmu 1>;
> +			thermal-sensors = <&tmu 0>;
>  			trips {
>  				soc_alert0: trip0 {
>  					temperature = <85000>;
>
> ---
> base-commit: 4ac65880ebca1b68495bd8704263b26c050ac010
> change-id: 20250905-imx8mp-thermal-08271c5cb5c7
>
> Best regards,
> --
> Peng Fan <peng.fan at nxp.com>
>



More information about the linux-arm-kernel mailing list