[PATCH 2/3] arm64: dts: ti: k3-am62a: Set Critical Temp. to 105C
Daniel Schultz
d.schultz at phytec.de
Fri May 2 12:11:16 PDT 2025
On 5/2/25 16:49, Nishanth Menon wrote:
> On 07:26-20250502, Daniel Schultz wrote:
>> The AM62Ax SoC supports two temperature ranges:
>> * A: -40 to 105C - Extended Industrial
>> * I: -40 to 125C - Automotive
>>
>> By default, use the lower limit (105 °C) so that any AM62A running
>> in Extended Industrial mode will shut down safely before overheating.
>>
>> If the bootloader detects an Automotive-grade device, it should
>> override this and raise the critical trip point to 125 °C.
>>
>> Signed-off-by: Daniel Schultz <d.schultz at phytec.de>
>> ---
>> arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi | 6 +++---
>> 1 file changed, 3 insertions(+), 3 deletions(-)
>>
>> diff --git a/arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi b/arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi
>> index 39ff9118b6c4..40dcb9bab965 100644
>> --- a/arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi
>> +++ b/arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi
> Why not create a separate header for industrial grade and rename this as
> automotive grade and let the board file pick the right grade used on the
> board?
Mostly because I copied this from 10e7bfd8114c207ac and with the most
recent temperature fixups in U-Boot, we also have the missing bootloader
logic.
I would also prefer an out-of-the-box solution for that.
- Daniel
>
>> @@ -19,7 +19,7 @@ main0_alert: main0-alert {
>> };
>>
>> main0_crit: main0-crit {
>> - temperature = <125000>; /* milliCelsius */
>> + temperature = <105000>; /* milliCelsius */
>> hysteresis = <2000>; /* milliCelsius */
>> type = "critical";
>> };
>> @@ -50,7 +50,7 @@ main1_alert: main1-alert {
>> };
>>
>> main1_crit: main1-crit {
>> - temperature = <125000>; /* milliCelsius */
>> + temperature = <105000>; /* milliCelsius */
>> hysteresis = <2000>; /* milliCelsius */
>> type = "critical";
>> };
>> @@ -81,7 +81,7 @@ main2_alert: main2-alert {
>> };
>>
>> main2_crit: main2-crit {
>> - temperature = <125000>; /* milliCelsius */
>> + temperature = <105000>; /* milliCelsius */
>> hysteresis = <2000>; /* milliCelsius */
>> type = "critical";
>> };
>> --
>> 2.25.1
>>
More information about the linux-arm-kernel
mailing list