Devicetree
 help / color / mirror / Atom feed
* [PATCH net-next] dt-bindings: net: ethernet-controller: Allow "ethernet-N" node names
@ 2026-10-09 15:54 Rob Herring (Arm)
  2026-10-09 18:47 ` Conor Dooley
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring (Arm) @ 2026-10-09 15:54 UTC (permalink / raw)
  To: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Krzysztof Kozlowski, Conor Dooley
  Cc: netdev, devicetree, linux-kernel

The HiSilicon hisilicon,hns-nic-v2 binding uses "ethernet-N" node names
as there is no "reg" property and multiple instances. Add support for
this pattern which is a common pattern on other node names.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 Documentation/devicetree/bindings/net/ethernet-controller.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
index 1bafd687dcb1..30b2a335116e 100644
--- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
+++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
@@ -11,7 +11,7 @@ maintainers:
 
 properties:
   $nodename:
-    pattern: "^ethernet(@.*)?$"
+    pattern: "^ethernet(@.+|-[0-9]+)?$"
 
   label:
     description: Human readable label on a port of a box.
-- 
2.53.0


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

* Re: [PATCH net-next] dt-bindings: net: ethernet-controller: Allow "ethernet-N" node names
  2026-10-09 15:54 [PATCH net-next] dt-bindings: net: ethernet-controller: Allow "ethernet-N" node names Rob Herring (Arm)
@ 2026-10-09 18:47 ` Conor Dooley
  0 siblings, 0 replies; 2+ messages in thread
From: Conor Dooley @ 2026-10-09 18:47 UTC (permalink / raw)
  To: Rob Herring (Arm)
  Cc: Andrew Lunn, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Krzysztof Kozlowski, Conor Dooley, netdev,
	devicetree, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1113 bytes --]

On Fri, Oct 09, 2026 at 10:54:45AM -0500, Rob Herring (Arm) wrote:
> The HiSilicon hisilicon,hns-nic-v2 binding uses "ethernet-N" node names
> as there is no "reg" property and multiple instances. Add support for
> this pattern which is a common pattern on other node names.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>

Acked-by: Conor Dooley <conor.dooley@microchip.com>

> ---
>  Documentation/devicetree/bindings/net/ethernet-controller.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> index 1bafd687dcb1..30b2a335116e 100644
> --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml
> @@ -11,7 +11,7 @@ maintainers:
>  
>  properties:
>    $nodename:
> -    pattern: "^ethernet(@.*)?$"
> +    pattern: "^ethernet(@.+|-[0-9]+)?$"
>  
>    label:
>      description: Human readable label on a port of a box.
> -- 
> 2.53.0
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

end of thread, other threads:[~2026-10-09 18:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-09 15:54 [PATCH net-next] dt-bindings: net: ethernet-controller: Allow "ethernet-N" node names Rob Herring (Arm)
2026-10-09 18:47 ` Conor Dooley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox