Skip to contentSkip to conversation

dt-bindings: irqchip: Add node name to PRUSS INTC

PATCH Applied Suman Anna 2 participants 2 messages Jan 26, 2021 – Feb 9, 2021

Subsystems (2)
lore
Share & tools
lore

Suman Anna

author
#0 lore raw

PATCH 1/1 dt-bindings: irqchip: Add node name to PRUSS INTC

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.

---
This patch is a result of the previous discussion at
https://patchwork.kernel.org/comment/23926133/

 .../bindings/interrupt-controller/ti,pruss-intc.yaml           | 3 +++
 1 file changed, 3 insertions(+)
Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml +3 -0
index c2ce215501a5..9731dd4421a1 100644
@@ -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
Signature · 7 lines
2.29.2


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
maintainer Applied
#1 lore raw
Quoted 6 lines · Suman Anna

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.

Quoted 8 lines

---
This patch is a result of the previous discussion at
https://patchwork.kernel.org/comment/23926133/

 .../bindings/interrupt-controller/ti,pruss-intc.yaml           | 3 +++
 1 file changed, 3 insertions(+)

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel