From d3aa3fafe2898e5afdbfa6c33bf325414e81aaca Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Mon, 17 Jul 2023 18:30:37 +0200 Subject: [PATCH] =?UTF-8?q?arm64:=20tegra:=20Add=2035=C2=B0C=20trip=20poin?= =?UTF-8?q?t=20for=20Jetson=20Orin=20NX/Nano?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It turns out that these devices can get quite hot to the touch with the standard cooling configuration, so add another trip point at 35°C along with a cooling map to help keep the system reasonably cool at very low system load. Cherry picked from commit 22237440d89c870ec3f905a59f469998233718ec Bug 4204722 Change-Id: I7eb212241600f945173f4702fa2f9d09a6daf232 Reviewed-by: Yi-Wei Wang Signed-off-by: Thierry Reding Signed-off-by: Laxman Dewangan Reviewed-on: https://git-master.nvidia.com/r/c/device/hardware/nvidia/t23x-public-dts/+/2946052 Tested-by: mobile promotions Reviewed-by: mobile promotions --- tegra234-p3767.dtsi | 8 +++++++- tegra234-p3768-0000+p3767-0000.dts | 7 ++++++- tegra234-p3768-0000+p3767-0005.dts | 7 ++++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/tegra234-p3767.dtsi b/tegra234-p3767.dtsi index a8aa6e7..5f592f1 100644 --- a/tegra234-p3767.dtsi +++ b/tegra234-p3767.dtsi @@ -106,12 +106,18 @@ trips { tj_trip_active0: active-0 { - temperature = <74000>; + temperature = <35000>; hysteresis = <4000>; type = "active"; }; tj_trip_active1: active-1 { + temperature = <74000>; + hysteresis = <4000>; + type = "active"; + }; + + tj_trip_active2: active-2 { temperature = <95000>; hysteresis = <4000>; type = "active"; diff --git a/tegra234-p3768-0000+p3767-0000.dts b/tegra234-p3768-0000+p3767-0000.dts index d686896..f3950d2 100644 --- a/tegra234-p3768-0000+p3767-0000.dts +++ b/tegra234-p3768-0000+p3767-0000.dts @@ -68,7 +68,7 @@ }; pwm-fan { - cooling-levels = <0 187 255>; + cooling-levels = <0 88 187 255>; }; vdd_3v3_pcie: regulator-vdd-3v3-pcie { @@ -96,6 +96,11 @@ cooling-device = <&fan 1 2>; trip = <&tj_trip_active1>; }; + + map-active-2 { + cooling-device = <&fan 2 3>; + trip = <&tj_trip_active2>; + }; }; }; }; diff --git a/tegra234-p3768-0000+p3767-0005.dts b/tegra234-p3768-0000+p3767-0005.dts index 9b86aa6..9e9bb9c 100644 --- a/tegra234-p3768-0000+p3767-0005.dts +++ b/tegra234-p3768-0000+p3767-0005.dts @@ -12,7 +12,7 @@ model = "NVIDIA Jetson Orin Nano Developer Kit"; pwm-fan { - cooling-levels = <0 187 255>; + cooling-levels = <0 88 187 255>; }; thermal-zones { @@ -27,6 +27,11 @@ cooling-device = <&fan 1 2>; trip = <&tj_trip_active1>; }; + + map-active-2 { + cooling-device = <&fan 2 3>; + trip = <&tj_trip_active2>; + }; }; }; };