ARM: dts: msm: Add CX based mitigation thermal zone rules for kona

Add thermal zone mitigation rule for all cx client sensors
with cdsp, npu, gpu and modem cooling devcies based on latest
Recommendation.

Change-Id: I9246bf9a0de95b2ebf2ac19c83f12be75f5a3cff
This commit is contained in:
Gopala Krishna Nuthaki committed 2020-06-23 22:32:42 +05:30
1 parent 1419bb7d5f
commit 07e5dc3452
1 file changed
+308
+308
View File
@@ -1108,6 +1108,314 @@
};
};
cwlan-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 1>;
thermal-governor = "step_wise";
wake-capable-sensor;
trips {
cwlan_trip0: cwlan-trip0 {
temperature = <100000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
cdsp-cdev {
trip = <&cwlan_trip0>;
cooling-device = <&msm_cdsp_rm 3 3>;
};
gpu-cdev {
trip = <&cwlan_trip0>;
cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
(THERMAL_MAX_LIMIT-1)>;
};
modem-pa-cdev {
trip = <&cwlan_trip0>;
cooling-device = <&modem_pa 3 3>;
};
modem-tj-cdev {
trip = <&cwlan_trip0>;
cooling-device = <&modem_tj 3 3>;
};
npu_cdev {
trip = <&cwlan_trip0>;
cooling-device = <&msm_npu (THERMAL_MAX_LIMIT-3)
(THERMAL_MAX_LIMIT-3)>;
};
};
};
video-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 2>;
thermal-governor = "step_wise";
wake-capable-sensor;
trips {
video_trip0: video-trip0 {
temperature = <100000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
cdsp-cdev {
trip = <&video_trip0>;
cooling-device = <&msm_cdsp_rm 3 3>;
};
gpu-cdev {
trip = <&video_trip0>;
cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
(THERMAL_MAX_LIMIT-1)>;
};
modem-pa-cdev {
trip = <&video_trip0>;
cooling-device = <&modem_pa 3 3>;
};
modem-tj-cdev {
trip = <&video_trip0>;
cooling-device = <&modem_tj 3 3>;
};
npu_cdev {
trip = <&video_trip0>;
cooling-device = <&msm_npu (THERMAL_MAX_LIMIT-3)
(THERMAL_MAX_LIMIT-3)>;
};
};
};
ddr-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 3>;
thermal-governor = "step_wise";
wake-capable-sensor;
trips {
ddr_trip0: ddr-trip0 {
temperature = <100000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
cdsp-cdev {
trip = <&ddr_trip0>;
cooling-device = <&msm_cdsp_rm 3 3>;
};
gpu-cdev {
trip = <&ddr_trip0>;
cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
(THERMAL_MAX_LIMIT-1)>;
};
modem-pa-cdev {
trip = <&ddr_trip0>;
cooling-device = <&modem_pa 3 3>;
};
modem-tj-cdev {
trip = <&ddr_trip0>;
cooling-device = <&modem_tj 3 3>;
};
npu_cdev {
trip = <&ddr_trip0>;
cooling-device = <&msm_npu (THERMAL_MAX_LIMIT-3)
(THERMAL_MAX_LIMIT-3)>;
};
};
};
q6-hvx-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 4>;
thermal-governor = "step_wise";
wake-capable-sensor;
trips {
q6_hvx_trip0: q6-hvx-trip0 {
temperature = <100000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
cdsp-cdev {
trip = <&q6_hvx_trip0>;
cooling-device = <&msm_cdsp_rm 3 3>;
};
gpu-cdev {
trip = <&q6_hvx_trip0>;
cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
(THERMAL_MAX_LIMIT-1)>;
};
modem-pa-cdev {
trip = <&q6_hvx_trip0>;
cooling-device = <&modem_pa 3 3>;
};
modem-tj-cdev {
trip = <&q6_hvx_trip0>;
cooling-device = <&modem_tj 3 3>;
};
npu_cdev {
trip = <&q6_hvx_trip0>;
cooling-device = <&msm_npu (THERMAL_MAX_LIMIT-3)
(THERMAL_MAX_LIMIT-3)>;
};
};
};
camera-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 5>;
thermal-governor = "step_wise";
wake-capable-sensor;
trips {
camera_trip0: camera-trip0 {
temperature = <100000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
cdsp-cdev {
trip = <&camera_trip0>;
cooling-device = <&msm_cdsp_rm 3 3>;
};
gpu-cdev {
trip = <&camera_trip0>;
cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
(THERMAL_MAX_LIMIT-1)>;
};
modem-pa-cdev {
trip = <&camera_trip0>;
cooling-device = <&modem_pa 3 3>;
};
modem-tj-cdev {
trip = <&camera_trip0>;
cooling-device = <&modem_tj 3 3>;
};
npu_cdev {
trip = <&camera_trip0>;
cooling-device = <&msm_npu (THERMAL_MAX_LIMIT-3)
(THERMAL_MAX_LIMIT-3)>;
};
};
};
cmpss-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 6>;
thermal-governor = "step_wise";
wake-capable-sensor;
trips {
cmpss_trip0: cmpss-trip0 {
temperature = <100000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
cdsp-cdev {
trip = <&cmpss_trip0>;
cooling-device = <&msm_cdsp_rm 3 3>;
};
gpu-cdev {
trip = <&cmpss_trip0>;
cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
(THERMAL_MAX_LIMIT-1)>;
};
modem-pa-cdev {
trip = <&cmpss_trip0>;
cooling-device = <&modem_pa 3 3>;
};
modem-tj-cdev {
trip = <&cmpss_trip0>;
cooling-device = <&modem_tj 3 3>;
};
npu_cdev {
trip = <&cmpss_trip0>;
cooling-device = <&msm_npu (THERMAL_MAX_LIMIT-3)
(THERMAL_MAX_LIMIT-3)>;
};
};
};
npu-step {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&tsens1 7>;
thermal-governor = "step_wise";
wake-capable-sensor;
trips {
npu_trip0: npu-trip0 {
temperature = <100000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
cdsp-cdev {
trip = <&npu_trip0>;
cooling-device = <&msm_cdsp_rm 3 3>;
};
gpu-cdev {
trip = <&npu_trip0>;
cooling-device = <&msm_gpu (THERMAL_MAX_LIMIT-1)
(THERMAL_MAX_LIMIT-1)>;
};
modem-pa-cdev {
trip = <&npu_trip0>;
cooling-device = <&modem_pa 3 3>;
};
modem-tj-cdev {
trip = <&npu_trip0>;
cooling-device = <&modem_tj 3 3>;
};
npu_cdev {
trip = <&npu_trip0>;
cooling-device = <&msm_npu (THERMAL_MAX_LIMIT-3)
(THERMAL_MAX_LIMIT-3)>;
};
};
};
modem-lte-sub6-pa1 {
polling-delay-passive = <0>;
polling-delay = <0>;