dt-bindings: net: mdio: Allow any child node name
authorRob Herring <robh@kernel.org>
Mon, 6 Dec 2021 17:41:39 +0000 (11:41 -0600)
committerRob Herring <robh@kernel.org>
Mon, 10 Jan 2022 01:09:35 +0000 (19:09 -0600)
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>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211206174139.2296497-1-robh@kernel.org
Documentation/devicetree/bindings/net/mdio.yaml

index 08e15fb1584f34e68d82557f66777d95dabfb635..53206e4a7a142c050efe8756f3f784e4e3ad483b 100644 (file)
@@ -59,7 +59,7 @@ properties:
     type: boolean
 
 patternProperties:
-  "^ethernet-phy@[0-9a-f]+$":
+  '@[0-9a-f]+$':
     type: object
 
     properties: