drivers: thermal: bcl-pmic5: clean up PMIC v5 BCL driver
Clean up PMIC v5 BCL driver. It includes rename driver,
remove redundant debug logs, remove WARN_ON from ISR etc.
Change-Id: Ia6a3a406c6f139cfa6741e4e2f08dc9cd4e4bdaa
Signed-off-by: Manaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
diff --git a/Documentation/devicetree/bindings/thermal/qcom-bcl-pmic5.txt b/Documentation/devicetree/bindings/thermal/qcom-bcl-pmic5.txt
index 5322d89..9f12e48 100644
--- a/Documentation/devicetree/bindings/thermal/qcom-bcl-pmic5.txt
+++ b/Documentation/devicetree/bindings/thermal/qcom-bcl-pmic5.txt
@@ -14,7 +14,7 @@
Required Parameters:
- compatible: must be
- 'qcom,msm-bcl-pmic5' for bcl peripheral in PMIC version 5.
+ 'qcom,bcl-v5' for bcl peripheral in PMIC version 5.
- reg: <a b> where 'a' is the starting register address of the PMIC
peripheral and 'b' is the size of the peripheral address space.
- interrupts: <a b c> Where 'a' is the SLAVE ID of the PMIC, 'b' is
@@ -27,11 +27,11 @@
"bcl-high-ibat"
Example:
- bcl@4200 {
- compatible = "qcom,msm-bcl-pmic5";
- reg = <0x4200 0xFF>;
- interrupts = <0x2 0x42 0x0>,
- <0x2 0x42 0x1>;
- interrupt-names = "bcl-high-ibat",
- "bcl-low-vbat";
- };
+ bcl@4200 {
+ compatible = "qcom,bcl-v5";
+ reg = <0x4200 0x100>;
+ interrupts = <0x2 0x42 0x0>,
+ <0x2 0x42 0x1>;
+ interrupt-names = "bcl-high-ibat",
+ "bcl-low-vbat";
+ };