From patchwork Wed Apr 26 15:20:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9701565 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 2D1156032C for ; Wed, 26 Apr 2017 15:36:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1EF93201BD for ; Wed, 26 Apr 2017 15:36:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 122812843F; Wed, 26 Apr 2017 15:36:59 +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 9CCA0201BD for ; Wed, 26 Apr 2017 15:36:58 +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=TN4TJoy7BjDhx9JIvpFgxEHTAeQ3q1SeRqnkcNAWg94=; b=NA+ZpRWPwk3/+radcwDiP0jo8a kVXyfqTHV4oVSD/4p4jNEEY7DV/KlCSLJ4AWbl+QL+pyX87Zx3hY9SwSa0pfZ+WmWLlKz3IQv/2aX NUP6BzrvyTZL9xCXZbibqY4NY+QKRtogU7k14MtK7ikinOouHJ8KcQ+gqXFxYcxfg0+ABAcNOmBN9 2aEjLrNYp/MceMhgJ48yvhG06kYMdKVvEXWyK3/FdfLppLBAvoXS6mtDDHuicgnQkmqDKTVxDCBak tTpnvZpk6YgUsuszwpcRfP3e7S72UVDVRVu5X0jyTJRDPM6Z/l1CS1gP82M+5Meuo8v0wUUyY+t3q 6FATW2yA==; 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 1d3Ozl-0007rO-3A; Wed, 26 Apr 2017 15:36:45 +0000 Received: from cat.maple.relay.mailchannels.net ([23.83.214.31]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d3OlZ-0006gl-1Y for linux-arm-kernel@lists.infradead.org; Wed, 26 Apr 2017 15:22:06 +0000 X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 1AB647C4255; Wed, 26 Apr 2017 15:21:44 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.129.223]) by relay.mailchannels.net (Postfix) with ESMTPA id AEC597C3F5F; Wed, 26 Apr 2017 15:21:42 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.20.104.49]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.9.2); Wed, 26 Apr 2017 15:21:44 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Madly-Power: 6c56c87e51a33b1c_1493220103787_2929288720 X-MC-Loop-Signature: 1493220103787:716950683 X-MC-Ingress-Time: 1493220103787 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id 7D87549693; Wed, 26 Apr 2017 15:21:36 +0000 (UTC) From: Icenowy Zheng To: Thomas Gleixner , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Lee Jones , Liam Girdwood Subject: [PATCH v5 05/10] arm64: allwinner: a64: add AXP803 node to Pine64 device tree Date: Wed, 26 Apr 2017 23:20:18 +0800 Message-Id: <20170426152023.41567-6-icenowy@aosc.io> In-Reply-To: <20170426152023.41567-1-icenowy@aosc.io> References: <20170426152023.41567-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170426_082205_265327_9717B17C X-CRM114-Status: UNSURE ( 6.08 ) 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: devicetree@vger.kernel.org, linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng 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 The Pine64 (including Pine64+) boards have an AXP803 as its main PMIC. Add its device node. Signed-off-by: Icenowy Zheng --- arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts index c680ed385da3..3e1b44292534 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts @@ -95,6 +95,17 @@ status = "okay"; }; +&r_rsb { + status = "okay"; + + axp803: pmic@3a3 { + compatible = "x-powers,axp803"; + reg = <0x3a3>; + interrupt-parent = <&r_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + }; +}; + &uart0 { pinctrl-names = "default"; pinctrl-0 = <&uart0_pins_a>;