Files
android_kernel_motorola_sm6225/qcom/kona-thermal-overlay.dtsi
T
Ram Chandrasekar f2f241f726 ARM: dts: qcom: Add BCL mitigation level config for kona
Add BCL mitigation level thermal zone config for kona. This config will
have the devices to be mitigated when any of the BCL mitigation level
interrupt fires.

Change-Id: Iec0925d455e852bc26129b2f42975e9f326c9e9a
2019-05-22 12:24:58 -06:00

131 lines
2.1 KiB
Devicetree

#include <dt-bindings/thermal/thermal.h>
&mdss_mdp {
#cooling-cells = <2>;
};
&thermal_zones {
soc {
cooling-maps {
soc_cpu4 {
trip = <&soc_trip>;
cooling-device = <&cpu4_isolate 1 1>;
};
soc_cpu5 {
trip = <&soc_trip>;
cooling-device = <&cpu5_isolate 1 1>;
};
soc_cpu6 {
trip = <&soc_trip>;
cooling-device = <&cpu6_isolate 1 1>;
};
soc_cpu7 {
trip = <&soc_trip>;
cooling-device = <&cpu7_isolate 1 1>;
};
};
};
pm8150b-bcl-lvl0 {
cooling-maps {
vbat_cpu4 {
trip = <&b_bcl_lvl0>;
cooling-device = <&cpu4_isolate 1 1>;
};
vbat_cpu5 {
trip = <&b_bcl_lvl0>;
cooling-device = <&cpu5_isolate 1 1>;
};
vbat_gpu0 {
trip = <&b_bcl_lvl0>;
cooling-device = <&msm_gpu 2 2>;
};
};
};
pm8150b-bcl-lvl1 {
cooling-maps {
vbat_cpu6 {
trip = <&b_bcl_lvl1>;
cooling-device = <&cpu6_isolate 1 1>;
};
vbat_cpu7 {
trip = <&b_bcl_lvl1>;
cooling-device = <&cpu7_isolate 1 1>;
};
vbat_gpu1 {
trip = <&b_bcl_lvl1>;
cooling-device = <&msm_gpu 4 4>;
};
};
};
pm8150b-bcl-lvl2 {
cooling-maps {
vbat_gpu2 {
trip = <&b_bcl_lvl2>;
cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
};
};
pm8150l-bcl-lvl0 {
disable-thermal-zone;
cooling-maps {
vph_cpu4 {
trip = <&l_bcl_lvl0>;
cooling-device = <&cpu4_isolate 1 1>;
};
vph_cpu5 {
trip = <&l_bcl_lvl0>;
cooling-device = <&cpu5_isolate 1 1>;
};
vph_gpu0 {
trip = <&l_bcl_lvl0>;
cooling-device = <&msm_gpu 2 2>;
};
};
};
pm8150l-bcl-lvl1 {
disable-thermal-zone;
cooling-maps {
vph_cpu6 {
trip = <&l_bcl_lvl1>;
cooling-device = <&cpu6_isolate 1 1>;
};
vph_cpu7 {
trip = <&l_bcl_lvl1>;
cooling-device = <&cpu7_isolate 1 1>;
};
vph_gpu1 {
trip = <&l_bcl_lvl1>;
cooling-device = <&msm_gpu 4 4>;
};
};
};
pm8150l-bcl-lvl2 {
disable-thermal-zone;
cooling-maps {
vph_gpu2 {
trip = <&l_bcl_lvl2>;
cooling-device = <&msm_gpu THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
};
};
};