Files
android_kernel_samsung_sm87…/qcom/tuna-thermal-overlay.dtsi
Priyansh Jain 36574cc90b ARM: dts: qcom: Add socd and bcl support for pmih010x & pmiv010x
Add socd mitigation and bcl support for pmih010x & pmiv010x PMIC.

Change-Id: If64fe4d1a22801dda5d1ade4a83ed0955fcadd7b
Signed-off-by: Nitesh Kumar <quic_nitekuma@quicinc.com>
Signed-off-by: Priyansh Jain <quic_priyjain@quicinc.com>
2024-11-26 16:21:54 +05:30

159 lines
2.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>;
};
};
};
pmxr2230-bcl-lvl0 {
cooling-maps {
lbat_0_nr_scg {
trip = <&bcl_lvl0>;
cooling-device = <&modem_nr_scg_dsc 3 3>;
};
lbat_0_nr {
trip = <&bcl_lvl0>;
cooling-device = <&modem_nr_dsc 6 6>;
};
lbat_0_mdm_lte {
trip = <&bcl_lvl0>;
cooling-device = <&modem_lte_dsc 8 8>;
};
lbat_gpu0 {
trip = <&bcl_lvl0>;
cooling-device = <&msm_gpu 2 2>;
};
};
};
pmxr2230-bcl-lvl1 {
cooling-maps {
lbat_1_nr_scg {
trip = <&bcl_lvl1>;
cooling-device = <&modem_nr_scg_dsc 10 10>;
};
lbat_1_nr {
trip = <&bcl_lvl1>;
cooling-device = <&modem_nr_dsc 9 9>;
};
lbat_1_mdm_lte {
trip = <&bcl_lvl1>;
cooling-device = <&modem_lte_dsc 10 10>;
};
lbat_gpu1 {
trip = <&bcl_lvl1>;
cooling-device = <&msm_gpu 3 3>;
};
};
};
pmxr2230-bcl-lvl2 {
cooling-maps {
lbat_gpu2 {
trip = <&bcl_lvl2>;
cooling-device = <&msm_gpu 7 7>;
};
};
};
sys-therm-0 {
cooling-maps {
apc1_cdev {
trip = <&trip_config0>;
cooling-device = <&APC1_MX_CX_PAUSE 1 1>;
};
apc0_cdev {
trip = <&trip_config0>;
cooling-device = <&APC0_MX_CX_PAUSE 1 1>;
};
cdsp_cdev {
trip = <&trip_config0>;
cooling-device = <&cdsp_sw 5 THERMAL_NO_LIMIT>;
};
gpu_cdev {
trip = <&trip_config0>;
cooling-device = <&msm_gpu 5 THERMAL_NO_LIMIT>;
};
cpu3_hot_cdev {
trip = <&trip_config1>;
cooling-device = <&cpu3_hotplug 1 1>;
};
cpu4_hot_cdev {
trip = <&trip_config1>;
cooling-device = <&cpu4_hotplug 1 1>;
};
cpu5_hot_cdev {
trip = <&trip_config1>;
cooling-device = <&cpu5_hotplug 1 1>;
};
cpu6_hot_cdev {
trip = <&trip_config1>;
cooling-device = <&cpu6_hotplug 1 1>;
};
cpu7_hot_cdev {
trip = <&trip_config1>;
cooling-device = <&cpu7_hotplug 1 1>;
};
lte_cdev {
trip = <&trip_config1>;
cooling-device = <&modem_lte_dsc 255 255>;
};
nr_cdev {
trip = <&trip_config1>;
cooling-device = <&modem_nr_scg_dsc 255 255>;
};
display_cdev1 {
trip = <&display_test_config1>;
cooling-device = <&display_fps 1 1>;
};
display_cdev2 {
trip = <&display_test_config2>;
cooling-device = <&display_fps 2 2>;
};
display_cdev3 {
trip = <&display_test_config3>;
cooling-device = <&display_fps 3 3>;
};
};
};
};