Skip to contentSkip to conversation

Added critical trip point Thermal-zones node

PATCH In review Rajeshwari 2 participants 3 messages Mar 5, 2020

Subsystems (4)
lore
Share & tools
lore

Rajeshwari

author
#0 lore raw

cover Added critical trip point Thermal-zones node

Changes:
* Added critical trip point to all non CPU sensors.

Rajeshwari (1):
arm64: dts: qcom: sc7180: Added critical trip point Thermal-zones node

 arch/arm64/boot/dts/qcom/sc7180.dtsi | 78 ++++++++++++++++++++++++++++++++++++
 1 file changed, 78 insertions(+)
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member 
of Code Aurora Forum, hosted by The Linux Foundation
author
#1 lore raw

PATCH 1/1 arm64: dts: qcom: sc7180: Added critical trip point Thermal-zones node

To enable kernel critical shutdown feature added critical trip point to all non CPU sensors to perform shutdown in orderly manner.

---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 78 ++++++++++++++++++++++++++++++++++++
 1 file changed, 78 insertions(+)
arch/arm64/boot/dts/qcom/sc7180.dtsi +78 -0
index 253274d..ca876ed 100644
@@ -2366,6 +2366,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				aoss0_crit: aoss0_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2421,6 +2427,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				gpuss0_crit: gpuss0_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2436,6 +2448,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				gpuss1_crit: gpuss1_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2451,6 +2469,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				aoss1_crit: aoss1_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2466,6 +2490,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				cwlan_crit: cwlan_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2481,6 +2511,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				audio_crit: audio_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2496,6 +2532,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				ddr_crit: ddr_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2511,6 +2553,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				q6_hvx_crit: q6_hvx_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2526,6 +2574,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				camera_crit: camera_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2541,6 +2595,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				mdm_crit: mdm_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2556,6 +2616,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				mdm_dsp_crit: mdm_dsp_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2571,6 +2637,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				npu_crit: npu_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 
@@ -2586,6 +2658,12 @@
 					hysteresis = <2000>;
 					type = "hot";
 				};
+
+				video_crit: video_crit {
+					temperature = <110000>;
+					hysteresis = <2000>;
+					type = "critical";
+				};
 			};
 		};
 	};
Signature · 2 lines
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member 
of Code Aurora Forum, hosted by The Linux Foundation
Reviewed-by on v1 1/1
#2 lore raw

Re: [PATCH 1/1] arm64: dts: qcom: sc7180: Added critical trip point Thermal-zones node

Hi Rajeshwari,

Please cc reviewers of the previous version of the patches in the future.

Quoted 5 lines · Rajeshwari

To enable kernel critical shutdown feature added critical trip point to all non CPU sensors to perform shutdown in orderly manner.

Quoted 181 lines
---
 arch/arm64/boot/dts/qcom/sc7180.dtsi | 78 ++++++++++++++++++++++++++++++++++++
 1 file changed, 78 insertions(+)
arch/arm64/boot/dts/qcom/sc7180.dtsi +78 -1
index 253274d..ca876ed 100644
@@ -2366,6 +2366,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               aoss0_crit: aoss0_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2421,6 +2427,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               gpuss0_crit: gpuss0_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2436,6 +2448,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               gpuss1_crit: gpuss1_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2451,6 +2469,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               aoss1_crit: aoss1_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2466,6 +2490,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               cwlan_crit: cwlan_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2481,6 +2511,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               audio_crit: audio_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2496,6 +2532,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               ddr_crit: ddr_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2511,6 +2553,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               q6_hvx_crit: q6_hvx_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2526,6 +2574,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               camera_crit: camera_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2541,6 +2595,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               mdm_crit: mdm_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2556,6 +2616,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               mdm_dsp_crit: mdm_dsp_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2571,6 +2637,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               npu_crit: npu_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
 
@@ -2586,6 +2658,12 @@
                                        hysteresis = <2000>;
                                        type = "hot";
                                };
+
+                               video_crit: video_crit {
+                                       temperature = <110000>;
+                                       hysteresis = <2000>;
+                                       type = "critical";
+                               };
                        };
                };
        };
--

QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation