From 9028aac3392ce18b1d2a5130448b06a3a189ff53 Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Thu, 20 May 2021 23:31:22 +0530 Subject: [PATCH] dt-bindings: thermal: Add support for ibat CCM hardware to bcl driver There are few pmics those support ibat continuous current monitoring (CCM) comparator hardware for bcl ibat level 1 monitor. Add support to set threshold for ibat CCM comparator hardware for bcl driver. Change-Id: I44ec898ececf107629a0d7fa5e538e66d697108c --- bindings/thermal/qcom-bcl-pmic5.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bindings/thermal/qcom-bcl-pmic5.txt b/bindings/thermal/qcom-bcl-pmic5.txt index 814f161bd6ee..be9e2e0dcde5 100644 --- a/bindings/thermal/qcom-bcl-pmic5.txt +++ b/bindings/thermal/qcom-bcl-pmic5.txt @@ -35,6 +35,11 @@ Optional Parameters: Value type: Definition: When this flag is defined, the BCL driver will account for no bit shift in the threshold registers. +- qcom,ibat-ccm-hw-support: + Value type: + Definition: Enable this flag when BCL Peripheral supports continuous + current monitoring(CCM) hardware for battery current + monitor. Example: bcl@4200 { @@ -45,4 +50,5 @@ Example: interrupt-names = "bcl-lvl0", "bcl-lvl1"; qcom,pmic7-threshold; + qcom,ibat-ccm-hw-support; };