]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: net: mdio: Add a nodename pattern
authorMaxime Ripard <maxime.ripard@bootlin.com>
Wed, 3 Jul 2019 09:55:07 +0000 (11:55 +0200)
committerRob Herring <robh@kernel.org>
Wed, 3 Jul 2019 19:17:57 +0000 (13:17 -0600)
The node name of an MDIO controller should be MDIO. Let's add a rule for
this.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/net/mdio.yaml

index b8fa8251c4bc674e4e90e4a255984808e0202f49..12069d0b25c60eedaec67417d2a8058112e4bab3 100644 (file)
@@ -18,6 +18,9 @@ description:
   a device specific binding document.
 
 properties:
+  $nodename:
+    pattern: "^mdio(@.*)?"
+
   reset-gpios:
     maxItems: 1
     description: