ARM: dts: qcom: Enable BCL and PMIC die temp mitigations for kalama

Enable BCL level sensor thermal zones mitigation and PMI die
temperature mitigation configuration for kalama.

Change-Id: I440be449a9327cb9c4ddcc3d7b822f9fec7de8a4
This commit is contained in:
Manaf Meethalavalappu Pallikunhi
2022-02-10 17:48:40 +05:30
parent 1ed61a80d5
commit 1bafaa6aa2
5 changed files with 117 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
#include <dt-bindings/clock/qcom,gcc-kalama.h>
#include "kalama-pmic-overlay.dtsi"
#include "kalama-thermal-overlay.dtsi"
&sdhc_2 {
status = "ok";

View File

@@ -3,6 +3,7 @@
#include <dt-bindings/clock/qcom,gcc-kalama.h>
#include "kalama-pmic-overlay.dtsi"
#include "kalama-thermal-overlay.dtsi"
&sdhc_2 {
status = "ok";

View File

@@ -3,6 +3,7 @@
#include <dt-bindings/clock/qcom,gcc-kalama.h>
#include "kalama-pmic-overlay.dtsi"
#include "kalama-thermal-overlay.dtsi"
&sdhc_2 {
status = "ok";

View File

@@ -0,0 +1,109 @@
#include <dt-bindings/thermal/thermal_qti.h>
&thermal_zones {
socd {
cooling-maps {
socd_apc1 {
trip = <&socd_trip>;
cooling-device = <&APC1_pause 1 1>;
};
socd_cdsp1 {
trip = <&socd_trip>;
cooling-device = <&cdsp_sw 4 4>;
};
};
};
pm8550b-bcl-lvl0 {
cooling-maps {
lbat_cpu_3_4_5 {
trip = <&b_bcl_lvl0>;
cooling-device = <&cpu_3_4_5_pause 1 1>;
};
lbat_cdsp0 {
trip = <&b_bcl_lvl0>;
cooling-device = <&cdsp_sw 2 2>;
};
};
};
pm8550b-bcl-lvl1 {
cooling-maps {
lbat_cpu_6_7 {
trip = <&b_bcl_lvl1>;
cooling-device = <&cpu_6_7_pause 1 1>;
};
lbat_cdsp1 {
trip = <&b_bcl_lvl1>;
cooling-device = <&cdsp_sw 4 4>;
};
};
};
pm8550b-bcl-lvl2 {
cooling-maps {
lbat_cdsp2 {
trip = <&b_bcl_lvl2>;
cooling-device = <&cdsp_sw 5 THERMAL_NO_LIMIT>;
};
};
};
pm8550-bcl-lvl0 {
cooling-maps {
vph_cpu_3_4_5 {
trip = <&bcl_lvl0>;
cooling-device = <&cpu_3_4_5_pause 1 1>;
};
vph_cdsp0 {
trip = <&bcl_lvl0>;
cooling-device = <&cdsp_sw 2 2>;
};
};
};
pm8550-bcl-lvl1 {
cooling-maps {
vph_cpu_6_7 {
trip = <&bcl_lvl1>;
cooling-device = <&cpu_6_7_pause 1 1>;
};
vph_cdsp1 {
trip = <&bcl_lvl1>;
cooling-device = <&cdsp_sw 4 4>;
};
};
};
pm8550-bcl-lvl2 {
cooling-maps {
vph_cdsp2 {
trip = <&bcl_lvl2>;
cooling-device = <&cdsp_sw 5 THERMAL_NO_LIMIT>;
};
};
};
pm8550vs_c_tz {
cooling-maps {
pm8550vs_c_apc1 {
trip = <&pm8550vs_c_trip0>;
cooling-device = <&APC1_pause 1 1>;
};
};
};
pm8550vs_e_tz {
cooling-maps {
pm8550vs_e_nsp {
trip = <&pm8550vs_e_trip0>;
cooling-device = <&cdsp_sw 5 THERMAL_NO_LIMIT>;
};
};
};
};

View File

@@ -77,6 +77,11 @@
#cooling-cells = <2>;
};
cpu_3_4_5_pause: cpu-3-4-5-pause {
qcom,cpus = <&CPU3 &CPU4 &CPU5>;
#cooling-cells = <2>;
};
cpu_6_7_pause: cpu-6-7-pause {
qcom,cpus = <&CPU6 &CPU7>;
#cooling-cells = <2>;