arm64: dts: shima: Apply xiaomi thermal zone changes

Change-Id: Iee5dd197e2c8e98eeec4c48b1b4abf1c73ac3b17
This commit is contained in:
Arian 2022-01-29 16:37:49 +01:00 committed by Giovanni Ricca
parent 7e049ca3ed
commit aba43f9549
No known key found for this signature in database
2 changed files with 28 additions and 25 deletions

View File

@ -19,7 +19,7 @@
};
};
&pmr735b_gpios {
&pm8350_gpios {
pmr735b_smb_skin {
pmr735b_smb_skin_default: pmr735b_smb_skin_default {
pins = "gpio3";
@ -86,9 +86,9 @@
qcom,pre-scaling = <1 1>;
};
pm8350_wide_rfc_therm {
pm8350_wifi_therm {
reg = <PM8350_ADC7_AMUX_THM4_100K_PU>;
label = "pm8350_wide_rfc_therm";
label = "pm8350_wifi_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
@ -102,17 +102,17 @@
qcom,pre-scaling = <1 1>;
};
pm8350b_wl_chg_therm {
reg = <PM8350B_ADC7_GPIO2_100K_PU>;
label = "pm8350b_wl_chg_therm";
pm8350_msm_skin_therm {
reg = <PM8350_ADC7_GPIO2_100K_PU>;
label = "pm8350_msm_skin_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
};
pmr735b_smb_skin_therm {
reg = <PMR735B_ADC7_GPIO3_100K_PU>;
label = "pmr735b_smb_skin_therm";
pm8350_charger_therm {
reg = <PM8350_ADC7_AMUX_THM3_100K_PU>;
label = "pm8350_charger_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
@ -190,9 +190,9 @@
<&pmk8350_vadc PM8350_ADC7_AMUX_THM2_100K_PU>,
<&pmk8350_vadc PM8350_ADC7_AMUX_THM4_100K_PU>,
<&pmk8350_vadc PM8350B_ADC7_AMUX_THM4_100K_PU>,
<&pmk8350_vadc PM8350B_ADC7_GPIO2_100K_PU>,
<&pmk8350_vadc PM8350_ADC7_GPIO2_100K_PU>,
<&pmk8350_vadc PMK8350_ADC7_AMUX_THM1_100K_PU>,
<&pmk8350_vadc PMR735B_ADC7_GPIO3_100K_PU>;
<&pmk8350_vadc PM8350_ADC7_AMUX_THM3_100K_PU>;
pm8350_quiet_therm {
reg = <PM8350_ADC7_AMUX_THM1_100K_PU>;
@ -206,7 +206,7 @@
qcom,hw-settle-time = <200>;
};
pm8350_wide_rfc_therm {
pm8350_wifi_therm {
reg = <PM8350_ADC7_AMUX_THM4_100K_PU>;
qcom,ratiometric;
qcom,hw-settle-time = <200>;
@ -218,8 +218,8 @@
qcom,hw-settle-time = <200>;
};
pm8350b_wl_chg_therm {
reg = <PM8350B_ADC7_GPIO2_100K_PU>;
pm8350_msm_skin_therm {
reg = <PM8350_ADC7_GPIO2_100K_PU>;
qcom,ratiometric;
qcom,hw-settle-time = <200>;
};
@ -230,15 +230,15 @@
qcom,hw-settle-time = <200>;
};
pmr735b_smb_skin_therm {
reg = <PMR735B_ADC7_GPIO3_100K_PU>;
pm8350_charge_therm {
reg = <PM8350_ADC7_AMUX_THM3_100K_PU>;
qcom,ratiometric;
qcom,hw-settle-time = <200>;
};
};
&thermal_zones {
quiet-therm-usr {
quiet_therm {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "user_space";
@ -259,7 +259,7 @@
};
};
camera-therm-usr {
camera_therm {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "user_space";
@ -274,7 +274,7 @@
};
};
rear-cam-therm-usr {
wifi_therm {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "user_space";
@ -289,7 +289,7 @@
};
};
conn-therm-usr {
conn_therm {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "user_space";
@ -304,11 +304,11 @@
};
};
wlc-therm-usr {
cpu_therm {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pmk8350_adc_tm PM8350B_ADC7_GPIO2_100K_PU>;
thermal-sensors = <&pmk8350_adc_tm PM8350_ADC7_GPIO2_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {
@ -319,7 +319,7 @@
};
};
xo-therm-usr {
xo_therm {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "user_space";
@ -334,11 +334,11 @@
};
};
charger-therm-usr {
charger_therm0 {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-governor = "user_space";
thermal-sensors = <&pmk8350_adc_tm PMR735B_ADC7_GPIO3_100K_PU>;
thermal-sensors = <&pmk8350_adc_tm PM8350_ADC7_AMUX_THM3_100K_PU>;
wake-capable-sensor;
trips {
active-config0 {

View File

@ -10,6 +10,7 @@
&thermal_zones {
socd {
disable-thermal-zone;
cooling-maps {
socd_cpu4 {
trip = <&socd_trip>;
@ -33,6 +34,7 @@
};
};
/*
pm8350b-bcl-lvl0 {
cooling-maps {
vbat_cpu4 {
@ -70,6 +72,7 @@
};
};
};
*/
pm8350b-bcl-lvl2 {
cooling-maps {