]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
dt-bindings: PCI: Add missing "#address-cells" to interrupt controllers
authorRob Herring (Arm) <robh@kernel.org>
Fri, 1 Aug 2025 20:07:27 +0000 (15:07 -0500)
committerRob Herring (Arm) <robh@kernel.org>
Mon, 11 Aug 2025 02:49:51 +0000 (21:49 -0500)
An interrupt-controller node which is the parent provider for
"interrupt-map" needs an "#address-cells" property. This fixes
"interrupt_map" warnings in new dtc.

Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://lore.kernel.org/r/20250801200728.3252036-2-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/pci/brcm,iproc-pcie.yaml
Documentation/devicetree/bindings/pci/marvell,armada-3700-pcie.yaml
Documentation/devicetree/bindings/pci/marvell,kirkwood-pcie.yaml
Documentation/devicetree/bindings/pci/socionext,uniphier-pcie.yaml
Documentation/devicetree/bindings/pci/ti,j721e-pci-host.yaml

index 5434c144d2ec0fd05be6455c7b5ae60dc4bac778..18e7981241b58d26ed5919b003afe3cd32b8292f 100644 (file)
@@ -108,6 +108,7 @@ examples:
     #include <dt-bindings/interrupt-controller/arm-gic.h>
 
     gic: interrupt-controller {
+        #address-cells = <0>;
         interrupt-controller;
         #interrupt-cells = <3>;
     };
index 68090b3ca419981c1d45af45b0d9867a6e80ad1d..8403c79634edc49ef159190f4be507ce8af1f310 100644 (file)
@@ -42,6 +42,9 @@ properties:
     additionalProperties: false
 
     properties:
+      '#address-cells':
+        const: 0
+
       interrupt-controller: true
 
       '#interrupt-cells':
@@ -92,6 +95,7 @@ examples:
             reset-gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
 
             pcie_intc: interrupt-controller {
+                #address-cells = <0>;
                 interrupt-controller;
                 #interrupt-cells = <1>;
             };
index 7be695320ddf76b9db88d53feca675aa966eacd1..3d68bfbe6feb2c573264adc2e0476dc74b9443f4 100644 (file)
@@ -101,6 +101,9 @@ patternProperties:
         additionalProperties: false
 
         properties:
+          '#address-cells':
+            const: 0
+
           interrupt-controller: true
 
           '#interrupt-cells':
index 638b99db043322f7a5358bf3d8b0c3efd13e0c18..c07b0ed5161372bc9e4363557ad57809d8ae2e18 100644 (file)
@@ -56,6 +56,9 @@ properties:
     additionalProperties: false
 
     properties:
+      '#address-cells':
+        const: 0
+
       interrupt-controller: true
 
       '#interrupt-cells':
@@ -109,6 +112,7 @@ examples:
                         <0 0 0  4  &pcie_intc 3>;
 
         pcie_intc: interrupt-controller {
+            #address-cells = <0>;
             interrupt-controller;
             #interrupt-cells = <1>;
             interrupt-parent = <&gic>;
index 69b499c96c716dc8b05ad2d3b4ac6b7794717ac1..c704099f134bbd95d898d45277687f875a52c064 100644 (file)
@@ -99,6 +99,9 @@ properties:
     additionalProperties: false
 
     properties:
+      '#address-cells':
+        const: 0
+
       interrupt-controller: true
 
       '#interrupt-cells':