* [PATCH 0/1] Changed all sensor values Thermal-zones node
@ 2020-03-03 9:16 Rajeshwari
2020-03-03 9:16 ` [PATCH 1/1] arm64: dts: qcom: sc7180: " Rajeshwari
0 siblings, 1 reply; 3+ messages in thread
From: Rajeshwari @ 2020-03-03 9:16 UTC (permalink / raw)
To: Andy Gross, Rob Herring, Bjorn Andersson
Cc: linux-arm-msm, devicetree, linux-kernel, sanm, sivaa, Rajeshwari
Changes:
* changed threshold values to 110C
* changed trip point to critical
Rajeshwari (1):
arm64: dts: qcom: sc7180: Changed all sensor values Thermal-zones node
arch/arm64/boot/dts/qcom/sc7180.dtsi | 52 ++++++++++++++++++------------------
1 file changed, 26 insertions(+), 26 deletions(-)
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] arm64: dts: qcom: sc7180: Changed all sensor values Thermal-zones node
2020-03-03 9:16 [PATCH 0/1] Changed all sensor values Thermal-zones node Rajeshwari
@ 2020-03-03 9:16 ` Rajeshwari
2020-03-03 11:32 ` Amit Kucheria
0 siblings, 1 reply; 3+ messages in thread
From: Rajeshwari @ 2020-03-03 9:16 UTC (permalink / raw)
To: Andy Gross, Rob Herring, Bjorn Andersson
Cc: linux-arm-msm, devicetree, linux-kernel, sanm, sivaa, Rajeshwari
To enable kernel critical shutdown feature all sensors threshold values
should be 110C to perform shutdown in orderly manner and changed trip
point from hot to critical.
Signed-off-by: Rajeshwari <rkambl@codeaurora.org>
---
arch/arm64/boot/dts/qcom/sc7180.dtsi | 52 ++++++++++++++++++------------------
1 file changed, 26 insertions(+), 26 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
index d068584..55fd156 100644
--- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
@@ -1952,9 +1952,9 @@
trips {
aoss0_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2007,9 +2007,9 @@
trips {
gpuss0_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2022,9 +2022,9 @@
trips {
gpuss1_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2037,9 +2037,9 @@
trips {
aoss1_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2052,9 +2052,9 @@
trips {
cwlan_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2067,9 +2067,9 @@
trips {
audio_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2082,9 +2082,9 @@
trips {
ddr_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2097,9 +2097,9 @@
trips {
q6_hvx_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2112,9 +2112,9 @@
trips {
camera_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2127,9 +2127,9 @@
trips {
mdm_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2142,9 +2142,9 @@
trips {
mdm_dsp_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2157,9 +2157,9 @@
trips {
npu_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
@@ -2172,9 +2172,9 @@
trips {
video_alert0: trip-point0 {
- temperature = <90000>;
+ temperature = <110000>;
hysteresis = <2000>;
- type = "hot";
+ type = "critical";
};
};
};
--
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] arm64: dts: qcom: sc7180: Changed all sensor values Thermal-zones node
2020-03-03 9:16 ` [PATCH 1/1] arm64: dts: qcom: sc7180: " Rajeshwari
@ 2020-03-03 11:32 ` Amit Kucheria
0 siblings, 0 replies; 3+ messages in thread
From: Amit Kucheria @ 2020-03-03 11:32 UTC (permalink / raw)
To: Rajeshwari
Cc: Andy Gross, Rob Herring, Bjorn Andersson, linux-arm-msm,
open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS, LKML,
sanm, sivaa
On Tue, Mar 3, 2020 at 2:47 PM Rajeshwari <rkambl@codeaurora.org> wrote:
>
> To enable kernel critical shutdown feature all sensors threshold values
> should be 110C to perform shutdown in orderly manner and changed trip
> point from hot to critical.
IMO, we should keep the hot trip at 90 so we can potentially use it
for notifications via the ops->notify callback in the future.
Just add a new critical trip section to all these non-CPU thermal
zones if you want to trigger the orderly shutdown when one of them
reaches the threshold.
> Signed-off-by: Rajeshwari <rkambl@codeaurora.org>
> ---
> arch/arm64/boot/dts/qcom/sc7180.dtsi | 52 ++++++++++++++++++------------------
> 1 file changed, 26 insertions(+), 26 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> index d068584..55fd156 100644
> --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> @@ -1952,9 +1952,9 @@
>
> trips {
> aoss0_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2007,9 +2007,9 @@
>
> trips {
> gpuss0_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2022,9 +2022,9 @@
>
> trips {
> gpuss1_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2037,9 +2037,9 @@
>
> trips {
> aoss1_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2052,9 +2052,9 @@
>
> trips {
> cwlan_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2067,9 +2067,9 @@
>
> trips {
> audio_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2082,9 +2082,9 @@
>
> trips {
> ddr_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2097,9 +2097,9 @@
>
> trips {
> q6_hvx_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2112,9 +2112,9 @@
>
> trips {
> camera_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2127,9 +2127,9 @@
>
> trips {
> mdm_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2142,9 +2142,9 @@
>
> trips {
> mdm_dsp_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2157,9 +2157,9 @@
>
> trips {
> npu_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> @@ -2172,9 +2172,9 @@
>
> trips {
> video_alert0: trip-point0 {
> - temperature = <90000>;
> + temperature = <110000>;
> hysteresis = <2000>;
> - type = "hot";
> + type = "critical";
> };
> };
> };
> --
> QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
> of Code Aurora Forum, hosted by The Linux Foundation
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-03-03 11:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-03 9:16 [PATCH 0/1] Changed all sensor values Thermal-zones node Rajeshwari
2020-03-03 9:16 ` [PATCH 1/1] arm64: dts: qcom: sc7180: " Rajeshwari
2020-03-03 11:32 ` Amit Kucheria
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).