ARM: dts: qcom: update thermal zone shutdown trip type for sun

Use "hot" trip type for thermal zone software shutdown trip
for all thermal zones. It just notifies userspace thermal
manager which in turn triggers a graceful shutdown.

Change-Id: Icf7aa1f1da57a22b96ede18fcee75ebebb92830b
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
This commit is contained in:
Manaf Meethalavalappu Pallikunhi
2024-03-05 11:30:52 +05:30
parent 6551f93dd2
commit 79a44b80b6
9 changed files with 76 additions and 70 deletions

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
/* /*
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
@@ -58,7 +58,7 @@
trip1 { trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "critical"; type = "hot";
}; };
trip2 { trip2 {
@@ -85,7 +85,7 @@
trip1 { trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "critical"; type = "hot";
}; };
trip2 { trip2 {

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
/* /*
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
@@ -201,7 +201,7 @@
pm8550_trip1: trip1 { pm8550_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pm8550_trip2: trip2 { pm8550_trip2: trip2 {

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
/* /*
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
@@ -127,7 +127,7 @@
pm8550ve_d_trip1: trip1 { pm8550ve_d_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pm8550ve_d_trip2: trip2 { pm8550ve_d_trip2: trip2 {
@@ -155,7 +155,7 @@
pm8550ve_f_trip1: trip1 { pm8550ve_f_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pm8550ve_f_trip2: trip2 { pm8550ve_f_trip2: trip2 {
@@ -183,7 +183,7 @@
pm8550ve_g_trip1: trip1 { pm8550ve_g_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pm8550ve_g_trip2: trip2 { pm8550ve_g_trip2: trip2 {
@@ -211,7 +211,7 @@
pm8550ve_i_trip1: trip1 { pm8550ve_i_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pm8550ve_i_trip2: trip2 { pm8550ve_i_trip2: trip2 {

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
/* /*
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
@@ -175,7 +175,7 @@
pm8550vs_c_trip1: trip1 { pm8550vs_c_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pm8550vs_c_trip2: trip2 { pm8550vs_c_trip2: trip2 {
@@ -203,7 +203,7 @@
pm8550vs_d_trip1: trip1 { pm8550vs_d_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pm8550vs_d_trip2: trip2 { pm8550vs_d_trip2: trip2 {
@@ -231,7 +231,7 @@
pm8550vs_e_trip1: trip1 { pm8550vs_e_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pm8550vs_e_trip2: trip2 { pm8550vs_e_trip2: trip2 {
@@ -259,7 +259,7 @@
pm8550vs_f_trip1: trip1 { pm8550vs_f_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pm8550vs_f_trip2: trip2 { pm8550vs_f_trip2: trip2 {
@@ -287,7 +287,7 @@
pm8550vs_g_trip1: trip1 { pm8550vs_g_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pm8550vs_g_trip2: trip2 { pm8550vs_g_trip2: trip2 {
@@ -315,7 +315,7 @@
pm8550vs_j_trip1: trip1 { pm8550vs_j_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pm8550vs_j_trip2: trip2 { pm8550vs_j_trip2: trip2 {

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
/* /*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
@@ -111,7 +111,7 @@
pmd802x_trip1: trip1 { pmd802x_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pmd802x_trip2: trip2 { pmd802x_trip2: trip2 {

View File

@@ -274,7 +274,7 @@
pmih010x_trip1: trip1 { pmih010x_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pmih010x_trip2: trip2 { pmih010x_trip2: trip2 {
@@ -301,7 +301,7 @@
pmih010x_lite_trip1: trip1 { pmih010x_lite_trip1: trip1 {
temperature = <135000>; temperature = <135000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pmih010x_lite_trip2: trip2 { pmih010x_lite_trip2: trip2 {

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: BSD-3-Clause // SPDX-License-Identifier: BSD-3-Clause
/* /*
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/ */
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
@@ -53,7 +53,7 @@
pmr735d_trip1: trip1 { pmr735d_trip1: trip1 {
temperature = <115000>; temperature = <115000>;
hysteresis = <0>; hysteresis = <0>;
type = "passive"; type = "hot";
}; };
pmr735d_trip2: trip2 { pmr735d_trip2: trip2 {

View File

@@ -370,6 +370,12 @@
type = "passive"; type = "passive";
}; };
shutdown-trip {
temperature = <90000>;
hysteresis = <0>;
type = "hot";
};
display_test_config1: display-test-config1 { display_test_config1: display-test-config1 {
temperature = <125000>; temperature = <125000>;
hysteresis = <1000>; hysteresis = <1000>;

View File

@@ -311,7 +311,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -348,7 +348,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -397,7 +397,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -446,7 +446,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -495,7 +495,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -544,7 +544,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -593,7 +593,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -642,7 +642,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -691,7 +691,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -740,7 +740,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -789,7 +789,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -838,7 +838,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -887,7 +887,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -918,7 +918,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -937,7 +937,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -956,7 +956,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -993,7 +993,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1042,7 +1042,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1091,7 +1091,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1140,7 +1140,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1171,7 +1171,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -1190,7 +1190,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -1215,7 +1215,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -1240,7 +1240,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -1265,7 +1265,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -1290,7 +1290,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -1315,7 +1315,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -1340,7 +1340,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -1365,7 +1365,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -1390,7 +1390,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1416,7 +1416,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -1447,7 +1447,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1485,7 +1485,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1523,7 +1523,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1561,7 +1561,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1599,7 +1599,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1637,7 +1637,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1675,7 +1675,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1713,7 +1713,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1757,7 +1757,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1821,7 +1821,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1885,7 +1885,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1949,7 +1949,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
@@ -1995,7 +1995,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -2014,7 +2014,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -2033,7 +2033,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };
@@ -2052,7 +2052,7 @@
reset-mon-cfg { reset-mon-cfg {
temperature = <125000>; temperature = <125000>;
hysteresis = <5000>; hysteresis = <5000>;
type = "passive"; type = "hot";
}; };
}; };
}; };