From patchwork Sat Apr 21 13:55:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miquel Raynal X-Patchwork-Id: 10354143 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 38E526019C for ; Sat, 21 Apr 2018 13:57:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A1AC285B5 for ; Sat, 21 Apr 2018 13:57:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1DA6628620; Sat, 21 Apr 2018 13:57: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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 6E3A8285B5 for ; Sat, 21 Apr 2018 13:57: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=8j0iW3n/Ny+BXRiiJE8+AQy/kc2Q5B/rAKnR5ixILOs=; b=hxhnR4Wt7wsuo3xMnCHifSDzvd yQJG0GEBcK8crvLK/ymPW8z+oU7mueWbI+4CNb8rtPuKh/cgyy1el10fJfsfVsKg8MprNBHCNr6Bj qR+eJ8mCZCfpQbQgekLHlS5r9qHG432+L79D/WmpUjBzD0iEAAyPgXq0MYJuBGkcelLeaOTJh2iB1 9rejwWqjlf/fSt4DXqL4z4exGKmu8Boj/i2uN/ZJBQcvLLwSOrB5XPh7XtVcywfdvqbZ7TIxAu1iE YZXKE4SDyQd24Mm/YKd3CCiy6/Zh7KWwGUppwXmmEPSOkatm8w5lUGX/mJJalHlXpnR5wzqetcwBP tzg9eivw==; 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 1f9t1R-00048C-B7; Sat, 21 Apr 2018 13:57:49 +0000 Received: from mail.bootlin.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f9sza-0003Ps-SH for linux-arm-kernel@lists.infradead.org; Sat, 21 Apr 2018 13:55:58 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id C653F2070D; Sat, 21 Apr 2018 15:55:42 +0200 (CEST) Received: from localhost.localdomain (unknown [91.224.148.103]) by mail.bootlin.com (Postfix) with ESMTPSA id C8285207AC; Sat, 21 Apr 2018 15:55:41 +0200 (CEST) From: Miquel Raynal To: Thomas Gleixner , Jason Cooper , Marc Zyngier Subject: [PATCH 03/17] arm64: dts: marvell: add syscon compatible to CP110 ICU node Date: Sat, 21 Apr 2018 15:55:23 +0200 Message-Id: <20180421135537.24716-4-miquel.raynal@bootlin.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180421135537.24716-1-miquel.raynal@bootlin.com> References: <20180421135537.24716-1-miquel.raynal@bootlin.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180421_065555_070528_BEF3F5A8 X-CRM114-Status: GOOD ( 15.84 ) 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: Mark Rutland , Andrew Lunn , devicetree@vger.kernel.org, Antoine Tenart , Catalin Marinas , Gregory Clement , Haim Boot , Will Deacon , Maxime Chevallier , Nadav Haklai , Rob Herring , Thomas Petazzoni , Miquel Raynal , Hanna Hawa , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth 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 Prepare the migration to new bindings where the ICU node has several subnodes: one per interrupt group (NSR, SEI, REI, etc). The code for each node will share the same set of registers. Turning the ICU node into a syscon is a clean solution to handle that. Signed-off-by: Miquel Raynal --- arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi index 9fa41c54f69c..9323acdb712f 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi @@ -145,7 +145,7 @@ }; CP110_LABEL(icu): interrupt-controller@1e0000 { - compatible = "marvell,cp110-icu"; + compatible = "marvell,cp110-icu", "syscon"; reg = <0x1e0000 0x440>; #interrupt-cells = <3>; interrupt-controller;