[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250507050847.912756-1-d.schultz@phytec.de>
Date: Tue, 6 May 2025 22:08:44 -0700
From: Daniel Schultz <d.schultz@...tec.de>
To: <nm@...com>, <vigneshr@...com>, <kristo@...nel.org>, <robh@...nel.org>,
<krzk+dt@...nel.org>, <conor+dt@...nel.org>,
<linux-arm-kernel@...ts.infradead.org>, <devicetree@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <robertcnelson@...il.com>,
<francesco.dolcini@...adex.com>
CC: <upstream@...ts.phytec.de>, <w.egorov@...tec.de>, Daniel Schultz
<d.schultz@...tec.de>
Subject: [PATCH 1/4] arm64: dts: ti: k3-am62-thermal: Add Files for each Temp. Grade
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@...tec.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
Powered by blists - more mailing lists