Rtwo/kernel/motorola/sm8550-devicetrees/qcom/khaje-thermal-pm7250b-overlay.dtsi

111 lines
1.7 KiB
Text
Raw Permalink Normal View History

2025-09-30 20:22:48 -04:00
#include <dt-bindings/thermal/thermal.h>
&thermal_zones {
pm7250b-tz {
cooling-maps {
trip0_bat {
trip = <&pm7250b_trip0>;
cooling-device =
<&pm7250b_charger 9 9>;
};
trip1_bat {
trip = <&pm7250b_trip1>;
cooling-device =
<&pm7250b_charger 10 10>;
};
};
};
socd {
cooling-maps {
soc_cpu4 {
trip = <&soc_trip>;
cooling-device = <&cpu4_pause 1 1>;
};
soc_cpu5 {
trip = <&soc_trip>;
cooling-device = <&cpu5_pause 1 1>;
};
soc_cpu6 {
trip = <&soc_trip>;
cooling-device = <&cpu6_pause 1 1>;
};
soc_cpu7 {
trip = <&soc_trip>;
cooling-device = <&cpu7_pause 1 1>;
};
};
};
pm7250b-bcl-lvl0 {
cooling-maps {
lbat0_cpufreq4 {
trip = <&b_bcl_lvl0>;
cooling-device = <&CPU4 2 2>;
};
lbat0_cpu6 {
trip = <&b_bcl_lvl0>;
cooling-device = <&cpu6_pause 1 1>;
};
lbat0_cpu7 {
trip = <&b_bcl_lvl0>;
cooling-device = <&cpu7_pause 1 1>;
};
lbat0_gpu {
trip = <&b_bcl_lvl0>;
cooling-device = <&msm_gpu 2 2>;
};
lbat0_cdsp {
trip = <&b_bcl_lvl0>;
cooling-device = <&cdsp_sw 2 2>;
};
};
};
pm7250b-bcl-lvl1 {
cooling-maps {
lbat1_cpu4 {
trip = <&b_bcl_lvl1>;
cooling-device = <&cpu4_pause 1 1>;
};
lbat1_cpu5 {
trip = <&b_bcl_lvl1>;
cooling-device = <&cpu5_pause 1 1>;
};
lbat1_gpu {
trip = <&b_bcl_lvl1>;
cooling-device = <&msm_gpu 4 4>;
};
lbat1_cdsp {
trip = <&b_bcl_lvl1>;
cooling-device = <&cdsp_sw 4 4>;
};
};
};
pm7250b-bcl-lvl2 {
cooling-maps {
lbat2_gpu {
trip = <&b_bcl_lvl2>;
cooling-device = <&msm_gpu 4 THERMAL_NO_LIMIT>;
};
lbat2_cdsp {
trip = <&b_bcl_lvl2>;
cooling-device = <&cdsp_sw 4 4>;
};
};
};
};