From patchwork Sat Dec 30 15:23:30 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Kocialkowski X-Patchwork-Id: 10137759 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 1605D60233 for ; Sat, 30 Dec 2017 15:25:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0631D286AE for ; Sat, 30 Dec 2017 15:25:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EC744287E2; Sat, 30 Dec 2017 15:25:22 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED 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 81B01286AE for ; Sat, 30 Dec 2017 15:25:22 +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=hG8yfEtdD2ptP5t3T695OXqTS1ZS1JlbvphJIqHFbsU=; b=VF8WAjkpRcBO7bURhshhGw6UOw ZvFE8Lxt/gefeAoYczzrrfIzmuTw545fcAsgkNpcImqMkod7U5fmNc2DrTg4d+upinN1MiO9GzgpZ e86R6Ixr08Bieo1VDkxm7WwkbxAi8a2gh5Saa+JRHi192la4wjACJfpK532xaibafvQLWw3ByRE4e VebV8mbOaFZSWtuhDgY7emFJAJZfEel3EgOVDrymOcyAgFN/i6gweEU0uQoQRFLQemWWgdJQgeSOf fm/0nC31W9pU60BGqxaRCKPBwOBS6LwoSTNSve3BrSTfoGjBbvoKVXooITzyJGYglKdTlhfnsyLLl IMlQfrDQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eVJ0f-00028H-V3; Sat, 30 Dec 2017 15:25:17 +0000 Received: from gagarine.paulk.fr ([109.190.93.129]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eVJ0E-0001Zh-6m for linux-arm-kernel@lists.infradead.org; Sat, 30 Dec 2017 15:24:54 +0000 Received: by gagarine.paulk.fr (Postfix, from userid 65534) id BE073215A9; Sat, 30 Dec 2017 16:24:46 +0100 (CET) Received: from localhost.localdomain (collins [192.168.1.129]) by gagarine.paulk.fr (Postfix) with ESMTP id 0500E213FB; Sat, 30 Dec 2017 16:24:01 +0100 (CET) From: Paul Kocialkowski To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171230_072450_750832_1469582F X-CRM114-Status: UNSURE ( 8.52 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Russell King , Paul Kocialkowski , Chen-Yu Tsai , Rob Herring , Maxime Ripard , Lee Jones MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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>; }; };