Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1723885

[PATCH v3 4/4] DT: OpenPandora: fix for configuration of bq27500 fuel gauge

From "H. Nikolaus Schaller" <hns@goldelico.com>
Newsgroups linux.kernel
Subject [PATCH v3 4/4] DT: OpenPandora: fix for configuration of bq27500 fuel gauge
Date 2017-08-31 09:10 +0200
Message-ID <ukrLY-2y1-19@gated-at.bofh.it> (permalink)
References <ukrLY-2y1-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Using the latest driver features requires to use "ti,bq27500-1"
instead of "ti,bq27500" as the compatible property.

Also add a reference to the monitored-battery.

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
 arch/arm/boot/dts/omap3-pandora-common.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/omap3-pandora-common.dtsi b/arch/arm/boot/dts/omap3-pandora-common.dtsi
index 154865289dba..bdf082246f9b 100644
--- a/arch/arm/boot/dts/omap3-pandora-common.dtsi
+++ b/arch/arm/boot/dts/omap3-pandora-common.dtsi
@@ -545,8 +545,9 @@
 	clock-frequency = <100000>;
 
 	bq27500@55 {
-		compatible = "ti,bq27500";
+		compatible = "ti,bq27500-1";
 		reg = <0x55>;
+		monitored-battery = <&bat>;
 	};
 
 };
-- 
2.12.2

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/4] fixes for latest bq27xxx driver and OpenPandora DT nodes "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 09:10 +0200
  [PATCH v3 2/4] power: supply: bq27xxx: enable writing capacity values for bq27500 "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 09:10 +0200
    Re: [PATCH v3 2/4] power: supply: bq27xxx: enable writing capacity  values for bq27500 Sebastian Reichel <sebastian.reichel@collabora.co.uk> - 2017-08-31 10:40 +0200
  [PATCH v3 4/4] DT: OpenPandora: fix for configuration of bq27500 fuel gauge "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 09:10 +0200
  [PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity values for bq27421 "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 09:10 +0200
    Re: [PATCH v3 1/4] power: supply: bq27xxx: enable writing capacity  values for bq27421 Sebastian Reichel <sebastian.reichel@collabora.co.uk> - 2017-08-31 10:40 +0200
  [PATCH v3 3/4] DT: OpenPandora: add battery node to describe OpenPandora battery "H. Nikolaus Schaller" <hns@goldelico.com> - 2017-08-31 09:10 +0200

csiph-web