dt-bindings: irqchip: Add node name to PRUSS INTC
authorSuman Anna <s-anna@ti.com>
Tue, 26 Jan 2021 16:32:51 +0000 (10:32 -0600)
committerRob Herring <robh@kernel.org>
Tue, 9 Feb 2021 17:57:15 +0000 (11:57 -0600)
The current PRUSS Interrupt Controller binding doesn't exactly specify
the convention for the node name. These interrupt-controllers will always
have a unit address. Update the binding with the '$nodename' using the
expected generic name, this shall ensure the interrupt-controller.yaml
is automatically applied to this binding.

Signed-off-by: Suman Anna <s-anna@ti.com>
Link: https://lore.kernel.org/r/20210126163251.29468-1-s-anna@ti.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml

index c2ce215..9731dd4 100644 (file)
@@ -33,6 +33,9 @@ description: |
   corresponding PRUSS node. The node should be named "interrupt-controller".
 
 properties:
+  $nodename:
+    pattern: "^interrupt-controller@[0-9a-f]+$"
+
   compatible:
     enum:
       - ti,pruss-intc