All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: irqchip: Add node name to PRUSS INTC
@ 2021-01-26 16:32 ` Suman Anna
  0 siblings, 0 replies; 4+ messages in thread
From: Suman Anna @ 2021-01-26 16:32 UTC (permalink / raw
  To: Rob Herring, Marc Zyngier, Thomas Gleixner
  Cc: devicetree, Grzegorz Jaszczyk, David Lechner, Jan Kiszka,
	linux-kernel, linux-omap, linux-arm-kernel

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>
---
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(+)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml
index c2ce215501a5..9731dd4421a1 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml
@@ -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
-- 
2.29.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] dt-bindings: irqchip: Add node name to PRUSS INTC
@ 2021-01-26 16:32 ` Suman Anna
  0 siblings, 0 replies; 4+ messages in thread
From: Suman Anna @ 2021-01-26 16:32 UTC (permalink / raw
  To: Rob Herring, Marc Zyngier, Thomas Gleixner
  Cc: Jan Kiszka, David Lechner, devicetree, linux-omap,
	linux-arm-kernel, linux-kernel, Grzegorz Jaszczyk, 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.

Signed-off-by: Suman Anna <s-anna@ti.com>
---
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(+)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml b/Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml
index c2ce215501a5..9731dd4421a1 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/ti,pruss-intc.yaml
@@ -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
-- 
2.29.2


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: irqchip: Add node name to PRUSS INTC
  2021-01-26 16:32 ` Suman Anna
@ 2021-02-09 17:57   ` Rob Herring
  -1 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2021-02-09 17:57 UTC (permalink / raw
  To: Suman Anna
  Cc: devicetree, Grzegorz Jaszczyk, David Lechner, Marc Zyngier,
	linux-kernel, Rob Herring, Jan Kiszka, Thomas Gleixner,
	linux-omap, linux-arm-kernel

On Tue, 26 Jan 2021 10:32:51 -0600, Suman Anna wrote:
> 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>
> ---
> 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
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] dt-bindings: irqchip: Add node name to PRUSS INTC
@ 2021-02-09 17:57   ` Rob Herring
  0 siblings, 0 replies; 4+ messages in thread
From: Rob Herring @ 2021-02-09 17:57 UTC (permalink / raw
  To: Suman Anna
  Cc: Grzegorz Jaszczyk, Marc Zyngier, devicetree, linux-kernel,
	David Lechner, linux-omap, Thomas Gleixner, Jan Kiszka,
	linux-arm-kernel, Rob Herring

On Tue, 26 Jan 2021 10:32:51 -0600, Suman Anna wrote:
> 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>
> ---
> 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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-09 19:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-26 16:32 [PATCH] dt-bindings: irqchip: Add node name to PRUSS INTC Suman Anna
2021-01-26 16:32 ` Suman Anna
2021-02-09 17:57 ` Rob Herring
2021-02-09 17:57   ` Rob Herring

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.