ARM: dts: qcom: Update vbat thermal zone and pm8550 bcl compatible for sun

This change adds vbat thermal zone and updates pm8550 bcl compatible.

Change-Id: Icaabef50e510ba9a8dc2f40504d8139518f2ea88
Signed-off-by: Minghao Zhang <quic_minghao@quicinc.com>
(cherry picked from commit f040ca6b4d)
This commit is contained in:
Minghao Zhang
2024-09-26 14:54:31 +08:00
committed by Niranjan Reddy Dumbala
parent a19e752fc8
commit fe4fec8488
2 changed files with 27 additions and 1 deletions

View File

@@ -63,7 +63,7 @@
};
pm8550_bcl: bcl@4700 {
compatible = "qcom,bcl-v5";
compatible = "qcom,pm8550-bcl-v5";
reg = <0x4700 0x100>;
interrupts = <0x1 0x47 0x0 IRQ_TYPE_NONE>,
<0x1 0x47 0x1 IRQ_TYPE_NONE>,

View File

@@ -353,6 +353,32 @@
};
};
vbat {
polling-delay-passive = <0>;
polling-delay = <0>;
thermal-sensors = <&pmih010x_bcl 2>;
trips {
vbat_lvl0:vbat-lvl0 {
temperature = <2800>;
hysteresis = <100>;
type = "passive";
};
vbat_lvl1:vbat-lvl1 {
temperature = <2600>;
hysteresis = <100>;
type = "passive";
};
vbat_lvl2:vbat-lvl2 {
temperature = <2300>;
hysteresis = <100>;
type = "passive";
};
};
};
pmih010x-bcl-lvl0 {
polling-delay-passive = <50>;
polling-delay = <0>;