Skip to contentSkip to conversation

ARM: tegra: set hw trips for Tegra124

PATCH Superseded Wei Ni 2 participants 3 messages Jan 13, 2016 – Jan 15, 2016

Subsystems (2)

v1 of 9 Superseded Latest is v9 →

lore
Share & tools
lore

Wei Ni

author
#0 lore raw

PATCH 10/10 ARM: tegra: set hw trips for Tegra124

Set hw trips for Tegra124.

---
 arch/arm/boot/dts/tegra124.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/tegra124.dtsi +9 -0
index 68669f791c8b..c670d71a8f37 100644
@@ -701,6 +701,15 @@
 		resets = <&tegra_car 78>;
 		reset-names = "soctherm";
 		#thermal-sensor-cells = <1>;
+
+		hw-trips {
+			cpu {
+				therm-temp = <103000>;
+			};
+			gpu {
+				therm-temp = <101000>;
+			};
+		};
 	};
 
 	dfll: clock@0,70110000 {
Signature · 1 line
1.9.1
#1 lore raw
Quoted 17 lines · Wei Ni

Set hw trips for Tegra124.

---
 arch/arm/boot/dts/tegra124.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/tegra124.dtsi +2 -0
index 68669f791c8b..c670d71a8f37 100644
@@ -701,6 +701,15 @@
 		resets = <&tegra_car 78>;
 		reset-names = "soctherm";
 		#thermal-sensor-cells = <1>;
+
+		hw-trips {

arch/arm/boot/dts/tegra124.dtsi line 715

Quoted 10 lines
arch/arm/boot/dts/tegra124.dtsi +7 -0
+			cpu {
+				therm-temp = <103000>;
+			};
+			gpu {
+				therm-temp = <101000>;
+			};
+		};
 	};
 
 	dfll: clock@0,70110000 {

For Tegra210 you added a mem subnode, why doesn't Tegra124 have one like that?

Thierry

author
#2 lore raw
Quoted 29 lines · Thierry Reding

* PGP Signed by an unknown key

Quoted 26 lines · Wei Ni

Set hw trips for Tegra124.

---
 arch/arm/boot/dts/tegra124.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)
arch/arm/boot/dts/tegra124.dtsi +9 -0
index 68669f791c8b..c670d71a8f37 100644
@@ -701,6 +701,15 @@
 		resets = <&tegra_car 78>;
 		reset-names = "soctherm";
 		#thermal-sensor-cells = <1>;
+
+		hw-trips {
+			cpu {
+				therm-temp = <103000>;
+			};
+			gpu {
+				therm-temp = <101000>;
+			};
+		};
 	};
 
Quoted 4 lines

arch/arm/boot/dts/tegra124.dtsi line 715

Quoted 1 line
arch/arm/boot/dts/tegra124.dtsi +0 -0
 	dfll: clock@0,70110000 {

For Tegra210 you added a mem subnode, why doesn't Tegra124 have one like that?

Sorry, I made a mistake, I should remove the mem for Tegra210.

Quoted 6 lines

Thierry

* Unknown Key
* 0x7F3EB3A1