From patchwork Mon Apr 17 11:57:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9683763 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 744D3600C5 for ; Mon, 17 Apr 2017 12:00:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 674B42018F for ; Mon, 17 Apr 2017 12:00:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5BDAB27A98; Mon, 17 Apr 2017 12:00:33 +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 E3B6F27B81 for ; Mon, 17 Apr 2017 12:00:32 +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=USK4hRb+B6FtOx5nqoonIRI3PX8PzNGB7a7aCUxNKZ8=; b=pt5gvbhOyZYtzewcWg5M0vqRWo dF6vlmQ6RovPU4hDL5kqJjvkTdIOqLEYqgYt9OJZTzQoKJudz8pbOF8sqUxL684wqdmetQLuTtN8E wxoJcFT9rRMsaCrFjaGIRQ6T2BXFOf6daOC2BsigjUaA+tdbvSmO+PNmi8IzqApOcrZvHcvJDuzs9 tDpfAlmch7u+I3rBnWrmkT6a+M8GCxswmNkXhgXFdeHWcbXgyYoHAqwl+TOM0VzxQHr+w3eCfjVGB 4m5i1Q31gFcT7JELrFz1tj4bkaS2vtICoXBgsd08u0qQl5+iCtpekrxy5zDsB7W5++Nis6Lsukhd9 +rENNsIw==; 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 1d05Ka-0001sO-Bq; Mon, 17 Apr 2017 12:00:32 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d05KY-0001rh-0B for linux-arm-kernel@bombadil.infradead.org; Mon, 17 Apr 2017 12:00:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Sender:Reply-To:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HVdjl8sGfgpLi6GtEmIq08HwO2ENeFbU3JeDPK81PL8=; b=y4FYUIJQWGyqv1A2/GxzJw8LK Owk5c760zsmDiXdKwqLSAZrHC3z1AfSY+8dk0qQCy9SUJUGzwpboYpGSgMlPM3VCzD+Afs75NVtIA NAKB4U2DIKdsuJrFhqTZTmhDaFaxqMStShFRP92okYFP0b81dIOaJnygJGheOp3IfAt5Nr6iwX1d2 B/iWqc4/iN1R/oFfE9t36NTkpbPrTPmKlMu6g7YSvwGOEGKmXO607dGUajmElpWfd0sVs6CYwzqbR GbsWeg7YXtdE4hTfyRh+sdMYHMWm9kRJtrGe4PoLaIz3XaCqpw6rXxZQPctcWgHpRmeQFE2lCrLC/ 5DqyOjFFQ==; Received: from egyptian.birch.relay.mailchannels.net ([23.83.209.56]) by merlin.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1d05KV-0002fd-Dy for linux-arm-kernel@lists.infradead.org; Mon, 17 Apr 2017 12:00:29 +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 28A562041AA; Mon, 17 Apr 2017 11:59:58 +0000 (UTC) Received: from hermes.aosc.io (unknown [100.96.133.151]) by relay.mailchannels.net (Postfix) with ESMTPA id 19EF62049FD; Mon, 17 Apr 2017 11:59:57 +0000 (UTC) X-Sender-Id: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io Received: from hermes.aosc.io (hermes.aosc.io [172.20.72.20]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.7.37); Mon, 17 Apr 2017 11:59:58 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: lmn-tzduiowcrqmw|x-authsender|icenowy@aosc.io X-MailChannels-Auth-Id: lmn-TZDUIOWCRQMW X-Wipe-Trade: 353f951a30538dea_1492430397886_4011458008 X-MC-Loop-Signature: 1492430397886:301380526 X-MC-Ingress-Time: 1492430397886 Received: from localhost (localhost [127.0.0.1]) (Authenticated sender: icenowy@aosc.io) by hermes.aosc.io (Postfix) with ESMTPSA id B097A46B30; Mon, 17 Apr 2017 11:59:50 +0000 (UTC) From: Icenowy Zheng To: Lee Jones , Rob Herring , Chen-Yu Tsai , Maxime Ripard , Liam Girdwood , Mark Brown Subject: [PATCH v3 02/12] arm64: allwinner: a64: add NMI controller on A64 Date: Mon, 17 Apr 2017 19:57:37 +0800 Message-Id: <20170417115747.7300-3-icenowy@aosc.io> In-Reply-To: <20170417115747.7300-1-icenowy@aosc.io> References: <20170417115747.7300-1-icenowy@aosc.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170417_080027_609900_9886ACFE X-CRM114-Status: UNSURE ( 7.33 ) 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 Allwinner A64 SoC features a NMI controller, which is usually connected to the AXP PMIC. Add support for it. Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai --- Changes in v2: - Added Chen-Yu's ACK. arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 05ec9fc5e81f..53c18ca372ea 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -403,6 +403,14 @@ ; }; + nmi_intc: interrupt-controller@01f00c0c { + compatible = "allwinner,sun6i-a31-sc-nmi"; + interrupt-controller; + #interrupt-cells = <2>; + reg = <0x01f00c0c 0x38>; + interrupts = ; + }; + r_ccu: clock@1f01400 { compatible = "allwinner,sun50i-a64-r-ccu"; reg = <0x01f01400 0x100>;