Files
android_kernel_motorola_sm6225/qcom/lito-thermal-overlay.dtsi
T
Manaf Meethalavalappu Pallikunhi cccfe937fc ARM: dts: qcom: update cpu cooling map for pm8150 thermal zone for LITO
First cpu of each cluster only is used to represent cpu frequency
cooling device for each cluster. Use only these cpus for cooling map
of pm8150 alarm sensor thermal zone for LITO.

Change-Id: I94bde6ead6555db9285bb6ad1228ccab70b118b3
2019-06-13 00:16:27 -07:00

187 lines
3.1 KiB
Devicetree

#include <dt-bindings/thermal/thermal.h>
&mdss_mdp {
#cooling-cells = <2>;
};
&thermal_zones {
pm7250b-tz {
cooling-maps {
trip0_bat {
trip = <&pm7250b_trip0>;
cooling-device =
<&pm7250b_charger (THERMAL_MAX_LIMIT-1)
(THERMAL_MAX_LIMIT-1)>;
};
trip1_bat {
trip = <&pm7250b_trip1>;
cooling-device =
<&pm7250b_charger THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
};
};
pm8150_tz {
cooling-maps {
trip0_cpu0 {
trip = <&pm8150_trip0>;
cooling-device =
<&CPU0 THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
trip0_cpu6 {
trip = <&pm8150_trip0>;
cooling-device =
<&CPU6 THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
trip0_cpu7 {
trip = <&pm8150_trip0>;
cooling-device =
<&CPU7 THERMAL_MAX_LIMIT
THERMAL_MAX_LIMIT>;
};
trip1_cpu1 {
trip = <&pm8150_trip1>;
cooling-device = <&cpu1_isolate 1 1>;
};
trip1_cpu2 {
trip = <&pm8150_trip1>;
cooling-device = <&cpu2_isolate 1 1>;
};
trip1_cpu3 {
trip = <&pm8150_trip1>;
cooling-device = <&cpu3_isolate 1 1>;
};
trip1_cpu4 {
trip = <&pm8150_trip1>;
cooling-device = <&cpu4_isolate 1 1>;
};
trip1_cpu5 {
trip = <&pm8150_trip1>;
cooling-device = <&cpu5_isolate 1 1>;
};
trip1_cpu6 {
trip = <&pm8150_trip1>;
cooling-device = <&cpu6_isolate 1 1>;
};
trip1_cpu7 {
trip = <&pm8150_trip1>;
cooling-device = <&cpu7_isolate 1 1>;
};
};
};
soc {
cooling-maps {
soc_cpu6 {
trip = <&soc_trip>;
cooling-device = <&cpu6_isolate 1 1>;
};
soc_cpu7 {
trip = <&soc_trip>;
cooling-device = <&cpu7_isolate 1 1>;
};
};
};
pm7250b-bcl-lvl0 {
cooling-maps {
lbat0_cpu6 {
trip = <&b_bcl_lvl0>;
cooling-device = <&cpu6_isolate 1 1>;
};
lbat0_cpu7 {
trip = <&b_bcl_lvl0>;
cooling-device = <&cpu7_isolate 1 1>;
};
};
};
pm7250b-bcl-lvl1 {
cooling-maps {
lbat1_cpu6 {
trip = <&b_bcl_lvl1>;
cooling-device = <&cpu6_isolate 1 1>;
};
lbat1_cpu7 {
trip = <&b_bcl_lvl1>;
cooling-device = <&cpu7_isolate 1 1>;
};
};
};
pm7250b-bcl-lvl2 {
cooling-maps {
lbat2_cpu6 {
trip = <&b_bcl_lvl2>;
cooling-device = <&cpu6_isolate 1 1>;
};
lbat2_cpu7 {
trip = <&b_bcl_lvl2>;
cooling-device = <&cpu7_isolate 1 1>;
};
};
};
pm8150l-bcl-lvl0 {
disable-thermal-zone;
cooling-maps {
vph_cpu6 {
trip = <&l_bcl_lvl0>;
cooling-device = <&cpu6_isolate 1 1>;
};
vph_cpu7 {
trip = <&l_bcl_lvl0>;
cooling-device = <&cpu7_isolate 1 1>;
};
};
};
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>;
};
};
};
pm8150l-bcl-lvl2 {
disable-thermal-zone;
cooling-maps {
vph_cpu6 {
trip = <&l_bcl_lvl2>;
cooling-device = <&cpu6_isolate 1 1>;
};
vph_cpu7 {
trip = <&l_bcl_lvl2>;
cooling-device = <&cpu7_isolate 1 1>;
};
};
};
};