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
  2026-10-15 10:40 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ 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] 3+ 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
  2026-10-15 10:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ 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] 3+ 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
@ 2026-10-15 10:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2026-10-15 10:40 UTC (permalink / raw)
  To: Rob Herring
  Cc: andrew+netdev, davem, edumazet, kuba, pabeni, krzk+dt, conor+dt,
	netdev, devicetree, linux-kernel

Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri,  9 Oct 2026 10:54:45 -0500 you 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>
> ---
>  Documentation/devicetree/bindings/net/ethernet-controller.yaml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [net-next] dt-bindings: net: ethernet-controller: Allow "ethernet-N" node names
    https://git.kernel.org/netdev/net-next/c/d8839381c196

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2026-10-15 10:40 UTC | newest]

Thread overview: 3+ 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
2026-10-15 10:40 ` patchwork-bot+netdevbpf

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