]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: tegra: Add 35°C trip point for Jetson Orin NX/Nano
authorThierry Reding <treding@nvidia.com>
Mon, 17 Jul 2023 16:30:37 +0000 (18:30 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 26 Jul 2023 16:24:32 +0000 (18:24 +0200)
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.

Reviewed-by: Yi-Wei Wang <yiweiw@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra234-p3767.dtsi
arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0000.dts
arch/arm64/boot/dts/nvidia/tegra234-p3768-0000+p3767-0005.dts

index a8aa6e7d8fbc51718aa85f071d705aa5a1ffd01c..5f592f1d81e2ee1e8ec0c4fe16dd8f030319bb18 100644 (file)
 
                        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";
index 2f1a7feb9e0912011e89fdf51a551d300fb8134e..f1b4ea31674547b31f95ad3260ef63dec75c3443 100644 (file)
@@ -69,7 +69,7 @@
        };
 
        pwm-fan {
-               cooling-levels = <0 187 255>;
+               cooling-levels = <0 88 187 255>;
        };
 
        vdd_3v3_pcie: regulator-vdd-3v3-pcie {
                                        cooling-device = <&fan 1 2>;
                                        trip = <&tj_trip_active1>;
                                };
+
+                               map-active-2 {
+                                       cooling-device = <&fan 2 3>;
+                                       trip = <&tj_trip_active2>;
+                               };
                        };
                };
        };
index 9b86aa6f7dbe197d5c531e0a0f0152fe1e63bc67..9e9bb9ca8be40547d129842477e77a745cb3bf9d 100644 (file)
@@ -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 {
                                        cooling-device = <&fan 1 2>;
                                        trip = <&tj_trip_active1>;
                                };
+
+                               map-active-2 {
+                                       cooling-device = <&fan 2 3>;
+                                       trip = <&tj_trip_active2>;
+                               };
                        };
                };
        };