All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: ls1028a: add one more thermal zone support
@ 2020-05-25  7:38 ` Yuantian Tang
  0 siblings, 0 replies; 8+ messages in thread
From: Yuantian Tang @ 2020-05-25  7:38 UTC (permalink / raw)
  To: shawnguo, robh+dt, mark.rutland, catalin.marinas, will.deacon
  Cc: devicetree, linux-arm-kernel, linux-kernel, Yuantian Tang

There are 2 thermal zones in ls1028a soc. Current dts only
includes one. This patch adds the other thermal zone node
in dts to enable it.

Signed-off-by: Yuantian Tang <andy.tang@nxp.com>
---
 .../arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 22 ++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
index 055f114cf848..bc6f0c0f85da 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi
@@ -129,11 +129,31 @@
 	};
 
 	thermal-zones {
-		core-cluster {
+		ddr-controller {
 			polling-delay-passive = <1000>;
 			polling-delay = <5000>;
 			thermal-sensors = <&tmu 0>;
 
+			trips {
+				ddr-ctrler-alert {
+					temperature = <85000>;
+					hysteresis = <2000>;
+					type = "passive";
+				};
+
+				ddr-ctrler-crit {
+					temperature = <95000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
+			};
+		};
+
+		core-cluster {
+			polling-delay-passive = <1000>;
+			polling-delay = <5000>;
+			thermal-sensors = <&tmu 1>;
+
 			trips {
 				core_cluster_alert: core-cluster-alert {
 					temperature = <85000>;
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-06-18 14:34 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-25  7:38 [PATCH] arm64: dts: ls1028a: add one more thermal zone support Yuantian Tang
2020-05-25  7:38 ` Yuantian Tang
2020-05-25 11:08 ` Daniel Lezcano
2020-05-25 11:08   ` Daniel Lezcano
2020-05-26  2:45   ` [EXT] " Andy Tang
2020-05-26  2:45     ` Andy Tang
2020-06-18 14:33 ` Shawn Guo
2020-06-18 14:33   ` Shawn Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.