From patchwork Sun Jul 16 14:11:45 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9843081 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 53765602BD for ; Sun, 16 Jul 2017 14:12:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4967728484 for ; Sun, 16 Jul 2017 14:12:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E0AF284D2; Sun, 16 Jul 2017 14:12:28 +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_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM 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 DF9ED28484 for ; Sun, 16 Jul 2017 14:12:27 +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: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:In-Reply-To: References:List-Owner; bh=AjnSspTWFfo0lRHlawAlfR1vzM+PG+M+lj14gJRZ2Jc=; b=crU CUjTyJKwJKFOeQSs8y8tI+C3FWcq1b8HsLUl8A4TOPYYTil0owDOhr7KN/TTQTP7izZlB5BsVoNQQ rYopEpdRGofAKTE5kUkLnlk+2Rcbx2IBxlmH5yqbVrCRe0Z+8VagW7WFKDpFfO88CJsR4nrh5pB2n 8Z59Idno7kwBmZMPwaKnHQh3ircbSwofSNYdG40UOSSsazWEtOpSaOnGnNnbNdnYprUqvlrYZKlXK 3lZSf40k97+XyjRU3mfIb/aavgsl8HTMKSX8/YxGLfVXX/g+Y1jbg9fDTw4S2u2DFnHCc+7Y1F/vq DGLhvPhcflM3uVUlbneIZZFNcF+q/yA==; 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 1dWkHb-00077E-7U; Sun, 16 Jul 2017 14:12:27 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dWkHX-00073p-V2 for linux-amlogic@lists.infradead.org; Sun, 16 Jul 2017 14:12:26 +0000 Received: by mail-wr0-x244.google.com with SMTP id v60so3609437wrc.2 for ; Sun, 16 Jul 2017 07:12:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=/hi5zvq1wgH8DOIVMK8LQDnpRF+5mqwVzRiAtD9rAj0=; b=k6jdiSrTsrlgqpzZJw9j3FSaxJg+aeZI3EJfRLxEwlkZM92VVQN0T+vwnBroufbNY/ ULAO9zZ3METAH6SNwEa4fQ72+ncuHMVd6a2buOGH+j8s4zRQlMNY8uFx0pKaXpDrhwFY F6fDZWU/3GfVYSYbaTQ8JveYfdfRxTY9/mh/nk3SBWBuAjiGYH2/2h3EXygZXy4i2gw4 afKQbWRv0FoAxunKAUbn20H3KrPFldKhfB80NqtydaQwnQzP65m1wVzptb0GZ8pNceta 2xIiQdgmEbu7oO3R+OgMoA0xLEw2XmiL5XfRxf6+gn920vL4Xjf5VmWZKns6M+3Y/Uib l/GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=/hi5zvq1wgH8DOIVMK8LQDnpRF+5mqwVzRiAtD9rAj0=; b=KnTX0YyyTiY0fsrAxygjwSDB4zHeVFZOs4XJUIcN7mI82zyX8Fg0GMOpNYdGzz55TW Kq2Jv02qHFnjEAXUC03ZPY3BnntfcLYoeC3J5Nh6xpIsNrMb1W2CU5wBDNMi5ymPgWwn +h4rrD9Eb1x8VvuYB2oBxg5++ingq1wfe2JPcHZn6QxYQHqINoSxIJ/BewhWVdw9cvdj xlV7lVaxeyK2tLkZp03Tpg2EvaXkkG4na9QBIKg6DY3tpz1xwRQkkFs69xK40WZTDom1 ff/TEAZsqK9r5HeyWSMWCfH/KsGCIuISMzLsEu0b3RMyjo61iA8OayDoTUmiNoxyy4rF g1Hw== X-Gm-Message-State: AIVw113/0SGqF5aVWM90EzuLvYpUWsB8ax30WWh0xDqe34He3PWbFk/e dRxrNey4IJiVZdpm+Lc= X-Received: by 10.223.136.109 with SMTP id e42mr8523040wre.81.1500214319957; Sun, 16 Jul 2017 07:11:59 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3CF0804428D5CFFFEB99DB8.dip0.t-ipconnect.de. [2003:dc:d3cf:804:428d:5cff:feb9:9db8]) by smtp.googlemail.com with ESMTPSA id 31sm9744976wrd.20.2017.07.16.07.11.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 16 Jul 2017 07:11:58 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, khilman@baylibre.com, carlo@caione.org Subject: [PATCH] ARM64: dts: meson-gx: consistently use the GIC_SPI and IRQ type macros Date: Sun, 16 Jul 2017 16:11:45 +0200 Message-Id: <20170716141145.30295-1-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.13.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170716_071224_209275_1D019F49 X-CRM114-Status: UNSURE ( 8.20 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP the mailbox and ethmac nodes used the magic number "0" instead of the GIC_SPI preprocessor macro. Additionally the ethmac used the magic number "1" instead of IRQ_TYPE_EDGE_RISING. Fix this to make the .dtsi easier to read. Signed-off-by: Martin Blumenstingl Reviewed-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi index 35b8c88c3220..492e6a24349a 100644 --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi @@ -437,9 +437,9 @@ mailbox: mailbox@404 { compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu"; reg = <0 0x404 0 0x4c>; - interrupts = <0 208 IRQ_TYPE_EDGE_RISING>, - <0 209 IRQ_TYPE_EDGE_RISING>, - <0 210 IRQ_TYPE_EDGE_RISING>; + interrupts = , + , + ; #mbox-cells = <1>; }; }; @@ -448,7 +448,7 @@ compatible = "amlogic,meson-gx-dwmac", "amlogic,meson-gxbb-dwmac", "snps,dwmac"; reg = <0x0 0xc9410000 0x0 0x10000 0x0 0xc8834540 0x0 0x4>; - interrupts = <0 8 1>; + interrupts = ; interrupt-names = "macirq"; status = "disabled"; };