diff mbox series

ARM: dts: qcom: apq8026-lg-lenok: add fuel gauge

Message ID 20211118205834.160308-1-luca@z3ntu.xyz (mailing list archive)
State Accepted
Headers show
Series ARM: dts: qcom: apq8026-lg-lenok: add fuel gauge | expand

Commit Message

Luca Weiss Nov. 18, 2021, 8:58 p.m. UTC
The device uses a BQ27421 as fuel gauge, so add a node describing it.

Signed-off-by: Luca Weiss <luca@z3ntu.xyz>
---
 arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Bjorn Andersson Jan. 31, 2022, 6:24 p.m. UTC | #1
On Thu, 18 Nov 2021 21:58:33 +0100, Luca Weiss wrote:
> The device uses a BQ27421 as fuel gauge, so add a node describing it.
> 
> 

Applied, thanks!

[1/1] ARM: dts: qcom: apq8026-lg-lenok: add fuel gauge
      commit: d63642596ed1feb832f8cdfb8f166a18fdb03831

Best regards,
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts b/arch/arm/boot/dts/qcom-apq8026-lg-lenok.dts
index f350c4e8c194..b19522ad91a0 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 @@  chosen {
 	};
 };
 
+&blsp1_i2c1 {
+	status = "okay";
+
+	fuel-gauge@55 {
+		compatible = "ti,bq27421";
+		reg = <0x55>;
+	};
+};
+
 &blsp1_i2c5 {
 	status = "okay";
 	clock-frequency = <384000>;