From patchwork Fri Jul 1 09:29:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9209585 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 360286075F for ; Fri, 1 Jul 2016 09:32:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2601827DE0 for ; Fri, 1 Jul 2016 09:32:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1AC8E28529; Fri, 1 Jul 2016 09:32:37 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AF1C827DE0 for ; Fri, 1 Jul 2016 09:32:36 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bIunD-0000Nj-Ht; Fri, 01 Jul 2016 09:31:23 +0000 Received: from forward10o.cmail.yandex.net ([2a02:6b8:0:1a72::295]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bIunA-00005W-Ic for linux-arm-kernel@lists.infradead.org; Fri, 01 Jul 2016 09:31:21 +0000 Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward10o.cmail.yandex.net (Yandex) with ESMTP id 289C121C27; Fri, 1 Jul 2016 12:30:57 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 0724ADE012B; Fri, 1 Jul 2016 12:30:54 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id XINhM3U1Qm-UhLuBUbZ; Fri, 01 Jul 2016 12:30:52 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1467365454; bh=tWC/RC2U2EKXWahQmZXmQhKwak+zuV6fk4E8p4prTcg=; h=From:To:Cc:Subject:Date:Message-Id:X-Mailer:In-Reply-To: References; b=SSfHxnP4SDygesjicMxRz7aDbJkwUKDOyo+Ra+x322wR3Dlw4L++E2abPba79bvjn LcPHrd7N9IiWKWT1zOVAUppDpIGzCr55SJy8S73ok4ebtI+196h8xyoh6NSWiCCHdJ lwNhqnmzB8eQvcuwMrGcy7LjoOkUGWt7RShnTgVE= Authentication-Results: smtp1o.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: FR X-Yandex-Suid-Status: 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 0, 1 1130000036118848 From: Icenowy Zheng To: wens@csie.org, maxime.ripard@free-electrons.com, sre@kernel.org, dbaryshkov@gmail.com, dwmw2@infradead.org Subject: [PATCH 3/4] ARM: sun8i: add axp20x-battery node for axp22x Date: Fri, 1 Jul 2016 17:29:25 +0800 Message-Id: <20160701092926.32005-3-icenowy@aosc.xyz> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20160701092926.32005-1-icenowy@aosc.xyz> References: <20160701092926.32005-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160701_023120_851296_AB751829 X-CRM114-Status: UNSURE ( 6.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, robh+dt@kernel.org, Icenowy Zheng , linux-arm-kernel@lists.infradead.org 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 Signed-off-by: Icenowy Zheng --- arch/arm/boot/dts/axp22x.dtsi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/axp22x.dtsi b/arch/arm/boot/dts/axp22x.dtsi index f05cbf6..4abcac5 100644 --- a/arch/arm/boot/dts/axp22x.dtsi +++ b/arch/arm/boot/dts/axp22x.dtsi @@ -150,4 +150,9 @@ compatible = "x-powers,axp202-usb-power-supply"; status = "disabled"; }; + + battery: battery { + compatible = "x-powers,axp202-battery"; + status = "disabled"; + }; };