From patchwork Sun Apr 30 18:30:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 9706197 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 343AF601D2 for ; Sun, 30 Apr 2017 18:32:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 28C6023F88 for ; Sun, 30 Apr 2017 18:32:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C1B926247; Sun, 30 Apr 2017 18:32:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A46D623F88 for ; Sun, 30 Apr 2017 18:32:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=zOwWPfn4yG7PvjdgOl5UfUu4m78HKK/f8kGB14xZIe4=; b=t/LiW++2k68E0uKkcS259o/o6p 0NbkhPGdA6ImTy2lYK6kCHARndohgVvIRkx+V5xUgKZKEl5nYo/9I/njptWIsxC0gZXwygeLETLfo PJqkjS48+oZofSog//7LKXpUXyvAhMccuBy+nB+bzEwIfBv4ZXQgD+HovMmVH+heaFvhuYFXrsgsf xtqyCpCBphGJqE4HIkNDjaJWPIMYtIuBWgMEc3I4BXoEDtOO7UsYTrEj4Qzd0jhTl/QZx7rwYrtNQ E0T1cEd6PanZPYmdibP646zSyZcvWrgU13mWfplzVTsBzDVyqP6SMhyO8bHT2P5IwH8+PIoY4XWIk SlfTKNfA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1d4teS-0007gN-JQ; Sun, 30 Apr 2017 18:32:56 +0000 Received: from gagarine.paulk.fr ([109.190.93.129]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d4tdm-0006kh-7S; Sun, 30 Apr 2017 18:32:16 +0000 Received: by gagarine.paulk.fr (Postfix, from userid 65534) id A2A2120A8C; Sun, 30 Apr 2017 20:31:54 +0200 (CEST) Received: from localhost.localdomain (collins [192.168.1.129]) by gagarine.paulk.fr (Postfix) with ESMTP id 6FDAD204E6; Sun, 30 Apr 2017 20:31:36 +0200 (CEST) From: Paul Kocialkowski To: linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170430_113214_602017_494B583A X-CRM114-Status: GOOD ( 10.62 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Rob Herring , Heiko Stuebner , Paul Kocialkowski , Russell King MIME-Version: 1.0 Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; }; };