summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2021-11-18 21:58:33 +0100
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-01-25 15:20:31 -0600
commitd63642596ed1feb832f8cdfb8f166a18fdb03831 (patch)
treebf1354bcc15372cc1cde2b6cd72b5b6825d80787 /arch/arm
parentf8565bd5404fcd6f87ee1e2d585541fbb457612d (diff)
downloadlinux-d63642596ed1feb832f8cdfb8f166a18fdb03831.tar.bz2
ARM: dts: qcom: apq8026-lg-lenok: add fuel gauge
The device uses a BQ27421 as fuel gauge, so add a node describing it. Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Link: https://lore.kernel.org/r/20211118205834.160308-1-luca@z3ntu.xyz
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
index 77caab3af23e..1519544029e7 100644
--- a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
+++ b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
@@ -23,6 +23,15 @@
};
};
+&blsp1_i2c1 {
+ status = "okay";
+
+ fuel-gauge@55 {
+ compatible = "ti,bq27421";
+ reg = <0x55>;
+ };
+};
+
&blsp1_i2c5 {
status = "okay";
clock-frequency = <384000>;