From patchwork Sun Oct 9 06:27:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9368371 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 1C848608A6 for ; Sun, 9 Oct 2016 06:31:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 104FD28DD0 for ; Sun, 9 Oct 2016 06:31:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0472129140; Sun, 9 Oct 2016 06:31:03 +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 D4D9028FBD for ; Sun, 9 Oct 2016 06:30:59 +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 1bt7bj-0007hL-Lf; Sun, 09 Oct 2016 06:29:11 +0000 Received: from forward9o.cmail.yandex.net ([2a02:6b8:0:1a72::294]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bt7bU-0007by-LB for linux-arm-kernel@lists.infradead.org; Sun, 09 Oct 2016 06:28:58 +0000 Received: from smtp3j.mail.yandex.net (smtp3j.mail.yandex.net [95.108.130.68]) by forward9o.cmail.yandex.net (Yandex) with ESMTP id DAF0421396; Sun, 9 Oct 2016 09:28:32 +0300 (MSK) Received: from smtp3j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3j.mail.yandex.net (Yandex) with ESMTP id 44B906240D8D; Sun, 9 Oct 2016 09:28:20 +0300 (MSK) Received: by smtp3j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id MYSh2WzRiA-SErqwCB0; Sun, 09 Oct 2016 09:28:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1475994500; bh=gEzP4uFPAGpRB2s7E5tO4T5QCHWlcwqnTcvE1UqBxWQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=NankPkHzoC6RFBTHqFEiVUOOe6mhmpUM0aajuk583+HQR10bLU5tdFbA9EYGclaQf CrlItG2oQp9b0Sw+/js/bwCCBT5XdvsdsqZDPkXTXCdQcOuzBlVMs8FEAefLkYB6np yn1uMyszDX5Ip55SXSrSMzLfGRCUxuXwjzz501m8= Authentication-Results: smtp3j.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: Ta 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: Rob Herring , Chen-Yu Tsai , Maxime Ripard , Lee Jones , =?UTF-8?q?Bruno=20Pr=C3=A9mont?= , Michael Haas Subject: [PATCH v2 3/4] ARM: dts: add battery node for axp20x/axp22x dtsi Date: Sun, 9 Oct 2016 14:27:13 +0800 Message-Id: <20161009062714.5085-3-icenowy@aosc.xyz> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20161009062714.5085-1-icenowy@aosc.xyz> References: <20161009062714.5085-1-icenowy@aosc.xyz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161008_232857_016994_E771DC01 X-CRM114-Status: UNSURE ( 8.48 ) 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 , devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Russell King , Icenowy Zheng , Sebastian Reichel , 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 --- Changes since v1: - Add support for AXP20x. arch/arm/boot/dts/axp209.dtsi | 5 +++++ arch/arm/boot/dts/axp22x.dtsi | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/axp209.dtsi b/arch/arm/boot/dts/axp209.dtsi index afbe89c..1602987 100644 --- a/arch/arm/boot/dts/axp209.dtsi +++ b/arch/arm/boot/dts/axp209.dtsi @@ -91,6 +91,11 @@ }; }; + battery: battery { + compatible = "x-powers,axp202-battery"; + status = "disabled"; + }; + usb_power_supply: usb_power_supply { compatible = "x-powers,axp202-usb-power-supply"; status = "disabled"; diff --git a/arch/arm/boot/dts/axp22x.dtsi b/arch/arm/boot/dts/axp22x.dtsi index 458b668..a09ba3f 100644 --- a/arch/arm/boot/dts/axp22x.dtsi +++ b/arch/arm/boot/dts/axp22x.dtsi @@ -148,6 +148,11 @@ }; }; + battery: battery { + compatible = "x-powers,axp221-battery"; + status = "disabled"; + }; + usb_power_supply: usb_power_supply { compatible = "x-powers,axp221-usb-power-supply"; status = "disabled";