devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Bjorn Andersson <andersson@kernel.org>,
	 Konrad Dybcio <konradybcio@kernel.org>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	cros-qcom-dts-watchers@chromium.org
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH 06/15] arm64: dts: qcom: sm6150: Add default GIC address cells
Date: Fri, 22 Aug 2025 14:04:06 +0200	[thread overview]
Message-ID: <20250822-dts-interrupt-address-cells-v1-6-d54d44b74460@linaro.org> (raw)
In-Reply-To: <20250822-dts-interrupt-address-cells-v1-0-d54d44b74460@linaro.org>

Add missing address-cells 0 to GIC interrupt node to silence W=1
warning:

  sm6150.dtsi:1122.4-1125.30: Warning (interrupt_map): /soc@0/pcie@1c08000:interrupt-map:
    Missing property '#address-cells' in node /soc@0/interrupt-controller@17a00000, using 0 as fallback

Value '0' is correct because:
1. GIC interrupt controller does not have children,
2. interrupt-map property (in PCI node) consists of five components and
   the fourth component "parent unit address", which size is defined by
   '#address-cells' of the node pointed to by the interrupt-parent
   component, is not used (=0).

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm6150.dtsi | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/sm6150.dtsi b/arch/arm64/boot/dts/qcom/sm6150.dtsi
index b66bc13c0b5e337bf9a95b4da4af33b691c14fb5..09887b3687d42ce59e1dd1004ea19f05b42b66ec 100644
--- a/arch/arm64/boot/dts/qcom/sm6150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6150.dtsi
@@ -3659,6 +3659,7 @@ intc: interrupt-controller@17a00000 {
 			reg = <0x0 0x17a00000 0x0 0x10000>,     /* GICD */
 			      <0x0 0x17a60000 0x0 0x100000>;    /* GICR * 8 */
 			interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
+			#address-cells = <0>;
 			#interrupt-cells = <3>;
 			interrupt-controller;
 			#redistributor-regions = <1>;

-- 
2.48.1


  parent reply	other threads:[~2025-08-22 12:04 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-22 12:04 [PATCH 00/15] arm64: dts: qcom: Fix interrupt-map dtc W=1 warning and cleanup Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 01/15] arm64: dts: qcom: ipq5424: Add default GIC address cells Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 02/15] arm64: dts: qcom: lemans: " Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 03/15] arm64: dts: qcom: msm8996: " Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 04/15] arm64: dts: qcom: qcs404: " Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 05/15] arm64: dts: qcom: sc8180x: " Krzysztof Kozlowski
2025-08-22 12:04 ` Krzysztof Kozlowski [this message]
2025-08-22 12:04 ` [PATCH 07/15] arm64: dts: qcom: sm8150: " Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 08/15] arm64: dts: qcom: sm8250: " Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 09/15] arm64: dts: qcom: sm8350: " Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 10/15] arm64: dts: qcom: Use GIC_SPI for interrupt-map for readability Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 11/15] ARM: dts: qcom: ipq4019: Add default GIC address cells Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 12/15] ARM: dts: qcom: apq8064: " Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 13/15] ARM: dts: qcom: ipq8064: " Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 14/15] ARM: dts: qcom: sdx55: " Krzysztof Kozlowski
2025-08-22 12:04 ` [PATCH 15/15] ARM: dts: qcom: Use GIC_SPI for interrupt-map for readability Krzysztof Kozlowski
2025-08-24  2:55 ` (subset) [PATCH 00/15] arm64: dts: qcom: Fix interrupt-map dtc W=1 warning and cleanup Bjorn Andersson
2025-09-01 19:49 ` Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250822-dts-interrupt-address-cells-v1-6-d54d44b74460@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=cros-qcom-dts-watchers@chromium.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).