summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcongying <congying@qti.qualcomm.com>2022-08-25 12:43:41 +0800
committercongying <congying@qti.qualcomm.com>2022-08-25 19:13:38 +0800
commit8fa9b27aa1b4ac12168562a71a3446dfdf1d8206 (patch)
tree0246091ac2284d90fbb52d6312dc0e46589543dc
parent886d4a7b1bebac0472f488907c4639d5389c0790 (diff)
downloaddevicetree-8fa9b27aa1b4ac12168562a71a3446dfdf1d8206.tar.gz
ARM: dts: qcom: Add second trip to skin-msm-therm-usr for sxr2130
There are two clients in userspace who can request different trip thresholds to skin-msm-therm. For fix this issue, add skin-msm-therm-usr second trip and enable these sensors to wakeup. Change-Id: I9f7f4f34814986f67bdd423f8a22daa807d238aa
-rw-r--r--qcom/kona-arglass.dtsi13
-rw-r--r--qcom/kona-xr.dtsi13
-rw-r--r--qcom/kona-xrfusion-ult.dtsi13
-rw-r--r--qcom/kona-xrfusion.dtsi13
-rw-r--r--qcom/kona-xrsku4.dtsi13
5 files changed, 65 insertions, 0 deletions
diff --git a/qcom/kona-arglass.dtsi b/qcom/kona-arglass.dtsi
index 8e676928..0298dc3d 100644
--- a/qcom/kona-arglass.dtsi
+++ b/qcom/kona-arglass.dtsi
@@ -683,6 +683,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150b_adc_tm ADC_AMUX_THM3_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -697,6 +698,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_XO_THERM_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -711,6 +713,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM1_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -725,6 +728,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM2_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -739,6 +743,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM1_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -753,12 +758,19 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM2_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
+
+ active-config1 {
+ temperature = <125000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
};
};
@@ -767,6 +779,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM3_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
diff --git a/qcom/kona-xr.dtsi b/qcom/kona-xr.dtsi
index 00b68e18..fe215ab2 100644
--- a/qcom/kona-xr.dtsi
+++ b/qcom/kona-xr.dtsi
@@ -1060,6 +1060,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150b_adc_tm ADC_AMUX_THM3_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1074,6 +1075,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_XO_THERM_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1088,6 +1090,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM1_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1102,6 +1105,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM2_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1116,6 +1120,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM1_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1130,12 +1135,19 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM2_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
+
+ active-config1 {
+ temperature = <125000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
};
};
@@ -1144,6 +1156,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM3_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
diff --git a/qcom/kona-xrfusion-ult.dtsi b/qcom/kona-xrfusion-ult.dtsi
index 61155ebf..86938f00 100644
--- a/qcom/kona-xrfusion-ult.dtsi
+++ b/qcom/kona-xrfusion-ult.dtsi
@@ -993,6 +993,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150b_adc_tm ADC_AMUX_THM3_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1007,6 +1008,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_XO_THERM_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1021,6 +1023,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM1_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1035,6 +1038,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM2_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1049,6 +1053,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM1_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1063,12 +1068,19 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM2_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
+
+ active-config1 {
+ temperature = <125000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
};
};
@@ -1077,6 +1089,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM3_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
diff --git a/qcom/kona-xrfusion.dtsi b/qcom/kona-xrfusion.dtsi
index 5d27eb9c..61f8c6db 100644
--- a/qcom/kona-xrfusion.dtsi
+++ b/qcom/kona-xrfusion.dtsi
@@ -924,6 +924,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150b_adc_tm ADC_AMUX_THM3_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -938,6 +939,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_XO_THERM_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -952,6 +954,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM1_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -966,6 +969,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM2_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -980,6 +984,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM1_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -994,12 +999,19 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM2_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
+
+ active-config1 {
+ temperature = <125000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
};
};
@@ -1008,6 +1020,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM3_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
diff --git a/qcom/kona-xrsku4.dtsi b/qcom/kona-xrsku4.dtsi
index 130863df..c618c200 100644
--- a/qcom/kona-xrsku4.dtsi
+++ b/qcom/kona-xrsku4.dtsi
@@ -1115,6 +1115,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150b_adc_tm ADC_AMUX_THM3_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1129,6 +1130,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_XO_THERM_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1143,6 +1145,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM1_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1157,6 +1160,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150_adc_tm ADC_AMUX_THM2_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1171,6 +1175,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM1_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
@@ -1185,12 +1190,19 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM2_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
+
+ active-config1 {
+ temperature = <125000>;
+ hysteresis = <1000>;
+ type = "passive";
+ };
};
};
@@ -1199,6 +1211,7 @@
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pm8150l_adc_tm ADC_AMUX_THM3_PU2>;
+ wake-capable-sensor;
trips {
active-config0 {
temperature = <125000>;