Skip to contentSkip to conversation

dt-bindings: net: mdio: Allow any child node name

PATCH In review Rob Herring 4 participants 5 messages Dec 6, 2021 – Dec 7, 2021

Subsystems (4)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: net: mdio: Allow any child node name

An MDIO bus can have devices other than ethernet PHYs on it, so it should allow for any node name rather than just 'ethernet-phy'.

Cc Andrew Lunn <[email protected]>
Cc Heiner Kallweit <[email protected]>
Cc Russell King <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Florian Fainelli <[email protected]>
---
 Documentation/devicetree/bindings/net/mdio.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/net/mdio.yaml +1 -1
index 08e15fb1584f..53206e4a7a14 100644
@@ -59,7 +59,7 @@ properties:
     type: boolean
 
 patternProperties:
-  "^ethernet-phy@[0-9a-f]+$":
+  '@[0-9a-f]+$':
     type: object
 
     properties:
Signature · 1 line
2.32.0
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Rob Herring

An MDIO bus can have devices other than ethernet PHYs on it, so it should allow for any node name rather than just 'ethernet-phy'.

Cc Andrew Lunn <[email protected]>
Cc Heiner Kallweit <[email protected]>
Cc Russell King <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Florian Fainelli <[email protected]>

Thanks!

Signature · 1 line
Florian
maintainer
#2 lore raw
In reply to Rob Herring
Quoted 2 lines · On Mon, 6 Dec 2021 11:41:39 -0600 Rob Herring wrote:

An MDIO bus can have devices other than ethernet PHYs on it, so it should allow for any node name rather than just 'ethernet-phy'.

Hi Rob, what's your preference for merging these?

author maintainer
#3 lore raw
Quoted 6 lines · Jakub Kicinski
Quoted 2 lines · On Mon, 6 Dec 2021 11:41:39 -0600 Rob Herring wrote:

An MDIO bus can have devices other than ethernet PHYs on it, so it should allow for any node name rather than just 'ethernet-phy'.

Hi Rob, what's your preference for merging these?

I can take them.

Rob

Reviewed-by on v1 1/1
#4 lore raw
In reply to Rob Herring
Quoted 11 lines · Rob Herring

An MDIO bus can have devices other than ethernet PHYs on it, so it should allow for any node name rather than just 'ethernet-phy'.

Cc Andrew Lunn <[email protected]>
Cc Heiner Kallweit <[email protected]>
Cc Russell King <[email protected]>
Cc "David S. Miller" <[email protected]>
Cc Jakub Kicinski <[email protected]>
Cc Florian Fainelli <[email protected]>
Quoted 3 lines
---
 Documentation/devicetree/bindings/net/mdio.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Makes sense,