device-tree: nexus7: Add bq27541 battery interface to dts
authorJohn Stultz <john.stultz@linaro.org>
Thu, 14 Apr 2016 21:07:11 +0000 (14:07 -0700)
committerAndy Gross <andy.gross@linaro.org>
Wed, 20 Apr 2016 20:03:16 +0000 (15:03 -0500)
Add support for battery level reading on the Nexus7 by
enabling the bq27541 driver in the nexus7 dts

Cc: Rob Herring <robh+dt@kernel.org>
Cc: Arnd Bergmann <arnd.bergmann@linaro.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Cc: Andy Gross <agross@codeaurora.org>
Cc: Vinay Simha BN <simhavcs@gmail.com>
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org
Signed-off-by: John Stultz <john.stultz@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-apq8064-asus-nexus7-flo.dts

index c535b3f0e5cfd161032390a93f9f90f7a8d5d034..32fedfa149d0f4fa424a8635225d7d544e0bca5b 100644 (file)
                                        reg = <0x52>;
                                        pagesize = <32>;
                                };
+
+                               bq27541@55 {
+                                       compatible = "ti,bq27541";
+                                       reg = <0x55>;
+                               };
+
                        };
                };