[PATCH] dt-bindings: net: mdio: Allow any child node name

Subsystems: ethernet phy library, networking drivers, open firmware and flattened device tree bindings, the rest

STALE1768d LANDED

Landed in mainline as ad31ce56c434 on 2022-01-10.

5 messages, 4 authors, 2021-12-07 · open the first message on its own page

[PATCH] dt-bindings: net: mdio: Allow any child node name

From: Rob Herring <robh@kernel.org>
Date: 2021-12-06 17:41:49

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 <andrew@lunn.ch>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/net/mdio.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/net/mdio.yaml b/Documentation/devicetree/bindings/net/mdio.yaml
index 08e15fb1584f..53206e4a7a14 100644
--- a/Documentation/devicetree/bindings/net/mdio.yaml
+++ b/Documentation/devicetree/bindings/net/mdio.yaml
@@ -59,7 +59,7 @@ properties:
     type: boolean
 
 patternProperties:
-  "^ethernet-phy@[0-9a-f]+$":
+  '@[0-9a-f]+$':
     type: object
 
     properties:
-- 
2.32.0

Re: [PATCH] dt-bindings: net: mdio: Allow any child node name

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-12-06 17:42:56

On 12/6/21 9:41 AM, 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'.

Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>

Thanks!
-- 
Florian

Re: [PATCH] dt-bindings: net: mdio: Allow any child node name

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-12-06 20:58:02

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?

Re: [PATCH] dt-bindings: net: mdio: Allow any child node name

From: Thierry Reding <hidden>
Date: 2021-12-07 08:26:36

On Mon, Dec 06, 2021 at 11:41:39AM -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'.

Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: netdev@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/net/mdio.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makes sense,

Reviewed-by: Thierry Reding <redacted>

Re: [PATCH] dt-bindings: net: mdio: Allow any child node name

From: Rob Herring <robh@kernel.org>
Date: 2021-12-07 15:56:28

On Mon, Dec 6, 2021 at 2:57 PM Jakub Kicinski [off-list ref] wrote:
On Mon,  6 Dec 2021 11:41:39 -0600 Rob Herring wrote:
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help