Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1424857AbdD3ScJ (ORCPT ); Sun, 30 Apr 2017 14:32:09 -0400 Received: from gagarine.paulk.fr ([109.190.93.129]:62300 "EHLO gagarine.paulk.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1165961AbdD3Sb7 (ORCPT ); Sun, 30 Apr 2017 14:31:59 -0400 From: Paul Kocialkowski To: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Heiko Stuebner , Rob Herring , Mark Rutland , Russell King , Paul Kocialkowski Subject: [PATCH 3/3] ARM: dts: rockchip: List charger as power supply for minnie Date: Sun, 30 Apr 2017 20:30:54 +0200 Message-Id: <20170430183054.24563-3-contact@paulk.fr> X-Mailer: git-send-email 2.12.2 In-Reply-To: <20170430183054.24563-1-contact@paulk.fr> References: <20170430183054.24563-1-contact@paulk.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 709 Lines: 23 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 --- 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