]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: imx95-19x19-evk: Add pf09 and pf53 thermal zones
authorPeng Fan <peng.fan@nxp.com>
Mon, 18 Aug 2025 01:25:40 +0000 (09:25 +0800)
committerShawn Guo <shawnguo@kernel.org>
Fri, 22 Aug 2025 09:16:34 +0000 (17:16 +0800)
System Manager supports reading out pf09 and pf53 temperature and
SCMI Agent could get the values through SCMI sensor protocol. So add
the nodes to allow Linux to get the temperature.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts

index 9e21fe1a438a55d634e5cc62152976669599b47c..5fab3e1d57764fee152ec06d43941718fa194cd9 100644 (file)
                        };
                };
        };
+
+       pf09-thermal {
+               polling-delay = <2000>;
+               polling-delay-passive = <250>;
+               thermal-sensors = <&scmi_sensor 2>;
+
+               trips {
+                       pf09_alert: trip0 {
+                               hysteresis = <2000>;
+                               temperature = <140000>;
+                               type = "passive";
+                       };
+
+                       pf09_crit: trip1 {
+                               hysteresis = <2000>;
+                               temperature = <155000>;
+                               type = "critical";
+                       };
+               };
+       };
+
+       pf53arm-thermal {
+               polling-delay = <2000>;
+               polling-delay-passive = <250>;
+               thermal-sensors = <&scmi_sensor 4>;
+
+               cooling-maps {
+                       map0 {
+                               trip = <&pf5301_alert>;
+                               cooling-device =
+                                       <&A55_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                       <&A55_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                       <&A55_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                       <&A55_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                       <&A55_4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+                                       <&A55_5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+                       };
+               };
+
+               trips {
+                       pf5301_alert: trip0 {
+                               hysteresis = <2000>;
+                               temperature = <140000>;
+                               type = "passive";
+                       };
+
+                       pf5301_crit: trip1 {
+                               hysteresis = <2000>;
+                               temperature = <155000>;
+                               type = "critical";
+                       };
+               };
+       };
+
+       pf53soc-thermal {
+               polling-delay = <2000>;
+               polling-delay-passive = <250>;
+               thermal-sensors = <&scmi_sensor 3>;
+
+               trips {
+                       pf5302_alert: trip0 {
+                               hysteresis = <2000>;
+                               temperature = <140000>;
+                               type = "passive";
+                       };
+
+                       pf5302_crit: trip1 {
+                               hysteresis = <2000>;
+                               temperature = <155000>;
+                               type = "critical";
+                       };
+               };
+       };
 };
 
 &tpm6 {