mirror of
https://github.com/armbian/build.git
synced 2025-08-14 07:06:58 +02:00
* Bump imx6 edge to 5.12.y * Bump odroid xu4 edge to 5.12.y * Bump Jetson nano edge to 5.12.y * WIP: Bump sunxi to 5.12.y - create a copy of patches and make a new link - wireless patches needs adjutement to 5.12 - some patches are still failing * Adjust wireless patches to build on 5.12.y * Remove template wireless patch * Move Espressobin edge to 5.12.y * Bump mvebu to 5.12 - patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath - adjusted wireless driver for 8723ds * Adjust sunxi / sunxi64 edge to compile * Fix kernel config for Jetson nano edge * bump meson64 to 5.12.y * bump rockchip edge to 5.12.y * Bump rockchip64 to 5.12.y * Bump rk322x edge to 5.12.y @paolosabatino * Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y * Update odroidxu4 edge links * rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules * Cleanup: remove deprecated config Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
94 lines
2.2 KiB
Diff
94 lines
2.2 KiB
Diff
diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
|
|
index a79956f7b..b4891d31f 100644
|
|
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
|
|
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
|
|
@@ -210,32 +201,74 @@
|
|
};
|
|
|
|
thermal-zones {
|
|
- cpu_thermal: cpu-thermal {
|
|
- polling-delay-passive = <0>;
|
|
- polling-delay = <0>;
|
|
- thermal-sensors = <&ths 0>;
|
|
+ cpu_thermal {
|
|
+ /* milliseconds */
|
|
+ polling-delay-passive = <250>;
|
|
+ polling-delay = <1000>;
|
|
+ thermal-sensors = <&ths>;
|
|
|
|
trips {
|
|
- cpu_hot_trip: cpu-hot {
|
|
+ cpu_warm: cpu_warm {
|
|
+ temperature = <75000>;
|
|
+ hysteresis = <2000>;
|
|
+ type = "passive";
|
|
+ };
|
|
+
|
|
+ cpu_hot_pre: cpu_hot_pre {
|
|
temperature = <80000>;
|
|
hysteresis = <2000>;
|
|
type = "passive";
|
|
};
|
|
|
|
- cpu_very_hot_trip: cpu-very-hot {
|
|
- temperature = <100000>;
|
|
- hysteresis = <0>;
|
|
+ cpu_hot: cpu_hot {
|
|
+ temperature = <85000>;
|
|
+ hysteresis = <2000>;
|
|
+ type = "passive";
|
|
+ };
|
|
+
|
|
+ cpu_very_hot_pre: cpu_very_hot_pre {
|
|
+ temperature = <90000>;
|
|
+ hysteresis = <2000>;
|
|
+ type = "passive";
|
|
+ };
|
|
+
|
|
+ cpu_very_hot: cpu_very_hot {
|
|
+ temperature = <95000>;
|
|
+ hysteresis = <2000>;
|
|
+ type = "passive";
|
|
+ };
|
|
+
|
|
+ cpu_crit: cpu_crit {
|
|
+ temperature = <105000>;
|
|
+ hysteresis = <2000>;
|
|
type = "critical";
|
|
};
|
|
};
|
|
|
|
cooling-maps {
|
|
- cpu-hot-limit {
|
|
- trip = <&cpu_hot_trip>;
|
|
- cooling-device = <&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>;
|
|
+ cpu_warm_limit_cpu {
|
|
+ trip = <&cpu_warm>;
|
|
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT 2>;
|
|
+ };
|
|
+
|
|
+ cpu_hot_pre_limit_cpu {
|
|
+ trip = <&cpu_hot_pre>;
|
|
+ cooling-device = <&cpu0 2 3>;
|
|
+ };
|
|
+
|
|
+ cpu_hot_limit_cpu {
|
|
+ trip = <&cpu_hot>;
|
|
+ cooling-device = <&cpu0 3 4>;
|
|
+ };
|
|
+
|
|
+ cpu_very_hot_pre_limit_cpu {
|
|
+ trip = <&cpu_very_hot_pre>;
|
|
+ cooling-device = <&cpu0 5 6>;
|
|
+ };
|
|
+
|
|
+ cpu_very_hot_limit_cpu {
|
|
+ trip = <&cpu_very_hot>;
|
|
+ cooling-device = <&cpu0 7 THERMAL_NO_LIMIT>;
|
|
};
|
|
};
|
|
};
|