diff --git a/qcom/pm8550.dtsi b/qcom/pm8550.dtsi index 59e97e28..8a4da186 100644 --- a/qcom/pm8550.dtsi +++ b/qcom/pm8550.dtsi @@ -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>, diff --git a/qcom/pmih010x.dtsi b/qcom/pmih010x.dtsi index 0bcc96fb..d35855b9 100644 --- a/qcom/pmih010x.dtsi +++ b/qcom/pmih010x.dtsi @@ -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>;