lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250507050847.912756-3-d.schultz@phytec.de>
Date: Tue, 6 May 2025 22:08:46 -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 3/4] arm64: dts: ti: k3-am62a-thermal: Add Files for each Temp. Grade

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@...tec.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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ