mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
Merge "ARM: dts: msm: Add support for BCL in parrot variants with PM8350B"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
bb861bbb17
@@ -243,3 +243,129 @@
|
||||
io-channels = <&pmk8350_vadc PM8350B_ADC7_DIE_TEMP>;
|
||||
io-channel-names = "thermal";
|
||||
};
|
||||
|
||||
&thermal_zones {
|
||||
socd {
|
||||
trips {
|
||||
socd-trip {
|
||||
temperature = <90>;
|
||||
hysteresis = <1>;
|
||||
};
|
||||
};
|
||||
|
||||
cooling-maps {
|
||||
socd_apc1 {
|
||||
trip = <&socd_trip>;
|
||||
cooling-device = <&APC1_pause 1 1>;
|
||||
};
|
||||
|
||||
socd_cdsp1 {
|
||||
trip = <&socd_trip>;
|
||||
cooling-device = <&cdsp_sw 4 4>;
|
||||
};
|
||||
|
||||
socd_gpu0 {
|
||||
trip = <&socd_trip>;
|
||||
cooling-device = <&msm_gpu 2 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pm8350b-ibat-lvl0 {
|
||||
trips {
|
||||
ibat-lvl0 {
|
||||
temperature = <6000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pm8350b-ibat-lvl1 {
|
||||
trips {
|
||||
ibat-lvl1 {
|
||||
temperature = <7500>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pm8350b-bcl-lvl0 {
|
||||
cooling-maps {
|
||||
vbat_lte0 {
|
||||
trip = <&b_bcl_lvl0>;
|
||||
cooling-device = <&modem_lte_dsc 8 8>;
|
||||
};
|
||||
|
||||
vbat_nr0_scg {
|
||||
trip = <&b_bcl_lvl0>;
|
||||
cooling-device = <&modem_nr_scg_dsc 3 3>;
|
||||
};
|
||||
|
||||
vbat_nr0 {
|
||||
trip = <&b_bcl_lvl0>;
|
||||
cooling-device = <&modem_nr_dsc 6 6>;
|
||||
};
|
||||
|
||||
vbat_cdsp0 {
|
||||
trip = <&b_bcl_lvl0>;
|
||||
cooling-device = <&cdsp_sw 2 2>;
|
||||
};
|
||||
|
||||
vbat_cpu_5 {
|
||||
trip = <&b_bcl_lvl0>;
|
||||
cooling-device = <&cpu5_pause 1 1>;
|
||||
};
|
||||
|
||||
vbat_gpu0 {
|
||||
trip = <&b_bcl_lvl0>;
|
||||
cooling-device = <&msm_gpu 1 1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pm8350b-bcl-lvl1 {
|
||||
cooling-maps {
|
||||
vbat_lte1 {
|
||||
trip = <&b_bcl_lvl1>;
|
||||
cooling-device = <&modem_lte_dsc 10 10>;
|
||||
};
|
||||
|
||||
vbat_nr1_scg {
|
||||
trip = <&b_bcl_lvl1>;
|
||||
cooling-device = <&modem_nr_scg_dsc 10 10>;
|
||||
};
|
||||
|
||||
vbat_nr1 {
|
||||
trip = <&b_bcl_lvl1>;
|
||||
cooling-device = <&modem_nr_dsc 9 9>;
|
||||
};
|
||||
|
||||
vbat_cdsp1 {
|
||||
trip = <&b_bcl_lvl1>;
|
||||
cooling-device = <&cdsp_sw 4 4>;
|
||||
};
|
||||
|
||||
vbat_cpu_6_7 {
|
||||
trip = <&b_bcl_lvl1>;
|
||||
cooling-device = <&cpu_6_7_pause 1 1>;
|
||||
};
|
||||
|
||||
vbat_gpu1 {
|
||||
trip = <&b_bcl_lvl1>;
|
||||
cooling-device = <&msm_gpu 2 2>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
pm8350b-bcl-lvl2 {
|
||||
cooling-maps {
|
||||
vbat_cdsp2 {
|
||||
trip = <&b_bcl_lvl2>;
|
||||
cooling-device = <&cdsp_sw 5 THERMAL_NO_LIMIT>;
|
||||
};
|
||||
|
||||
vbat_gpu2 {
|
||||
trip = <&b_bcl_lvl2>;
|
||||
cooling-device = <&msm_gpu 3 THERMAL_NO_LIMIT>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user