Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp898656pxu; Wed, 2 Dec 2020 06:17:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6SNOK+gTf5xRzNrin79mWn2z46y/lfCciWf6HpT+YqQy2dIY0pjvvrnzOmu134XjjZ1V2 X-Received: by 2002:aa7:c403:: with SMTP id j3mr72621edq.217.1606918671224; Wed, 02 Dec 2020 06:17:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606918671; cv=none; d=google.com; s=arc-20160816; b=DR0bd9T1g/VE6io39hqrH8uxRDJ4XrfMjracgtI1jkEhe3+5aZDW6JTYbNG1ijsAnI 9NILzQw8RAcvx40RjqCkOX/Zaeh6gwcYbbLdqT0FPl9MDLNUk94aM5dn/CzbYbuGCp+2 x81puNgT/s7FicUML7FXxM75TpP90FZ8L3oS69M76YVZcl/5nSLM1aUSAlWG8TPYM8HN XS0y0gepAxG7epOnNcPlCs+o+T2Xnyg9Q3gUy0HjlfkjfC3rPbEuf0OZ3teE3+LOm7GB shM8Gsqj5pKwT8Q0vD8g87h2aNGG2grsDLR2N4CXT0Dd4p+PJUM530q97Bt9D0LMHK/8 YiUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=+2HhTD5jTn+vklEh4aL5/wMsPXq9tv2fr1AHIakSbyA=; b=nZFY32sx14dYt65f5OLKbo3xh0bKdtTFLvh2M16J/4HVyrE3RGp3YBjRsGBC+GoO8F nN+VUf34+0Ci5zJW3vrhHFD+9nH8WbjuY4DLGZJSLv06Ns/CDtao4nVF3EG9tw764KsV yUIAet5+A1yowS8qC7Zjr/3VyIEty1+FTJS5zo+CO3yUD9sjBL0wAHsQzKPEa2zvU7w7 Khi40BJkJDfhIne0dx087OJTBAF0Vdoth4Cej4m0qFMX7C9MCbJis3zO9qw5YltDC30g CrPeZN9Iax1kD4a/gj8ur5jKd0whkLj9DWJ1W/oNzeXd8fxV0UQUOfIKLerhlp5Vf4BG l86g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=rblOepbV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q19si32414edv.85.2020.12.02.06.17.21; Wed, 02 Dec 2020 06:17:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@monstr-eu.20150623.gappssmtp.com header.s=20150623 header.b=rblOepbV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730182AbgLBOPr (ORCPT + 99 others); Wed, 2 Dec 2020 09:15:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728942AbgLBOPr (ORCPT ); Wed, 2 Dec 2020 09:15:47 -0500 Received: from mail-ej1-x644.google.com (mail-ej1-x644.google.com [IPv6:2a00:1450:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3EE3C0617A6 for ; Wed, 2 Dec 2020 06:15:00 -0800 (PST) Received: by mail-ej1-x644.google.com with SMTP id f23so4591685ejk.2 for ; Wed, 02 Dec 2020 06:15:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=+2HhTD5jTn+vklEh4aL5/wMsPXq9tv2fr1AHIakSbyA=; b=rblOepbVJChntb5pg5cBLGVX3v5Npt5ASjgefyud4GisFo2yFRCTCLQcnHLv57iJZy FZjtA/ifq/EDkjfS0l3JHXPmP2cdOXhs+QN6ZKrucHFvH2GJSJlAzf1Rwm1aqfc5zCCc EFzyofbZFHOb/XGKTWCoy1oj+Z6t36qZziiighBXILmtEKnXff210NjSvUZfOgLY9Acb mXwf8UhknA358OtTYehSJdZwuX7AFRj75iv+wdDPi7xXGWvD+NUxyftJkMqQCmlwbpIc FQDXqe9nJY8S0gg6I7VBEmVgYmYH1yWmE/86lDoFae28hkw97olHAQ3fZjM8bAKfWRsr BdcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=+2HhTD5jTn+vklEh4aL5/wMsPXq9tv2fr1AHIakSbyA=; b=TJnOT4xqUkxYsaTDaThixSTb0iL9hCWWOQQTiC/zAvm8GX7hET+lgunIML3DiVZZFp xLxmB/XYb2syEKjpWrZ7/o1SDkA34tnsSdWzYx1OEiHH8BY2D+mi2pLPwygp799OzCOK tVD3s65OZBbkGPTVSIKyBdoqZiE1lRxqMr6VuKqHGhZkm5FtrGhZ53ptMHGPvhWZe3i4 JBFoqbRjqUg4L0Ik3Q+0PY1pwcyco753D9+L6XLTSBiE7woKrTxOMNAfBeZGtM4FoA1t JPj3hNcKIshSTuo9mekH5TuRCC54uTTYxYuhwRpMVt0lreuDhyzaIFOwuQfmYR5EUqni k3cQ== X-Gm-Message-State: AOAM532h6XzcUU1sEMM9qqU0oUyG7exOB6mxZ8f9EHue1spwJWZXWGsD XY8vUK74WI5kwmYh1vhCEt1bNb2F4d+cOQVf X-Received: by 2002:a17:906:22c7:: with SMTP id q7mr2526176eja.486.1606918499010; Wed, 02 Dec 2020 06:14:59 -0800 (PST) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id e19sm20742edr.61.2020.12.02.06.14.58 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 02 Dec 2020 06:14:58 -0800 (PST) Sender: Michal Simek From: Michal Simek To: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com Cc: Andre Przywara , Kalyani Akula , Krzysztof Kozlowski , Laurent Pinchart , Manish Narani , Rajan Vaja , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] arm64: dts: zynqmp: Add address-cells property to interrupt controllers Date: Wed, 2 Dec 2020 15:14:57 +0100 Message-Id: X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The commit 3eb619b2f7d8 ("scripts/dtc: Update to upstream version v1.6.0-11-g9d7888cbf19c") updated dtc version which also contained DTC commit "81e0919a3e21 checks: Add interrupt provider test" where reasons for this checking are mentioned as "A missing #address-cells property is less critical, but creates ambiguities when used in interrupt-map properties, so warn about this as well now." That's why add address-cells property to gic and gpio nodes to get rid of this warning. CC: Andre Przywara Signed-off-by: Michal Simek --- I was grepping DTSes in the kernel and most of them list it as 0. In gicv3 case where its node is added it needs to be filled property that's why also non 0 values are there. Definitely please let me know if 0 is not the right value here. Based on https://lore.kernel.org/r/cover.1606917949.git.michal.simek@xilinx.com/ --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index 14a2e69cf98b..5b2051ac6965 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -368,6 +368,7 @@ fpd_dma_chan8: dma@fd570000 { gic: interrupt-controller@f9010000 { compatible = "arm,gic-400"; + #address-cells = <0>; #interrupt-cells = <3>; reg = <0x0 0xf9010000 0x0 0x10000>, <0x0 0xf9020000 0x0 0x20000>, @@ -574,6 +575,7 @@ gem3: ethernet@ff0e0000 { gpio: gpio@ff0a0000 { compatible = "xlnx,zynqmp-gpio-1.0"; status = "disabled"; + #address-cells = <0>; #gpio-cells = <0x2>; gpio-controller; interrupt-parent = <&gic>; -- 2.29.2