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


Groups > linux.kernel > #1633478 > unrolled thread

[PATCH 3/3] ARM: dts: rockchip: List charger as power supply for minnie

Started byPaul Kocialkowski <contact@paulk.fr>
First post2017-04-30 20:40 +0200
Last post2017-04-30 20:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/3] ARM: dts: rockchip: List charger as power supply for minnie Paul Kocialkowski <contact@paulk.fr> - 2017-04-30 20:40 +0200

#1633478 — [PATCH 3/3] ARM: dts: rockchip: List charger as power supply for minnie

FromPaul Kocialkowski <contact@paulk.fr>
Date2017-04-30 20:40 +0200
Subject[PATCH 3/3] ARM: dts: rockchip: List charger as power supply for minnie
Message-ID<tC1Vg-6Hh-5@gated-at.bofh.it>
This lists the GPIO charger node as power supply for the battery, which
in turns allows receiving external power notifications and synchronizing
the charging state as soon as possible.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
 arch/arm/boot/dts/rk3288-veyron-minnie.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/boot/dts/rk3288-veyron-minnie.dts b/arch/arm/boot/dts/rk3288-veyron-minnie.dts
index 544de6027aaa..3f97f33bd783 100644
--- a/arch/arm/boot/dts/rk3288-veyron-minnie.dts
+++ b/arch/arm/boot/dts/rk3288-veyron-minnie.dts
@@ -151,6 +151,7 @@
 	battery: bq27500@55 {
 		compatible = "ti,bq27500";
 		reg = <0x55>;
+		power-supplies = <&charger>;
 	};
 };
 
-- 
2.12.2

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web