* Linux: Update kernel 5.15.25 Use highest available kernel version in Buildroot 2021.08 (5.13) * Update Hardkernel patches to Linux 5.15 * Update generic-x86-64/ova kernel config/patches for 5.15 * Drop Intel e1000e Sourceforge driver The driver has been discontinued sometime last year. The main reason the out-of-tree kernel has been enabled was for support for the i219-V network chips which meanwhile are supported in mainline.
75 lines
2.5 KiB
Diff
75 lines
2.5 KiB
Diff
From 5b2b8c960269eba18f0557bf49990b9c28e5e6af Mon Sep 17 00:00:00 2001
|
|
Message-Id: <5b2b8c960269eba18f0557bf49990b9c28e5e6af.1646168061.git.stefan@agner.ch>
|
|
In-Reply-To: <9f8390a715bc58e7423b65a18c4499761c84b819.1646168061.git.stefan@agner.ch>
|
|
References: <9f8390a715bc58e7423b65a18c4499761c84b819.1646168061.git.stefan@agner.ch>
|
|
From: Stefan Agner <stefan@agner.ch>
|
|
Date: Mon, 11 Jan 2021 15:53:55 +0100
|
|
Subject: [PATCH 3/7] arm64: dts: meson: g12b: odroid-n2: add fan as cooling
|
|
device
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Add the GPIO fan as a cooling device for the CPU thermal zone. Since we
|
|
have only full fan speed available with this, set the tripping point to
|
|
65°C which is the highest tripping point which Hardkernel used in their
|
|
downstream kernel.
|
|
|
|
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
|
---
|
|
.../dts/amlogic/meson-g12b-odroid-n2.dtsi | 38 +++++++++++++++++++
|
|
1 file changed, 38 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
|
index 36dbd2666015..5ca75696bd5c 100644
|
|
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
|
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi
|
|
@@ -388,6 +388,44 @@ &clkc_audio {
|
|
status = "okay";
|
|
};
|
|
|
|
+&cpu_thermal {
|
|
+ trips {
|
|
+ cpu_warm: cpu_warm {
|
|
+ hysteresis = <5000>;
|
|
+ temperature = <65000>;
|
|
+ type = "active";
|
|
+ };
|
|
+ };
|
|
+
|
|
+ cooling-maps {
|
|
+ map0 {
|
|
+ cooling-device =
|
|
+ <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
+ trip = <&cpu_warm>;
|
|
+ };
|
|
+ map1 {
|
|
+ trip = <&cpu_passive>;
|
|
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
+ };
|
|
+ map2 {
|
|
+ trip = <&cpu_hot>;
|
|
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&cpu100 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&cpu101 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&cpu102 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&cpu103 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
|
|
+ <&fan0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
&cpu0 {
|
|
cpu-supply = <&vddcpu_b>;
|
|
operating-points-v2 = <&cpu_opp_table_0>;
|
|
--
|
|
2.35.1
|
|
|