mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	Fix bpi-r64 on 6.1 kernel
This commit is contained in:
		
							parent
							
								
									34aa6d03cd
								
							
						
					
					
						commit
						48a664ff20
					
				
					 126 changed files with 17222 additions and 2387 deletions
				
			
		| 
						 | 
				
			
			@ -0,0 +1,51 @@
 | 
			
		|||
From bb78d0cf5117517f1ed296ae71048945d9107675 Mon Sep 17 00:00:00 2001
 | 
			
		||||
From: Daniel Golle <daniel@makrotopia.org>
 | 
			
		||||
Date: Tue, 30 May 2023 22:12:34 +0200
 | 
			
		||||
Subject: [PATCH 17/19] arm64: dts: mt7986: add thermal-zones
 | 
			
		||||
 | 
			
		||||
Add thermal-zones to mt7986 devicetree.
 | 
			
		||||
 | 
			
		||||
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
 | 
			
		||||
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
 | 
			
		||||
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
 | 
			
		||||
Link: https://lore.kernel.org/r/20230530201235.22330-4-linux@fw-web.de
 | 
			
		||||
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
 | 
			
		||||
---
 | 
			
		||||
 arch/arm64/boot/dts/mediatek/mt7986a.dtsi | 28 +++++++++++++++++++++++
 | 
			
		||||
 1 file changed, 28 insertions(+)
 | 
			
		||||
 | 
			
		||||
--- a/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
 | 
			
		||||
+++ b/arch/arm64/boot/dts/mediatek/mt7986a.dtsi
 | 
			
		||||
@@ -602,4 +602,32 @@
 | 
			
		||||
 			memory-region = <&wmcpu_emi>;
 | 
			
		||||
 		};
 | 
			
		||||
 	};
 | 
			
		||||
+
 | 
			
		||||
+	thermal-zones {
 | 
			
		||||
+		cpu_thermal: cpu-thermal {
 | 
			
		||||
+			polling-delay-passive = <1000>;
 | 
			
		||||
+			polling-delay = <1000>;
 | 
			
		||||
+			thermal-sensors = <&thermal 0>;
 | 
			
		||||
+
 | 
			
		||||
+			trips {
 | 
			
		||||
+				cpu_trip_active_high: active-high {
 | 
			
		||||
+					temperature = <115000>;
 | 
			
		||||
+					hysteresis = <2000>;
 | 
			
		||||
+					type = "active";
 | 
			
		||||
+				};
 | 
			
		||||
+
 | 
			
		||||
+				cpu_trip_active_low: active-low {
 | 
			
		||||
+					temperature = <85000>;
 | 
			
		||||
+					hysteresis = <2000>;
 | 
			
		||||
+					type = "active";
 | 
			
		||||
+				};
 | 
			
		||||
+
 | 
			
		||||
+				cpu_trip_passive: passive {
 | 
			
		||||
+					temperature = <40000>;
 | 
			
		||||
+					hysteresis = <2000>;
 | 
			
		||||
+					type = "passive";
 | 
			
		||||
+				};
 | 
			
		||||
+			};
 | 
			
		||||
+		};
 | 
			
		||||
+	};
 | 
			
		||||
 };
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue