From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF829C43381 for ; Sat, 2 Mar 2019 04:32:24 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 79C1720857 for ; Sat, 2 Mar 2019 04:32:24 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="bUffF8Pp"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=sholland.org header.i=@sholland.org header.b="RdauTGcL"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="qsIETBD3" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 79C1720857 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=sholland.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=NGpEIVpzug09rj6QwarfqGweOSAXF1CbNaiHUpDhIRA=; b=bUffF8PpUpgqGO VuiR8hmv3tVsjIj/E87zfCzHThGUaGCUxk/n0MgR0nleuzPaFWOleWyASfwSncd95dMUUmHDa/ZG5 Rht+LFPk2MBXg78U+t99yz7WZLDTua7Ch0Qhn0R6RiWQGKOFCJGBjbDnL7Cdcbc6x0TCv43Z63fRg +ZhsmZsFvsflteLbZKAiM3fGkMbqWFIfWm3DdHVfoUylX7UauKc5FPTD8oDxs3iL+oOofpnataH11 f+h7UU6u8z0H9ELLchiY6cdAqY7l1qj6MrKNJOkcZ4DAfALRz6UnmCMFiByALUZhI11ut9HuH9vsd rw/xp2+v/60/aVMX17mg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzwJw-0003GK-Ii; Sat, 02 Mar 2019 04:32:20 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gzwHl-0007qH-Bm for linux-arm-kernel@lists.infradead.org; Sat, 02 Mar 2019 04:30:09 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 8728622141; Fri, 1 Mar 2019 23:30:00 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 01 Mar 2019 23:30:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=ooUrU7uGG5qG1 YLHj5lkEeYiw80CHNq9zOV4g5e9hA4=; b=RdauTGcLp3wpSfwXKHeGhO+QUrFXV tKRCSxiEN93Xfz9OQEfsEo2HwoVXBU6PlWndHbC9Ye3QQuyIC/PChIvkc4hZPWDq 7m3Mh57P4WKfaiS3YzvZljH/xF0Nnc5yOmrx0+aPqWlumqu8TqK6y8Mf7HyvyX0Q 25xyXLx4dP6egrBwS/PB5PYBR7YK/YzvS7ttKfuqWoOhaWuGS96p2eTDNYMeusjj C2z8nsx5xlrgQ7bRNxONihkxddceCwi6XsSDYmy1HvVEbFSk0fu63VR2wQCNqWJF c9DnNVO+dHRTT0V7WRoIbpoQP2oM+LH8k0q5DgadnngxFwfNvOoZ0Z8zw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=ooUrU7uGG5qG1YLHj5lkEeYiw80CHNq9zOV4g5e9hA4=; b=qsIETBD3 JNnxNOHwn51oDwyRMIEtg/Fmh6/+TsHXC9WuqsPl8L3RucSc0PFukehUc/tDAJHM A/2z/TXCyQMZXIynDAE46IXw2xeFbp1nD+scMZgZPWtDomif6IdUReE/9zftGm5o AK4EalJKGtnvwHkjhexvSQpKk49r1EJv2ES3089d67GjqzzBPEJwQKj017p9D5Q3 0vryF/BLrM62UdniEQ2+KKG7m8CR3ZlNBsZW95Gz5bN2cOTRdBn/LwrvK34aamGA XfAtkfCM4P6kc50gcRBrmVAXaOoA/ZeRto+/97T0UXfdZJNvKurUElL+bL4ZgQeI hRWllzfi0ILNXw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedutddrvdeigdejtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkofgjfhgggfestdekredtredttdenucfhrhhomhepufgrmhhuvghl ucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecukfhppe ejtddrudefhedrudegkedrudehudenucfrrghrrghmpehmrghilhhfrhhomhepshgrmhhu vghlsehshhholhhlrghnugdrohhrghenucevlhhushhtvghrufhiiigvpeek X-ME-Proxy: Received: from titanium.stl.sholland.net (70-135-148-151.lightspeed.stlsmo.sbcglobal.net [70.135.148.151]) by mail.messagingengine.com (Postfix) with ESMTPA id 9879910312; Fri, 1 Mar 2019 23:29:59 -0500 (EST) From: Samuel Holland To: Maxime Ripard , Chen-Yu Tsai , Jassi Brar , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland Subject: [PATCH v3 13/15] [NOT FOR MERGE] arm64: dts: allwinner: a64: Add interrupt controller node Date: Fri, 1 Mar 2019 22:29:49 -0600 Message-Id: <20190302042951.53671-14-samuel@sholland.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20190302042951.53671-1-samuel@sholland.org> References: <20190302042951.53671-1-samuel@sholland.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190301_203005_788457_96096D2C X-CRM114-Status: UNSURE ( 9.34 ) 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, Samuel Holland , linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org In order to give firmware full access to r_intc, Linux needs to avoid using it in the device tree. Most IRQ lines attached to r_intc are also attached to the GIC. Unfortunately, the NMI is not. For it to be used in Linux, we have to forward it in firmware over the mailbox. Add a node representing this virtual interrupt controller. Signed-off-by: Samuel Holland --- 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 29ee8f0f833a..63e33215dea0 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -128,6 +128,14 @@ status = "disabled"; }; + msgbox_intc: interrupt-controller { + compatible = "allwinner,sunxi-msgbox-intc"; + interrupt-controller; + #interrupt-cells = <1>; + mboxes = <&msgbox 6>, <&msgbox 7>; + mbox-names = "tx", "rx"; + }; + osc24M: osc24M_clk { #clock-cells = <0>; compatible = "fixed-clock"; -- 2.19.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel