mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
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:
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
|
||||
109
qcom/kalama-thermal-overlay.dtsi
Normal file
109
qcom/kalama-thermal-overlay.dtsi
Normal 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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user