public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH 1/4] arm64: dts: ti: k3-am62-thermal: Add Files for each Temp. Grade
@ 2025-05-07  5:08 Daniel Schultz
  2025-05-07  5:08 ` [PATCH 2/4] arm64: dts: ti: k3-am625-*: Specify Temperature Grade Daniel Schultz
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Daniel Schultz @ 2025-05-07  5:08 UTC (permalink / raw)
  To: nm, vigneshr, kristo, robh, krzk+dt, conor+dt, linux-arm-kernel,
	devicetree, linux-kernel, robertcnelson, francesco.dolcini
  Cc: upstream, w.egorov, Daniel Schultz

The AM62x SoC supports three temperature ranges:
* A: -40 to 105C - Extended Industrial
* H:   0 to  95C - Commercial
* I: -40 to 125C - Automotive

Add device tree include files to adjust the alert and critical trip
points in k3-am62-thermal based on the temperature grade.

Passive trip points are always set 10C below critical.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 .../dts/ti/k3-am62-thermal-automotive.dtsi    | 20 +++++++++++++++++++
 .../dts/ti/k3-am62-thermal-commercial.dtsi    | 20 +++++++++++++++++++
 .../dts/ti/k3-am62-thermal-industrial.dtsi    | 20 +++++++++++++++++++
 3 files changed, 60 insertions(+)
 create mode 100644 arch/arm64/boot/dts/ti/k3-am62-thermal-automotive.dtsi
 create mode 100644 arch/arm64/boot/dts/ti/k3-am62-thermal-commercial.dtsi
 create mode 100644 arch/arm64/boot/dts/ti/k3-am62-thermal-industrial.dtsi

diff --git a/arch/arm64/boot/dts/ti/k3-am62-thermal-automotive.dtsi b/arch/arm64/boot/dts/ti/k3-am62-thermal-automotive.dtsi
new file mode 100644
index 000000000000..7de461da16ac
--- /dev/null
+++ b/arch/arm64/boot/dts/ti/k3-am62-thermal-automotive.dtsi
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: GPL-2.0-only OR MIT
+/*
+ * Copyright (C) 2025 PHYTEC Messtechnik GmbH
+ */
+
+&main0_alert {
+	temperature = <115000>;
+};
+
+&main0_crit {
+	temperature = <125000>;
+};
+
+&main1_alert {
+	temperature = <115000>;
+};
+
+&main1_crit {
+	temperature = <125000>;
+};
diff --git a/arch/arm64/boot/dts/ti/k3-am62-thermal-commercial.dtsi b/arch/arm64/boot/dts/ti/k3-am62-thermal-commercial.dtsi
new file mode 100644
index 000000000000..a6845a0c513c
--- /dev/null
+++ b/arch/arm64/boot/dts/ti/k3-am62-thermal-commercial.dtsi
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: GPL-2.0-only OR MIT
+/*
+ * Copyright (C) 2025 PHYTEC Messtechnik GmbH
+ */
+
+&main0_alert {
+	temperature = <85000>;
+};
+
+&main0_crit {
+	temperature = <95000>;
+};
+
+&main1_alert {
+	temperature = <85000>;
+};
+
+&main1_crit {
+	temperature = <95000>;
+};
diff --git a/arch/arm64/boot/dts/ti/k3-am62-thermal-industrial.dtsi b/arch/arm64/boot/dts/ti/k3-am62-thermal-industrial.dtsi
new file mode 100644
index 000000000000..eece26eebdef
--- /dev/null
+++ b/arch/arm64/boot/dts/ti/k3-am62-thermal-industrial.dtsi
@@ -0,0 +1,20 @@
+// SPDX-License-Identifier: GPL-2.0-only OR MIT
+/*
+ * Copyright (C) 2025 PHYTEC Messtechnik GmbH
+ */
+
+&main0_alert {
+	temperature = <95000>;
+};
+
+&main0_crit {
+	temperature = <105000>;
+};
+
+&main1_alert {
+	temperature = <95000>;
+};
+
+&main1_crit {
+	temperature = <105000>;
+};
-- 
2.25.1



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

end of thread, other threads:[~2025-05-08  9:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07  5:08 [PATCH 1/4] arm64: dts: ti: k3-am62-thermal: Add Files for each Temp. Grade Daniel Schultz
2025-05-07  5:08 ` [PATCH 2/4] arm64: dts: ti: k3-am625-*: Specify Temperature Grade Daniel Schultz
2025-05-07  7:57   ` Francesco Dolcini
2025-05-07  5:08 ` [PATCH 3/4] arm64: dts: ti: k3-am62a-thermal: Add Files for each Temp. Grade Daniel Schultz
2025-05-07  5:08 ` [PATCH 4/4] arm64: dts: ti: k3-am62a7-*: Specify Temperature Grade Daniel Schultz
2025-05-07  6:17   ` [Upstream] " Primoz Fiser
2025-05-08  8:39   ` kernel test robot
2025-05-07 15:41 ` [PATCH 1/4] arm64: dts: ti: k3-am62-thermal: Add Files for each Temp. Grade Rob Herring (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox