ARM: dts: qcom: Add dts changes for qcom coincell charger
authorTim Bird <tim.bird@sonymobile.com>
Thu, 16 Jul 2015 23:55:33 +0000 (16:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2015 20:37:18 +0000 (13:37 -0700)
Add framework for the coincell charger DT block in pm8941 file, and
actual values for honami battery in the honami dts file.

Signed-off-by: Tim Bird <tim.bird@sonymobile.com>
Reviewed-by: Andy Gross <agross@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/qcom-msm8974-sony-xperia-honami.dts
arch/arm/boot/dts/qcom-pm8941.dtsi

index bd35b0674ff6894cd6518046d049b385e038a624..9bc72a3356e45ea7c79d43daf9eae826342e8f52 100644 (file)
                status = "ok";
        };
 };
+
+&spmi_bus {
+       pm8941@0 {
+               coincell@2800 {
+                       status = "ok";
+                       qcom,rset-ohms = <2100>;
+                       qcom,vset-millivolts = <3000>;
+               };
+       };
+};
index aa774e685018a58d2fdebd408af6aed6e849a0f0..968f1043d4f599ce9438f61f094834c484e9e22d 100644 (file)
                        interrupts = <0x0 0x36 0x0 IRQ_TYPE_EDGE_RISING>;
                        qcom,external-resistor-micro-ohms = <10000>;
                };
+
+               coincell@2800 {
+                       compatible = "qcom,pm8941-coincell";
+                       reg = <0x2800>;
+                       status = "disabled";
+               };
        };
 
        usid1: pm8941@1 {