ARM: dts: qcom: Add pm8550_pa_therm2 ADC channel for sun

Add the pm8550_pa_therm2 ADC channel as well as the corresponding
thermal zone device which can be used by thermal SW.

Change-Id: I2c583ca8c00a67a122b6c1b7622436bcf8058165
Signed-off-by: Anjelique Melendez <quic_amelende@quicinc.com>
This commit is contained in:
Anjelique Melendez
2024-02-27 10:55:09 -08:00
parent e908235d5f
commit da637df205

View File

@@ -203,6 +203,15 @@
qcom,adc-tm-type = <1>; qcom,adc-tm-type = <1>;
}; };
pm8550_pa_therm2 {
reg = <PM8550_ADC5_GEN3_AMUX1_GPIO3_100K_PU>;
label = "pm8550_pa_therm_2";
qcom,ratiometric;
qcom,hw-settle-time = <200>;
qcom,pre-scaling = <1 1>;
qcom,adc-tm-type = <1>;
};
pm8550_rear_tof_therm { pm8550_rear_tof_therm {
reg = <PM8550_ADC5_GEN3_AMUX_THM5_100K_PU>; reg = <PM8550_ADC5_GEN3_AMUX_THM5_100K_PU>;
label = "pm8550_rear_tof_therm"; label = "pm8550_rear_tof_therm";
@@ -476,6 +485,25 @@
}; };
}; };
sys-therm-7 {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pmk8550_vadc PM8550_ADC5_GEN3_AMUX1_GPIO3_100K_PU>;
trips {
active-config0 {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
active-config1 {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
};
};
sys-therm-8 { sys-therm-8 {
polling-delay-passive = <0>; polling-delay-passive = <0>;
polling-delay = <0>; polling-delay = <0>;