projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8565bd
)
ARM: dts: qcom: apq8026-lg-lenok: add fuel gauge
author
Luca Weiss
<luca@z3ntu.xyz>
Thu, 18 Nov 2021 20:58:33 +0000
(21:58 +0100)
committer
Bjorn Andersson
<bjorn.andersson@linaro.org>
Tue, 25 Jan 2022 21:20:31 +0000
(15:20 -0600)
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
arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
index
77caab3
..
1519544
100644
(file)
--- 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>;