From nobody Wed Oct 8 22:17:53 2025 Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 035E62C1585; Mon, 23 Jun 2025 16:12:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.178 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750695159; cv=none; b=LzicO2+gr8sYVekrfZqJtEDybxv5UVW+P43A7aOPozdgrUoBntG6OdZ6MdcDTALSzmR6KuPGWJVWZ0BbyuHhMUAPBmHRVT1h6EP3hbODYO/33OZ6CO+owOTZk6RNIFNe4DoiupWy/I+ddXVlI7agFOv3dkBIX1dw7/99IYWsx4c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750695159; c=relaxed/simple; bh=ek/Pv9ynWR/uXwPFyje24kNL9VDLBe+vnBxK8io6B0A=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=nw/cfxZh4MuZL3Z2L4NIgeAEGXbvS5HCGyF72NVe0yauXMV2LqHZHdopUxJyNxfqDZVDerdc5LpUj+JCiQ7PBEWqdu1IfX/fZfXO5RDV6AX5eaTNV3QIjygihmsnH1ww2EUKVDAjSTO73J+ljJ3Act8DX+VpIIsBfYGg3lh+IHQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=D9GwWID/; arc=none smtp.client-ip=209.85.210.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="D9GwWID/" Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-748e81d37a7so2723927b3a.1; Mon, 23 Jun 2025 09:12:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750695157; x=1751299957; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=iZa735fH/TMPXiLLbcp+s5ZBvlVgx4jayqrOGdHzhjg=; b=D9GwWID/AHglehE+nkLOBFoKJnVtPjbJKAVLwfoqYBlFZpCO+c67ehKbeRUZkORqGE 2F89+5NRw6hg5v07T8J9p8vYzDKTb4AeboYSfNbL4z9Slx9v0SX14dfw3necl9rtlVvq z9oZMaQS/DKaWcGcuWp9sdMkklL2QT0M6YBHn0Vcx5FwWGPcIq23TpOx9XsNPm1XY3QS KdXk1ympmeg7NgMijF2B1qlWHaSHnBuuZDtxf0NEIe3gani49533VYtDgOTbZGzr4Xfw h9s9NBUEuIH63SVjyAWj+LvOwAh3gnFnUjZVMdYoFVAw4WUw3nOn4IrQVxWBRhQKhZTQ MRJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750695157; x=1751299957; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iZa735fH/TMPXiLLbcp+s5ZBvlVgx4jayqrOGdHzhjg=; b=T3m95yIDWhucChRYxhJo4T/SLU1TR63G0U6Y8AuNsY1GElCF+HrFdOcUDgIh9WeoHw jsL7fmAmj4J1nxkHCYS6FfHC3sfy5ESZrappOxSTTTyaWHn/55tqQLdF7e8DUxuxMn4R E0qy8T1lLR7cMBucuqEK+y417XRxhPBj6y0SCHvrPTkoGqpO9v53nlP6TziKIY4QDBqG lrndacY2qK9QX/+el4WWTrwFeIvf/6gyWzCLXmdb6N0FdElQGopWAnDD7UMjXltLH5vQ y/DTy8UKn9qZpJUQaq9U/WpPkz2IP0Uu4tx33nu/Fu/xKCUZTaCmgBruP7tdN6kxIxUg oyTw== X-Forwarded-Encrypted: i=1; AJvYcCWQw/Uc6fAVNH36TxJUvEmFbhlRYR3Y6la12pvauYENtK/PAraKduzKXv2XYdMajx9x9GrsxGUt/VBtGuOs@vger.kernel.org, AJvYcCWtDjQN/oaugctyzvoX44walgBXy2iBslsHplqfZurP/Ks7FWrHUhtl+fJky0aXvftE5e88cf8xmXCH@vger.kernel.org X-Gm-Message-State: AOJu0YzMtW+wGB1KRPVmW18dYiIUuPfVwF1xnwTchthITSTx2+F75t6I PBC/XbmO7SfUctdQfCUfTTAmduyBSdBGA60G8wC2xsiNkSJlG1ZXP8AY X-Gm-Gg: ASbGncsnSvnOmpdaynx9hjcFSwQqMg0XquhYho6IzdI5l0FFPr1g8IJgtqeuZP3rZk1 cITTnmZC1EwjMH4JNqcZ168kajNKPkje0AW4w1XUtQ9pTjL6d5scg+fAc9UylgpR053anUVf4df eWn3RO8uSxJIndhOEWmJqZGurSPKdjnNOX4jrgEGy7FD4vwJ4bkU+K4gC5kmKomUmox4kBh7+Zs ycMsgHRozIr1/cH1+5VD5LgIQJ+uJs6zhgnLq6d5cDxM3kNGze/xF1dEKrng8SR8By7S5xZEIG2 hfPFjGM5wV3n51b5tKXk1m/D8MGdZgfohGRjjWWVpibBeLkCCgwIoTPTPOlB9o49/WlcKTgkS1F uzPXHxsoJFzFEYMg= X-Google-Smtp-Source: AGHT+IHbIPvjsHfg7Sb2eO5LgYj4ARuy56pLEb/egTFxA2oVO4ufvqtUM5hYA7WL45ggD7zMTd5CVg== X-Received: by 2002:a05:6a21:4d8f:b0:21f:54e0:b09a with SMTP id adf61e73a8af0-22026e933dcmr21976430637.15.1750695157151; Mon, 23 Jun 2025 09:12:37 -0700 (PDT) Received: from [10.22.1.180] ([67.159.246.222]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7490a467e6dsm9029608b3a.13.2025.06.23.09.12.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jun 2025 09:12:36 -0700 (PDT) From: =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= Date: Mon, 23 Jun 2025 13:12:26 -0300 Subject: [PATCH 1/2] arm64: dts: ti: k3-am62p-j722s: Enable freq throttling on thermal alert Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250623-b4-verdin-am62p-cooling-device-v1-1-cc185ba5843d@toradex.com> References: <20250623-b4-verdin-am62p-cooling-device-v1-0-cc185ba5843d@toradex.com> In-Reply-To: <20250623-b4-verdin-am62p-cooling-device-v1-0-cc185ba5843d@toradex.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= X-Mailer: b4 0.14.2 From: Jo=C3=A3o Paulo Gon=C3=A7alves Enable throttling down the CPU frequency when an alert temperature threshold is reached before the critical temperature for shutdown. Signed-off-by: Jo=C3=A3o Paulo Gon=C3=A7alves --- .../boot/dts/ti/k3-am62p-j722s-common-thermal.dtsi | 51 ++++++++++++++++++= ++++ arch/arm64/boot/dts/ti/k3-am62p5.dtsi | 4 ++ arch/arm64/boot/dts/ti/k3-j722s.dtsi | 4 ++ 3 files changed, 59 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-thermal.dtsi b/ar= ch/arm64/boot/dts/ti/k3-am62p-j722s-common-thermal.dtsi index c7486fb2a5b45cfa2bd7798eb4746ad2af8c390a..138b9c395be4bf7bd6c1941d752= 871af8cc9b1b6 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-thermal.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-j722s-common-thermal.dtsi @@ -12,12 +12,29 @@ main0_thermal: main0-thermal { thermal-sensors =3D <&wkup_vtm0 0>; =20 trips { + main0_alert: main0-alert { + temperature =3D <115000>; + hysteresis =3D <2000>; + type =3D "passive"; + }; + main0_crit: main0-crit { temperature =3D <125000>; /* milliCelsius */ hysteresis =3D <2000>; /* milliCelsius */ type =3D "critical"; }; }; + + cooling-maps { + map0 { + trip =3D <&main0_alert>; + cooling-device =3D + <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 main1_thermal: main1-thermal { @@ -26,12 +43,29 @@ main1_thermal: main1-thermal { thermal-sensors =3D <&wkup_vtm0 1>; =20 trips { + main1_alert: main1-alert { + temperature =3D <115000>; + hysteresis =3D <2000>; + type =3D "passive"; + }; + main1_crit: main1-crit { temperature =3D <125000>; /* milliCelsius */ hysteresis =3D <2000>; /* milliCelsius */ type =3D "critical"; }; }; + + cooling-maps { + map0 { + trip =3D <&main1_alert>; + cooling-device =3D + <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; =20 main2_thermal: main2-thermal { @@ -40,11 +74,28 @@ main2_thermal: main2-thermal { thermal-sensors =3D <&wkup_vtm0 2>; =20 trips { + main2_alert: main2-alert { + temperature =3D <115000>; + hysteresis =3D <2000>; + type =3D "passive"; + }; + main2_crit: main2-crit { temperature =3D <125000>; /* milliCelsius */ hysteresis =3D <2000>; /* milliCelsius */ type =3D "critical"; }; }; + + cooling-maps { + map0 { + trip =3D <&main2_alert>; + cooling-device =3D + <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>, + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; + }; + }; }; }; diff --git a/arch/arm64/boot/dts/ti/k3-am62p5.dtsi b/arch/arm64/boot/dts/ti= /k3-am62p5.dtsi index 140587d02e88e9d391c41001643ec715d41bf262..202378d9d5cfdc8eced93511739= 8bcf859088d1b 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p5.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p5.dtsi @@ -49,6 +49,7 @@ cpu0: cpu@0 { next-level-cache =3D <&l2_0>; operating-points-v2 =3D <&a53_opp_table>; clocks =3D <&k3_clks 135 0>; + #cooling-cells =3D <2>; }; =20 cpu1: cpu@1 { @@ -65,6 +66,7 @@ cpu1: cpu@1 { next-level-cache =3D <&l2_0>; operating-points-v2 =3D <&a53_opp_table>; clocks =3D <&k3_clks 136 0>; + #cooling-cells =3D <2>; }; =20 cpu2: cpu@2 { @@ -81,6 +83,7 @@ cpu2: cpu@2 { next-level-cache =3D <&l2_0>; operating-points-v2 =3D <&a53_opp_table>; clocks =3D <&k3_clks 137 0>; + #cooling-cells =3D <2>; }; =20 cpu3: cpu@3 { @@ -97,6 +100,7 @@ cpu3: cpu@3 { next-level-cache =3D <&l2_0>; operating-points-v2 =3D <&a53_opp_table>; clocks =3D <&k3_clks 138 0>; + #cooling-cells =3D <2>; }; }; =20 diff --git a/arch/arm64/boot/dts/ti/k3-j722s.dtsi b/arch/arm64/boot/dts/ti/= k3-j722s.dtsi index 14c6c6a332ef2f118e483744e97222865560e6ac..cdc8570e54b29d068aab4e2788a= 8b36dfa539cfa 100644 --- a/arch/arm64/boot/dts/ti/k3-j722s.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j722s.dtsi @@ -56,6 +56,7 @@ cpu0: cpu@0 { d-cache-sets =3D <128>; next-level-cache =3D <&l2_0>; clocks =3D <&k3_clks 135 0>; + #cooling-cells =3D <2>; }; =20 cpu1: cpu@1 { @@ -71,6 +72,7 @@ cpu1: cpu@1 { d-cache-sets =3D <128>; next-level-cache =3D <&l2_0>; clocks =3D <&k3_clks 136 0>; + #cooling-cells =3D <2>; }; =20 cpu2: cpu@2 { @@ -86,6 +88,7 @@ cpu2: cpu@2 { d-cache-sets =3D <128>; next-level-cache =3D <&l2_0>; clocks =3D <&k3_clks 137 0>; + #cooling-cells =3D <2>; }; =20 cpu3: cpu@3 { @@ -101,6 +104,7 @@ cpu3: cpu@3 { d-cache-sets =3D <128>; next-level-cache =3D <&l2_0>; clocks =3D <&k3_clks 138 0>; + #cooling-cells =3D <2>; }; }; =20 --=20 2.43.0 From nobody Wed Oct 8 22:17:53 2025 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 514082C3265; Mon, 23 Jun 2025 16:12:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750695162; cv=none; b=UH+Unbb8unD+csqiooIuT29ZzIFWqGdlk/ZqKwMNXf9UxYHVx/J+Sp1aPXW6NJpOHA5KzimsHfO3ZKLWrKMKptFmRhRmH0EGgMyE6uoaSBHC/8E0tpgUzmZrBVDpoyyMiqpEvubMhTKcgYX60j3LXBiliZgZpepcPDLyQyw2ySI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750695162; c=relaxed/simple; bh=NGNHqVeHxydNd/a2vIf96yJJA/aOVMOt2dlmMgPjKOQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hXX9jvFBsLUSsyzyrvo+jAny8Tly045bIsox21L7+qLIQW6gQhIJgSdaA9FN6ZiiU9tjxu3bw/x3IUCp46NFL5H+ZuWa2XDQ2H6Bcc3ZJRwRO693QssKWKrN/Ff11PAmI6iZ8A01eQTCA4erB1GeFfxtRDICMdvtPS3MtvnY7mo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=a1boP2I4; arc=none smtp.client-ip=209.85.210.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="a1boP2I4" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-7425bd5a83aso3838613b3a.0; Mon, 23 Jun 2025 09:12:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1750695160; x=1751299960; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=f78YX8Jv2hkXlixOcjovzULMHQy54ZDO00RkiEOZMLg=; b=a1boP2I4O+S+6yxw1IckzVyj8Gye9uSCo0UqRIPx//MMs/nwnuY6FjvbkpTnhQVY3N o0xIQmMTv6e52BYSWwyVtUZgK9Q5qhpHEKPJSTV+suSS6cWSGn3p6wI6Hp5CRIEgfOuO vbZFClP1Al39gSOBCFINjzb1DadlInC1y3VUzq9Uh+WfaLJvDFwwRyFQ6UftVTCHoZ3g i+cO/NoAclUQ2/UR8kExNLctNNppNALTaFOEFXayB8obPBw2wx+zZS6MT47/JRNjdkkG sxXnvuUAq7PbmS2Vc8vyCv19DBE68tHgqXyFNiV5vl0Y5f3n7q82MkZaD6GbjZDWI38S xtQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750695160; x=1751299960; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=f78YX8Jv2hkXlixOcjovzULMHQy54ZDO00RkiEOZMLg=; b=I/+OalDFw12TlTGFtDBlPVPUAKMcl4zufyQHrmjPbZnf+w0tz5pyexle6i5XjBOFY6 QoEBQiTE8dV7py3YeVjQLrVo0mBsdHJt9EC9MtAwtI9+Kv4NR/vczQ9maIsMDIgmD6Oc QtMqBvRatA8ZCgxh6K0mqDaeqdqF/fUQS7Pt0kxswjWP1DX4wTJFv6ZcBu9eM7PoZusK +R9XGSmgYmoafuv/5gQAxa4HKHqArfW56pemKfzkH8zmfKm18Rsu8sWhqERy0suGL5do fvoe135j9g/6dCJzZLyV5+SMvX3pzK0Tg/lz/mYzZnVtOfv437gEidb0Z/l2hC8HsfOK /FAw== X-Forwarded-Encrypted: i=1; AJvYcCWKepFD5loxVIhGPzHR7dZiuIty9uVpzbR7f+ZP3PmVhC9JAfxvEg0qcMpKRULVDBt2blrcYP+YY/Os@vger.kernel.org, AJvYcCWflq2izVN9/meynruuuaelrKjHqD0yHSzlMEOp9IslicOhvlzYDNlPDxG15OIOQLzQqMkj7X8KZtfItUP3@vger.kernel.org X-Gm-Message-State: AOJu0Yz+Oh7ZZXT570WoXM8DDQIfT6yPJyvS766k9kpmYI4vHo8qRFAB rJuyQxUfL83Ahuma3HevYz4JMHy1kC2meozOY//DcJqowOcBiscnd6voZaQKgpTG X-Gm-Gg: ASbGncs59NZqg4dmzYwCeTItLdU0ValINP4n/qHUATl0cPt/2wUUlPDZnQZzeUcw89d zXgW65k22//eR/XKaJ9AVJG+hI4zAHSsGes6eECSbhRSKmK422NNIMj0Oad1mTMfDyQ8P+q6oSM eBntguesXfhF5Z5ffcSiUI+ipHRa8PuV0+z0gL05cstKmGjFsJNcKuB5bScr5zjduiES3CpYPZ7 7PJxKC/a8D3OmKueuQVcjb7Ky0AkNO/Z1QvpZNErqlhhBNeiOkpoyuaek/2KxKd3M8NLSNoBYxv AdmyDdy4blBllPMd5uABQV+sTMrr27zDvVmJCOiuqcvJBzfL3HUAB0K83ZqQlVF9oO+wr+Xw9u1 rUo+sFFb5Y28a5nk= X-Google-Smtp-Source: AGHT+IEQFD7ncJGbn/pBz/+p1d4K7L7mh1a5kN90gM3aF97um4Xo6JRQuOcwRlaKlzaUrBNsaYvNLw== X-Received: by 2002:a05:6a00:2e18:b0:748:ffaf:9b53 with SMTP id d2e1a72fcca58-7490d723218mr17461031b3a.16.1750695160533; Mon, 23 Jun 2025 09:12:40 -0700 (PDT) Received: from [10.22.1.180] ([67.159.246.222]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7490a467e6dsm9029608b3a.13.2025.06.23.09.12.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Jun 2025 09:12:40 -0700 (PDT) From: =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= Date: Mon, 23 Jun 2025 13:12:27 -0300 Subject: [PATCH 2/2] arm64: dts: ti: k3-am62p-verdin: Adjust temperature trip points Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250623-b4-verdin-am62p-cooling-device-v1-2-cc185ba5843d@toradex.com> References: <20250623-b4-verdin-am62p-cooling-device-v1-0-cc185ba5843d@toradex.com> In-Reply-To: <20250623-b4-verdin-am62p-cooling-device-v1-0-cc185ba5843d@toradex.com> To: Nishanth Menon , Vignesh Raghavendra , Tero Kristo , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Jo=C3=A3o_Paulo_Gon=C3=A7alves?= X-Mailer: b4 0.14.2 From: Jo=C3=A3o Paulo Gon=C3=A7alves While the TI AM62P supports a junction temperature (Tj) of up to 125=C2=B0C for industrial and automotive parts, Toradex Verdin-AM62P hardware lifetime guarantees consider a 105=C2=B0C Tj. Change the passive trip points to 95=C2=B0C and the critical trip points to 105=C2=B0C to be compliant wit= h the hardware specifications. Signed-off-by: Jo=C3=A3o Paulo Gon=C3=A7alves --- arch/arm64/boot/dts/ti/k3-am62p-verdin.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62p-verdin.dtsi b/arch/arm64/boot/= dts/ti/k3-am62p-verdin.dtsi index 226398c37fa9b348b8ea30e1e21f75e98bd3d60b..7676b24b13f67da81245c023e0f= dc27294efec82 100644 --- a/arch/arm64/boot/dts/ti/k3-am62p-verdin.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62p-verdin.dtsi @@ -848,6 +848,30 @@ mbox_mcu_r5_0: mbox-mcu-r5-0 { }; }; =20 +&main0_alert { + temperature =3D <95000>; +}; + +&main0_crit { + temperature =3D <105000>; +}; + +&main1_alert { + temperature =3D <95000>; +}; + +&main1_crit { + temperature =3D <105000>; +}; + +&main2_alert { + temperature =3D <95000>; +}; + +&main2_crit { + temperature =3D <105000>; +}; + &main_gpio0 { gpio-line-names =3D "SODIMM_52", --=20 2.43.0