From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751210AbdL3PYw (ORCPT ); Sat, 30 Dec 2017 10:24:52 -0500 Received: from gagarine.paulk.fr ([109.190.93.129]:50583 "EHLO gagarine.paulk.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751139AbdL3PYt (ORCPT ); Sat, 30 Dec 2017 10:24:49 -0500 From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com Cc: Lee Jones , Rob Herring , Mark Rutland , Chen-Yu Tsai , Russell King , Maxime Ripard , Paul Kocialkowski Subject: [PATCH 3/3] ARM: dts: sun7i: lamobo-r1: Add backup battery charging property Date: Sat, 30 Dec 2017 16:23:30 +0100 Message-Id: <20171230152330.28946-4-contact@paulk.fr> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20171230152330.28946-1-contact@paulk.fr> References: <20171230152330.28946-1-contact@paulk.fr> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This adds the axp20x backup property to the lamobo-r1 device-tree, that allows charging the backup battery attached to its AXP209. It is especially useful since the battery is used for the RTC module. Signed-off-by: Paul Kocialkowski diff --git a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts index 442f3c755f36..e218fd8ea94f 100644 --- a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts +++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts @@ -207,6 +207,8 @@ reg = <0x34>; interrupt-parent = <&nmi_intc>; interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + + backup = <3000 200>; }; }; -- 2.15.1