From patchwork Mon Apr 24 16:00:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9696657 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 7B1A6603F2 for ; Mon, 24 Apr 2017 16:04:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6C58E267EC for ; Mon, 24 Apr 2017 16:04:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 610D128305; Mon, 24 Apr 2017 16:04:09 +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 5ACB8267EC for ; Mon, 24 Apr 2017 16:04:08 +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=Za61TGGHR1p2AqTVran21Ghxyr El0eLJqatHF0RnQ0SjuA+Yr0u81gcY79Qozub1K4euQk3R0CtQbe314PJWHxXewInouqHv+ce/a9k IfdeO8oSvbWvkRp007SITIVIDn7OGJcBjrIecjWWSw7jMiORyPTTDMm6FEiM4mutf3PhZ7wEIyLgh Dc0QiWqh0Rptd+Kg7NlnnOrnK+qvtq2pr0LyVDQH46rWBfN+gs47hPAArae0btwq+D2dRKGBV7NqL W63oYudsZxgeI9shSoaJpw+QBcM7bJ8oiHjHn+QV1zWr9M9ChLhj0tPicIJy4xW9TDG0hjCUMYDgU cWFlLBZw==; 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 1d2gT9-00077F-Tx; Mon, 24 Apr 2017 16:04:07 +0000 Received: from nov-007-i584.relay.mailchannels.net ([46.232.183.138]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d2gSt-0006e0-Hf for linux-arm-kernel@lists.infradead.org; Mon, 24 Apr 2017 16:04:05 +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 B4566204CF4; Mon, 24 Apr 2017 16:03:19 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.129.181]) by relay.mailchannels.net (Postfix) with ESMTPA id BB53B2033F7; Mon, 24 Apr 2017 16:02:55 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.20.52.122]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.9.2); Mon, 24 Apr 2017 16:03:19 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Whispering-Gusty: 07f0d5142b320fcd_1493049799293_1450464069 X-MC-Loop-Signature: 1493049799293:1820398657 X-MC-Ingress-Time: 1493049799292 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id C494148C38; Mon, 24 Apr 2017 16:02:50 +0000 (UTC) From: Icenowy Zheng To: Thomas Gleixner , Rob Herring , Maxime Ripard , Chen-Yu Tsai , Lee Jones , Liam Girdwood Subject: [PATCH v4 05/10] arm64: allwinner: a64: add AXP803 node to Pine64 device tree Date: Tue, 25 Apr 2017 00:00:58 +0800 Message-Id: <20170424160103.9447-6-icenowy@aosc.io> In-Reply-To: <20170424160103.9447-1-icenowy@aosc.io> References: <20170424160103.9447-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170424_090352_446254_1420A26E X-CRM114-Status: UNSURE ( 6.44 ) 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>;