From: Daniel Schultz <d.schultz@phytec.de>
To: <nm@ti.com>, <vigneshr@ti.com>, <kristo@kernel.org>,
<robh@kernel.org>, <krzk+dt@kernel.org>, <conor+dt@kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<robertcnelson@gmail.com>, <francesco.dolcini@toradex.com>
Cc: <upstream@lists.phytec.de>, <w.egorov@phytec.de>,
Daniel Schultz <d.schultz@phytec.de>
Subject: [PATCH 3/4] arm64: dts: ti: k3-am62a-thermal: Add Files for each Temp. Grade
Date: Tue, 6 May 2025 22:08:46 -0700 [thread overview]
Message-ID: <20250507050847.912756-3-d.schultz@phytec.de> (raw)
In-Reply-To: <20250507050847.912756-1-d.schultz@phytec.de>
The AM62Ax SoC supports two temperature ranges:
* A: -40 to 105C - Extended Industrial
* I: -40 to 125C - Automotive
Add device tree include files to adjust the alert and critical trip
points in k3-am62a-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-am62a-thermal-automotive.dtsi | 28 +++++++++++++++++++
.../dts/ti/k3-am62a-thermal-industrial.dtsi | 28 +++++++++++++++++++
2 files changed, 56 insertions(+)
create mode 100644 arch/arm64/boot/dts/ti/k3-am62a-thermal-automotive.dtsi
create mode 100644 arch/arm64/boot/dts/ti/k3-am62a-thermal-industrial.dtsi
diff --git a/arch/arm64/boot/dts/ti/k3-am62a-thermal-automotive.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-thermal-automotive.dtsi
new file mode 100644
index 000000000000..4d6c649657ce
--- /dev/null
+++ b/arch/arm64/boot/dts/ti/k3-am62a-thermal-automotive.dtsi
@@ -0,0 +1,28 @@
+// 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>;
+};
+
+&main2_alert {
+ temperature = <115000>;
+};
+
+&main2_crit {
+ temperature = <125000>;
+};
diff --git a/arch/arm64/boot/dts/ti/k3-am62a-thermal-industrial.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-thermal-industrial.dtsi
new file mode 100644
index 000000000000..f6c69db8d62a
--- /dev/null
+++ b/arch/arm64/boot/dts/ti/k3-am62a-thermal-industrial.dtsi
@@ -0,0 +1,28 @@
+// 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>;
+};
+
+&main2_alert {
+ temperature = <95000>;
+};
+
+&main2_crit {
+ temperature = <105000>;
+};
--
2.25.1
next prev parent reply other threads:[~2025-05-07 5:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Daniel Schultz [this message]
2025-05-07 5:08 ` [PATCH 4/4] arm64: dts: ti: k3-am62a7-*: " 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)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250507050847.912756-3-d.schultz@phytec.de \
--to=d.schultz@phytec.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=francesco.dolcini@toradex.com \
--cc=kristo@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=robertcnelson@gmail.com \
--cc=robh@kernel.org \
--cc=upstream@lists.phytec.de \
--cc=vigneshr@ti.com \
--cc=w.egorov@phytec.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox