diff --git a/bindings/thermal/qcom-bcl-pmic5.txt b/bindings/thermal/qcom-bcl-pmic5.txt index 20bb9829e470..814f161bd6ee 100644 --- a/bindings/thermal/qcom-bcl-pmic5.txt +++ b/bindings/thermal/qcom-bcl-pmic5.txt @@ -30,6 +30,12 @@ Required Parameters: "bcl-lvl1", "bcl-lvl2", +Optional Parameters: +- qcom,pmic7-threshold: + Value type: + Definition: When this flag is defined, the BCL driver will account for + no bit shift in the threshold registers. + Example: bcl@4200 { compatible = "qcom,bcl-v5"; @@ -38,4 +44,5 @@ Example: <0x2 0x42 0x1 IRQ_TYPE_NONE>; interrupt-names = "bcl-lvl0", "bcl-lvl1"; + qcom,pmic7-threshold; }; diff --git a/qcom/pm8350b.dtsi b/qcom/pm8350b.dtsi index c7842259b735..500fc5a2aff4 100644 --- a/qcom/pm8350b.dtsi +++ b/qcom/pm8350b.dtsi @@ -39,6 +39,7 @@ interrupt-names = "bcl-lvl0", "bcl-lvl1", "bcl-lvl2"; + qcom,pmic7-threshold; #thermal-sensor-cells = <1>; }; diff --git a/qcom/pm8350c.dtsi b/qcom/pm8350c.dtsi index 0da0e3a8f20c..18213cc1a503 100644 --- a/qcom/pm8350c.dtsi +++ b/qcom/pm8350c.dtsi @@ -113,6 +113,7 @@ interrupt-names = "bcl-lvl0", "bcl-lvl1", "bcl-lvl2"; + qcom,pmic7-threshold; #thermal-sensor-cells = <1>; };