ARM: dts: qcom: Add modem mitigation for bcl violation in lahaina

Add modem level 3 mitigation for bcl level 0 violation
based on latest recommendation for lahaina.

Increase passive delay for bcl thermal zones to delay
clearing bcl mitigation.

Change-Id: I50e7935c53511e5c47826a4252cfebd0e346c1f8
This commit is contained in:
Manaf Meethalavalappu Pallikunhi 2021-05-19 23:27:57 +05:30 • committed by Gerrit - the friendly Code Review server
commit 2fc1da9d97
2 changed files with 33 additions and 23 deletions

View file

@ -36,6 +36,16 @@
pm8350b-bcl-lvl0 {
cooling-maps {
vbat_modem_l3 {
trip = <&b_bcl_lvl0>;
cooling-device = <&modem_tj 3 3>;
};
vbat_gpu0 {
trip = <&b_bcl_lvl0>;
cooling-device = <&msm_gpu 2 2>;
};
vbat_cpu4 {
trip = <&b_bcl_lvl0>;
cooling-device = <&cpu4_isolate 1 1>;
@ -46,11 +56,6 @@
cooling-device = <&cpu5_isolate 1 1>;
};
vbat_gpu0 {
trip = <&b_bcl_lvl0>;
cooling-device = <&msm_gpu 2 2>;
};
vbat_cdsp0 {
trip = <&b_bcl_lvl0>;
cooling-device = <&cdsp_sw 2 2>;
@ -60,6 +65,11 @@
pm8350b-bcl-lvl1 {
cooling-maps {
vbat_gpu1 {
trip = <&b_bcl_lvl1>;
cooling-device = <&msm_gpu 4 4>;
};
vbat_cpu6 {
trip = <&b_bcl_lvl1>;
cooling-device = <&cpu6_isolate 1 1>;
@ -70,11 +80,6 @@
cooling-device = <&cpu7_isolate 1 1>;
};
vbat_gpu1 {
trip = <&b_bcl_lvl1>;
cooling-device = <&msm_gpu 4 4>;
};
vbat_cdsp1 {
trip = <&b_bcl_lvl1>;
cooling-device = <&cdsp_sw 4 4>;
@ -101,6 +106,16 @@
pm8350c-bcl-lvl0 {
disable-thermal-zone;
cooling-maps {
vph_modem_l3 {
trip = <&c_bcl_lvl0>;
cooling-device = <&modem_tj 3 3>;
};
vph_gpu0 {
trip = <&c_bcl_lvl0>;
cooling-device = <&msm_gpu 2 2>;
};
vph_cpu4 {
trip = <&c_bcl_lvl0>;
cooling-device = <&cpu4_isolate 1 1>;
@ -111,11 +126,6 @@
cooling-device = <&cpu5_isolate 1 1>;
};
vph_gpu0 {
trip = <&c_bcl_lvl0>;
cooling-device = <&msm_gpu 2 2>;
};
vph_cdsp0 {
trip = <&c_bcl_lvl0>;
cooling-device = <&cdsp_sw 2 2>;
@ -126,6 +136,11 @@
pm8350c-bcl-lvl1 {
disable-thermal-zone;
cooling-maps {
vph_gpu1 {
trip = <&c_bcl_lvl1>;
cooling-device = <&msm_gpu 4 4>;
};
vph_cpu6 {
trip = <&c_bcl_lvl1>;
cooling-device = <&cpu6_isolate 1 1>;
@ -136,11 +151,6 @@
cooling-device = <&cpu7_isolate 1 1>;
};
vph_gpu1 {
trip = <&c_bcl_lvl1>;
cooling-device = <&msm_gpu 4 4>;
};
vph_cdsp1 {
trip = <&c_bcl_lvl1>;
cooling-device = <&cdsp_sw 4 4>;

View file

@ -279,7 +279,7 @@
};
pm8350b-bcl-lvl0 {
polling-delay-passive = <100>;
polling-delay-passive = <500>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&pm8350b_bcl 5>;
@ -294,7 +294,7 @@
};
pm8350b-bcl-lvl1 {
polling-delay-passive = <100>;
polling-delay-passive = <500>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&pm8350b_bcl 6>;
@ -309,7 +309,7 @@
};
pm8350b-bcl-lvl2 {
polling-delay-passive = <100>;
polling-delay-passive = <500>;
polling-delay = <0>;
thermal-governor = "step_wise";
thermal-sensors = <&pm8350b_bcl 7>;