Files
android_kernel_samsung_sm87…/qcom/sun-thermal-overlay.dtsi
Manaf Meethalavalappu Pallikunhi 9d9e4afb8d ARM: dts: qcom: Enable bcl thermal zone mitigation for sun
Enable bcl thermal zones and cooling maps for both pmih010x
and pm8550 bcl peripherals and bcl socd.

Change-Id: Iece388b34729a8775f216ab90dc882a291c8a9f6
Signed-off-by: Manaf Meethalavalappu Pallikunhi <quic_manafm@quicinc.com>
2024-01-17 11:33:36 +05:30

113 lines
1.8 KiB
Plaintext

// SPDX-License-Identifier: BSD-3-Clause
/*
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <dt-bindings/thermal/thermal_qti.h>
&thermal_zones {
socd {
cooling-maps {
socd_apc1 {
trip = <&socd_trip>;
cooling-device = <&APC1_MX_CX_PAUSE 1 1>;
};
socd_cdsp1 {
trip = <&socd_trip>;
cooling-device = <&cdsp_sw 4 4>;
};
socd_gpu0 {
trip = <&socd_trip>;
cooling-device = <&msm_gpu 4 4>;
};
};
};
pmih010x-bcl-lvl1 {
cooling-maps {
lbat_modem1 {
trip = <&b_bcl_lvl1>;
cooling-device = <&modem_bcl 2 2>;
};
lbat_cdsp1 {
trip = <&b_bcl_lvl1>;
cooling-device = <&cdsp_sw 4 4>;
};
lbat_gpu1 {
trip = <&b_bcl_lvl1>;
cooling-device = <&msm_gpu 4 4>;
};
};
};
pmih010x-bcl-lvl2 {
cooling-maps {
lbat_cdsp2 {
trip = <&b_bcl_lvl2>;
cooling-device = <&cdsp_sw 5 THERMAL_NO_LIMIT>;
};
lbat_gpu2 {
trip = <&b_bcl_lvl2>;
cooling-device = <&msm_gpu 5 THERMAL_NO_LIMIT>;
};
};
};
pm8550-bcl-lvl0 {
cooling-maps {
vph_modem0 {
trip = <&bcl_lvl0>;
cooling-device = <&modem_bcl 1 1>;
};
vph_cdsp0 {
trip = <&bcl_lvl0>;
cooling-device = <&cdsp_sw 2 2>;
};
vph_gpu0 {
trip = <&bcl_lvl0>;
cooling-device = <&msm_gpu 2 2>;
};
};
};
pm8550-bcl-lvl1 {
cooling-maps {
vph_modem1 {
trip = <&bcl_lvl1>;
cooling-device = <&modem_bcl 2 2>;
};
vph_cdsp1 {
trip = <&bcl_lvl1>;
cooling-device = <&cdsp_sw 4 4>;
};
vph_gpu1 {
trip = <&bcl_lvl1>;
cooling-device = <&msm_gpu 4 4>;
};
};
};
pm8550-bcl-lvl2 {
cooling-maps {
vph_cdsp2 {
trip = <&bcl_lvl2>;
cooling-device = <&cdsp_sw 5 THERMAL_NO_LIMIT>;
};
vph_gpu2 {
trip = <&bcl_lvl2>;
cooling-device = <&msm_gpu 5 THERMAL_NO_LIMIT>;
};
};
};
};