Merge "ARM: dts: qcom: Add support to read external pmic temperature and voltage"

This commit is contained in:
qctecmdr
2022-11-16 22:18:42 -08:00
committed by Gerrit - the friendly Code Review server

View File

@@ -26,6 +26,43 @@
qcom,logic = <1>;
};
};
aop_pmic_sensor: aop-pmic-sensor@c3f03d8 {
compatible = "qcom,aop-pmic-sensor";
reg = <0x0c3f03d8 0x28>;
mboxes = <&qmp_aop 0>;
#thermal-sensor-cells = <1>;
mss-temp {
qcom,pmic-id = <1>;
qcom,type = <0>;
};
mx-temp {
qcom,pmic-id = <2>;
qcom,type = <0>;
};
cx-temp {
qcom,pmic-id = <3>;
qcom,type = <0>;
};
mss-volt {
qcom,pmic-id = <1>;
qcom,type = <1>;
};
mx-volt {
qcom,pmic-id = <2>;
qcom,type = <1>;
};
cx-volt {
qcom,pmic-id = <3>;
qcom,type = <1>;
};
};
};
&thermal_zones {
@@ -394,4 +431,61 @@
};
};
};
};
cx_temp {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&aop_pmic_sensor 1>;
trips {
thermal-engine-config {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
};
};
mx_temp {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&aop_pmic_sensor 2>;
trips {
thermal-engine-config {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
};
};
mss_temp {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&aop_pmic_sensor 3>;
trips {
thermal-engine-config {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
reset-mon-cfg {
temperature = <115000>;
hysteresis = <5000>;
type = "passive";
};
};
};
};