ARM: dts: msm: Update thermistors for parrot

Remove msm_therm and cam_flash_therm and add pa_therm1 and
pa_therm2 based on HW side recommendations. Update thermal
zone names accordingly. Also add pinctrl config for
quiet_therm.

Change-Id: Ie6a917f8ab6b9a1c580a0592485a33c23e4fe173
This commit is contained in:
Jishnu Prakash
2022-04-06 12:20:40 +05:30
parent 96ae710884
commit 418f52b077
2 changed files with 40 additions and 40 deletions

View File

@@ -285,7 +285,7 @@
};
};
sys-therm-6 {
sys-therm-7 {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm7250b_adc_tm ADC5_AMUX_THM3_100K_PU>;
@@ -304,7 +304,7 @@
};
};
sys-therm-7 {
sys-therm-6 {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm7250b_adc_tm ADC5_AMUX_THM1_100K_PU>;

View File

@@ -46,6 +46,9 @@
};
&pmk8350_vadc {
pinctrl-names = "default";
pinctrl-0 = <&quiet_therm_default>;
/delete-node/ pm8350_ref_gnd;
/delete-node/ pm8350_vref_1p25;
/delete-node/ pm8350_die_temp;
@@ -124,6 +127,13 @@
};
};
quiet_therm {
quiet_therm_default: quiet_therm_default {
pins = "gpio2";
bias-high-impedance;
};
};
pm8010i_reset {
pm8010i_active: pm8010i_active {
pins = "gpio3";
@@ -161,14 +171,19 @@
&pm6150l_vadc {
pinctrl-names = "default";
pinctrl-0 = <
&ufs_therm_default
&rear_cam_flash_therm_default
&wide_rfc_therm_default>;
pinctrl-0 = <&ufs_therm_default &wide_rfc_therm_default>;
msm_therm {
reg = <ADC5_AMUX_THM2_100K_PU>;
label = "msm_therm";
pa_therm2 {
reg = <ADC5_AMUX_THM1_100K_PU>;
label = "pa_therm2";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
};
pa_therm1 {
reg = <ADC5_AMUX_THM3_100K_PU>;
label = "pa_therm1";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
@@ -182,14 +197,6 @@
qcom,pre-scaling = <1 1>;
};
cam_flash_therm {
reg = <ADC5_GPIO2_100K_PU>;
label = "cam_flash_therm";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
};
wide_rfc_therm {
reg = <ADC5_GPIO3_100K_PU>;
label = "wide_rfc_therm";
@@ -207,13 +214,6 @@
};
};
rear_cam_flash_therm {
rear_cam_flash_therm_default: rear_cam_flash_therm_default {
pins = "gpio6";
bias-high-impedance;
};
};
wide_rfc_therm {
wide_rfc_therm_default: wide_rfc_therm_default {
pins = "gpio7";
@@ -223,14 +223,20 @@
};
&pm6150l_adc_tm {
io-channels = <&pm6150l_vadc ADC5_AMUX_THM2_100K_PU>,
io-channels = <&pm6150l_vadc ADC5_AMUX_THM1_100K_PU>,
<&pm6150l_vadc ADC5_AMUX_THM3_100K_PU>,
<&pm6150l_vadc ADC5_GPIO1_100K_PU>,
<&pm6150l_vadc ADC5_GPIO2_100K_PU>,
<&pm6150l_vadc ADC5_GPIO3_100K_PU>;
/* Channel nodes */
msm_therm {
reg = <ADC5_AMUX_THM2_100K_PU>;
pa_therm2 {
reg = <ADC5_AMUX_THM1_100K_PU>;
qcom,ratiometric;
qcom,hw-settle-time = <200>;
};
pa_therm1 {
reg = <ADC5_AMUX_THM3_100K_PU>;
qcom,ratiometric;
qcom,hw-settle-time = <200>;
};
@@ -241,12 +247,6 @@
qcom,hw-settle-time = <200>;
};
cam_flash_therm {
reg = <ADC5_GPIO2_100K_PU>;
qcom,ratiometric;
qcom,hw-settle-time = <200>;
};
wide_rfc_therm {
reg = <ADC5_GPIO3_100K_PU>;
qcom,ratiometric;
@@ -269,7 +269,7 @@
};
&thermal_zones {
sys-therm-0 {
xo-therm {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm PMK8350_ADC7_AMUX_THM1_100K_PU>;
@@ -291,7 +291,7 @@
sys-therm-1 {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pmk8350_adc_tm PM6450_ADC7_AMUX1_GPIO2_100K_PU>;
thermal-sensors = <&pm6150l_adc_tm ADC5_GPIO1_100K_PU>;
trips {
active-config0 {
temperature = <125000>;
@@ -310,7 +310,7 @@
sys-therm-2 {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm6150l_adc_tm ADC5_AMUX_THM2_100K_PU>;
thermal-sensors = <&pm6150l_adc_tm ADC5_GPIO3_100K_PU>;
trips {
active-config0 {
temperature = <125000>;
@@ -329,7 +329,7 @@
sys-therm-3 {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm6150l_adc_tm ADC5_GPIO1_100K_PU>;
thermal-sensors = <&pmk8350_adc_tm PM6450_ADC7_AMUX1_GPIO2_100K_PU>;
trips {
active-config0 {
temperature = <125000>;
@@ -348,7 +348,7 @@
sys-therm-4 {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm6150l_adc_tm ADC5_GPIO2_100K_PU>;
thermal-sensors = <&pmk8350_adc_tm ADC5_AMUX_THM1_100K_PU>;
trips {
active-config0 {
temperature = <125000>;
@@ -367,7 +367,7 @@
sys-therm-5 {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pm6150l_adc_tm ADC5_GPIO3_100K_PU>;
thermal-sensors = <&pmk8350_adc_tm ADC5_AMUX_THM3_100K_PU>;
trips {
active-config0 {
temperature = <125000>;