From 309c39366147fe2bf155e5f1fb6816965c88e8ba Mon Sep 17 00:00:00 2001 From: Minghao Zhang Date: Wed, 4 Sep 2024 20:18:41 +0530 Subject: [PATCH] dt-bindings: thermal: Add a new property for bcl pmic5 This changes adds a new property for bcl pmic5 to enable a BCL peripheral based on different battery types and Rsense types. Change-Id: I68c1369319db598ccfd38faa09075aed113da7f2 Signed-off-by: Minghao Zhang --- bindings/thermal/qcom-bcl-pmic5.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/bindings/thermal/qcom-bcl-pmic5.yaml b/bindings/thermal/qcom-bcl-pmic5.yaml index 1ee636ab..a0c67869 100644 --- a/bindings/thermal/qcom-bcl-pmic5.yaml +++ b/bindings/thermal/qcom-bcl-pmic5.yaml @@ -54,6 +54,20 @@ properties: - const: bcl-lvl1 - const: bcl-lvl2 + qcom,bcl-mon-vbat-only: + type: boolean + description: | + When this flag is defined, the BCL driver will only monitor + Vbat or both Ibat and Vbat based on runtime battery type and + Rsense input. + + qcom,bcl-mon-ibat-only: + type: boolean + description: | + When this flag is defined, the BCL driver will only monitor + Ibat or don't monitor anything based on runtime battery type + and Rsense input. + qcom,pmic7-threshold: type: boolean description: | @@ -79,5 +93,6 @@ examples: <0x2 0x42 0x1 IRQ_TYPE_NONE>; interrupt-names = "bcl-lvl0", "bcl-lvl1"; + qcom,bcl-mon-vbat-only; qcom,pmic7-threshold; };