Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp1408352ybf; Thu, 27 Feb 2020 10:22:52 -0800 (PST) X-Google-Smtp-Source: APXvYqxtg3/YhTSzCj5rJxAWG19dZ/JWzVn9/djI6eqB4MglT16+HZmfjs7q36lz7N8JKgaXXti/ X-Received: by 2002:a9d:6212:: with SMTP id g18mr164133otj.187.1582827772475; Thu, 27 Feb 2020 10:22:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582827772; cv=none; d=google.com; s=arc-20160816; b=M9zR1LcGjLmZzKOoi/SFRfZjEA+dbUqU1FA+dyEbmeOwCgpGcDuFmyDiezRQNIZiI9 0rn5ErcCOm3fv39RZ2yeRfRgRljL6e74t6WUDZPG+H69jhoUNyGkhEVSiVftBVGkgL8s ndaI5UaF3HqsIj0e575+B1xMXYfss7lMbiltWSuXZPNGXixfC3ZhHIDC0RMFRwfRrBvg uSuGU6F6UOhA7yKnSEB+qbkolnhq5iTe6cy3CJNj4QtzjWYYkVCfgNEWw5oHCiG8tjfC ydf2p/rPMT6XLYeTvh48VlRJUqEpCuh0i1jHzER+nR2/SNWWOHsezyB0DnbWXEokjzSE 8GnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=Bzk/qypgvC/cjRju/QNgFa+CCVOhJVwyJoffwTOHITU=; b=ve/QhpjJLEGjj1eJezkHKaINll5Ddo2LkKHRvrTRy4vO/S9iWcVUQIA3flJ7mWLPgj MN1Wox9ge6AigDJbjhsG3RGDTJBJ/gnHBV2tIi5zxtukJ5KSp/b7hpdmDWSnTNlMg0rU aOqWCYGJ6VAEwvTy8E1sraiDcxcCtNOBiWQVBT60kIA4JnwIPsmlrpEJqPUkqZWYbXEL l6gGRM4tfjUnc9q7hU8uUoTktczKZ2Z09iFgqGuir6k3DQhhvAOSyVDIB9JagQA22lLK WHSWCN4piTY1h8auhI7XaKBLxpzwJSQ3SzFqX3G50pUEszcPgrbLPqeTVZtK6HZcOrZi au8Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f194si324768oig.243.2020.02.27.10.22.40; Thu, 27 Feb 2020 10:22:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730681AbgB0SW0 (ORCPT + 99 others); Thu, 27 Feb 2020 13:22:26 -0500 Received: from foss.arm.com ([217.140.110.172]:56640 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729142AbgB0SW0 (ORCPT ); Thu, 27 Feb 2020 13:22:26 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B2C191FB; Thu, 27 Feb 2020 10:22:25 -0800 (PST) Received: from donnerap.arm.com (donnerap.cambridge.arm.com [10.1.197.25]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 155303F73B; Thu, 27 Feb 2020 10:22:23 -0800 (PST) From: Andre Przywara To: Rob Herring , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Maxime Ripard , Robert Richter , soc@kernel.org, Jon Loeliger , Mark Langsdorf , Eric Auger , Will Deacon , Catalin Marinas Subject: [PATCH v2 03/13] arm: dts: calxeda: Fix interrupt grouping Date: Thu, 27 Feb 2020 18:22:00 +0000 Message-Id: <20200227182210.89512-4-andre.przywara@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200227182210.89512-1-andre.przywara@arm.com> References: <20200227182210.89512-1-andre.przywara@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Currently multiple interrupts for some devices are written as one array instead of using the DT grouping notation (<0 42 4>, <0 23 4>). This ends up in the same binary representation in the .dtb, but is semantically not equivalent. The yaml schema checks will stumble over this, so lets fix that first. I refrained from using the symbolic names for GIC_SPI/GIC_PPI and IRQ_TYPE_LEVEL_HIGH, mostly because it increases the delta between the original DTS files and the mainline versions, so it's just additional churn. Signed-off-by: Andre Przywara --- arch/arm/boot/dts/ecx-2000.dts | 2 +- arch/arm/boot/dts/ecx-common.dtsi | 4 ++-- arch/arm/boot/dts/highbank.dts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/ecx-2000.dts b/arch/arm/boot/dts/ecx-2000.dts index 81eb382b4c23..93cdd020637b 100644 --- a/arch/arm/boot/dts/ecx-2000.dts +++ b/arch/arm/boot/dts/ecx-2000.dts @@ -92,7 +92,7 @@ pmu { compatible = "arm,cortex-a9-pmu"; - interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>; + interrupts = <0 76 4>, <0 75 4>, <0 74 4>, <0 73 4>; }; }; }; diff --git a/arch/arm/boot/dts/ecx-common.dtsi b/arch/arm/boot/dts/ecx-common.dtsi index f819e3328a9e..b7e74a357471 100644 --- a/arch/arm/boot/dts/ecx-common.dtsi +++ b/arch/arm/boot/dts/ecx-common.dtsi @@ -202,14 +202,14 @@ ethernet@fff50000 { compatible = "calxeda,hb-xgmac"; reg = <0xfff50000 0x1000>; - interrupts = <0 77 4 0 78 4 0 79 4>; + interrupts = <0 77 4>, <0 78 4>, <0 79 4>; dma-coherent; }; ethernet@fff51000 { compatible = "calxeda,hb-xgmac"; reg = <0xfff51000 0x1000>; - interrupts = <0 80 4 0 81 4 0 82 4>; + interrupts = <0 80 4>, <0 81 4>, <0 82 4>; dma-coherent; }; diff --git a/arch/arm/boot/dts/highbank.dts b/arch/arm/boot/dts/highbank.dts index 9e34d1bd7994..b6b0225a769e 100644 --- a/arch/arm/boot/dts/highbank.dts +++ b/arch/arm/boot/dts/highbank.dts @@ -142,14 +142,14 @@ pmu { compatible = "arm,cortex-a9-pmu"; - interrupts = <0 76 4 0 75 4 0 74 4 0 73 4>; + interrupts = <0 76 4>, <0 75 4>, <0 74 4>, <0 73 4>; }; sregs@fff3c200 { compatible = "calxeda,hb-sregs-l2-ecc"; reg = <0xfff3c200 0x100>; - interrupts = <0 71 4 0 72 4>; + interrupts = <0 71 4>, <0 72 4>; }; }; -- 2.17.1